Windsurf
Connect Windsurf (Codeium's AI editor) to Ainecto via MCP.
Add the Ainecto MCP server
Windsurf reads MCP server configuration from ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"ainecto": {
"serverUrl": "https://ainecto.com/mcp"
}
}
}
Restart Windsurf. The first Ainecto tool call opens the OAuth page.
Windsurf's MCP support is evolving — consult the Windsurf MCP docs for the current configuration schema if the format above doesn't apply.
Try it
In Windsurf's Cascade chat:
List my Ainecto ERD documents using the ainecto MCP server.
Add a comments table to ERD document <uuid> with columns id, post_id (FK to posts), author_id (FK to users), body (text), created_at. Description "Add comment system".
Tips
- Reference the server name explicitly in prompts when Windsurf has multiple MCP servers configured.
- Use UUIDs for ERD documents in scripted or automated prompts.
- Combine with Cascade flows — let Windsurf read the schema, generate model code, then write migrations all in one flow.
Troubleshooting
Windsurf doesn't show Ainecto tools Verify the MCP config file location and JSON syntax; restart Windsurf.
Authorization doesn't open Copy the URL from the Windsurf log and open it in your browser manually.
Permission errors MCP is a paid plan feature. Confirm your subscription is active and you have view/edit access to the target document.