CornMCP
CornMCP is an open-source mono repo that gives AI coding agents (Antigravity, Cursor, Claude Code, Codex), token-saving access to your codebase through the Model Context Protocol (MCP).
What is CornMCP?
CornMCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to cornmcp is an open-source mono repo that gives ai coding agents (antigravity, cursor, claude code, codex), token-saving access to your codebase through the model context protocol (mcp).
CornMCP is an open-source mono repo that gives AI coding agents (Antigravity, Cursor, Claude Code, Codex), token-saving access to your codebase through the Model Context Protocol (MCP).
This server falls under the Coding Agents and Developer Tools categories on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- CornMCP is an open-source mono repo that gives AI coding age
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx cornmcpConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use CornMCP
CornMCP is an open-source monorepo that gives AI coding agents — including Claude Code, Cursor, Antigravity, and Codex — token-saving access to your codebase via the Model Context Protocol. It combines native TypeScript AST analysis, semantic vector search (via Voyage AI embeddings stored in SQLite), and 18 specialized MCP tools covering code search, blast-radius impact analysis, cross-session memory, and mandatory quality gates. Unlike simple file-reading servers, CornMCP understands your code's symbol graph, letting agents navigate large codebases with a fraction of the tokens.
Prerequisites
- Node.js 18+ and pnpm installed
- Docker and Docker Compose for the full stack deployment
- Voyage AI API key (free tier available) for code embeddings
- An MCP-compatible client: Claude Code, Cursor, or Antigravity
- Git, for cloning the monorepo
Run the one-command installer
The recommended way to set up CornMCP is via the npx installer, which checks dependencies, clones the repo, prompts for API keys, builds the Docker stack, and configures your IDE automatically.
npx corn-installSet required environment variables
If doing a manual setup, create a .env file in the repo root with your Voyage AI credentials. The OPENAI_API_KEY variable is used with the Voyage AI base URL for embeddings.
OPENAI_API_KEY=your_voyage_ai_key
OPENAI_API_BASE=https://api.voyageai.com/v1
MEM9_EMBEDDING_MODEL=voyage-code-3
MEM9_EMBEDDING_DIMS=1024
DASHBOARD_API_URL=http://localhost:4000Start the three services
CornMCP consists of three services: the API backend on port 4000, the MCP server on port 8317, and a web dashboard on port 3000. Start each in a separate terminal.
# Terminal 1 - API
cd apps/corn-api && npx tsx src/index.ts
# Terminal 2 - MCP server
cd apps/corn-mcp && npx tsx src/node.ts
# Terminal 3 - Dashboard
cd apps/corn-web && npx next devConfigure your MCP client
Add CornMCP to your IDE's MCP configuration. The MCP server runs on port 8317 and is reachable via HTTP transport.
{
"mcpServers": {
"cornmcp": {
"command": "npx",
"args": ["corn-install"]
}
}
}Index your codebase
After startup, CornMCP needs to index your repositories to build the symbol graph and embedding store. Use the corn_list_repos tool or the web dashboard to trigger indexing.
CornMCP Examples
Client configuration
Example claude_desktop_config.json for connecting to a locally running CornMCP server.
{
"mcpServers": {
"cornmcp": {
"command": "npx",
"args": ["tsx", "/path/to/CornMCP/apps/corn-mcp/src/node.ts"]
}
}
}Prompts to try
Use these prompts with Claude Code or Cursor after CornMCP is connected and your codebase is indexed.
- "Search for all usages of the UserAuthService class in this codebase."
- "What is the blast radius if I change the parseConfig function?"
- "Show me the callers and callees of the handlePayment method."
- "Find all files that import from the database module."Troubleshooting CornMCP
Embedding errors or rate limits during indexing
CornMCP supports model rotation via MEM9_FALLBACK_MODELS. Set this env var to a comma-separated list like 'voyage-4-large,voyage-4' to automatically fall back when rate limits are hit.
MCP client cannot connect to the server
Ensure all three services are running. The MCP server specifically must be on port 8317. Check for port conflicts with 'lsof -i :8317' and review service logs for startup errors.
Quality gate rejections blocking task execution
CornMCP enforces a minimum plan quality score of 80% before execution. If your agent's plan is rejected, ask it to provide more detailed implementation steps and rationale to raise the score.
Frequently Asked Questions about CornMCP
What is CornMCP?
CornMCP is a Model Context Protocol (MCP) server that cornmcp is an open-source mono repo that gives ai coding agents (antigravity, cursor, claude code, codex), token-saving access to your codebase through the model context protocol (mcp). It connects AI assistants to external tools and data sources through a standardized interface.
How do I install CornMCP?
Follow the installation instructions on the CornMCP GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with CornMCP?
CornMCP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is CornMCP free to use?
Yes, CornMCP is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
CornMCP Alternatives — Similar Coding Agents Servers
Looking for alternatives to CornMCP? Here are other popular coding agents servers you can use with Claude, Cursor, and VS Code.
Dify
★ 142.2kProduction-ready platform for agentic workflow development.
Ruflo
★ 54.0k🌊 The leading agent orchestration platform for Claude. Deploy intelligent multi-agent swarms, coordinate autonomous workflows, and build conversational AI systems. Features enterprise-grade architecture, self-learning swarm intelligence, RAG integrat
Goose
★ 45.7kan open source, extensible AI agent that goes beyond code suggestions - install, execute, edit, and test with any LLM
Antigravity Awesome Skills
★ 38.3kInstallable GitHub library of 1,400+ agentic skills for Claude Code, Cursor, Codex CLI, Gemini CLI, Antigravity, and more. Includes installer CLI, bundles, workflows, and official/community skill collections.
AgentScope
★ 25.5kBuild and run agents you can see, understand and trust.
Serena
★ 24.5kA coding agent toolkit that provides IDE-like semantic code retrieval and editing tools, enabling LLMs to efficiently navigate and modify codebases using symbol-level operations instead of basic file reading and string replacements.
Browse More Coding Agents MCP Servers
Explore all coding agents servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up CornMCP in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use CornMCP?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.