GitHub Copilot
Connect GitHub Copilot to Ainecto via MCP.
Add the Ainecto MCP server
Copilot's MCP support is configured through the IDE-specific Copilot settings (VS Code, JetBrains, etc.). The general pattern:
{
"mcp": {
"servers": {
"ainecto": {
"type": "http",
"url": "https://ainecto.com/mcp"
}
}
}
}
Reload your IDE (or the Copilot extension). The first Ainecto 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:
@ainecto list my ERD documents
@ainecto in ERD document <uuid>, what tables reference users.id?
Copilot will run the appropriate Ainecto 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
descriptionso 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 ainecto Check the IDE-specific Copilot extension settings; restart the IDE.
OAuth doesn't trigger
Try invoking a tool call that requires auth (for example, @ainecto mcp__ainecto__list_documents type=erd). The flow starts on demand.
"plan does not include MCP" MCP requires a paid Ainecto plan. See Plans.