Skip to main content
Products -> ERDPricingDocsBlogSign in한국어Start with ERD

GitHub Copilot

Connect GitHub Copilot to AI-ERD via MCP.


Add the AI-ERD MCP server​

Copilot's MCP support is configured through the IDE-specific Copilot settings (VS Code, JetBrains, etc.). The general pattern:

{
"mcp": {
"servers": {
"ai-erd": {
"type": "http",
"url": "https://ai-erd.com/mcp"
}
}
}
}

Reload your IDE (or the Copilot extension). The first AI-ERD tool call opens the OAuth page in your browser.

Copilot's MCP integration is evolving — consult the GitHub Copilot MCP docs for the exact location and schema for your IDE.


Try it​

In Copilot Chat:

@ai-erd list my ERD documents
@ai-erd in ERD document <uuid>, what tables reference users.id?

Copilot will run the appropriate AI-ERD tools and inline the results.


Tips​

  • Use Copilot Chat for read-heavy queries - listing ERD documents, looking up columns, tracing FK chains - and let it generate code based on the real schema.
  • For writes, be explicit — describe the change clearly and always include a description so the version snapshot is meaningful.
  • Pin the ERD document in your session - start the chat with "use ERD document <uuid>" so Copilot doesn't have to re-resolve every turn.

Troubleshooting​

Copilot doesn't see ai-erd Check the IDE-specific Copilot extension settings; restart the IDE.

OAuth doesn't trigger Try invoking a tool call that requires auth (for example, @ai-erd mcp__ai-erd__list_documents type=erd). The flow starts on demand.

"plan does not include MCP" MCP requires a paid AI-ERD plan. See Plans.