Installation
Get Corn Hub running in your IDE in under 2 minutes
๐ Prerequisites
โฌข
Node.js 22+
Required for the MCP server runtime
๐ฆ
pnpm 10+
Monorepo package manager
๐ณ
Docker (optional)
Only needed for the Analytics Dashboard
1Clone & Build
# Clone the repository
git clone https://github.com/Min9802/CornMCP.git
cd CornMCP
# Install dependencies & build
pnpm install
pnpm build2Connect to Your IDE
Add Corn Hub as an MCP server in your IDE. Replace the path with your actual clone location.
โก Antigravity / Codex (VS Code)
// STDIO (local):
{
"mcpServers": {
"corn": {
"command": "node",
"args": ["/path/to/corn-hub/apps/corn-mcp/dist/cli.js"]
}
}
}
// HTTP (remote):
{
"mcpServers": {
"corn-hub": {
"url": "https://cornhub.min-services.com/mcp",
"headers": {
"Authorization": "Bearer <your-api-key>"
}
}
}
}โถ Cursor
1. Settings โ Features โ MCP
2. Click + Add new MCP server
3. Name:
corn ยท Type: command4. Command:
node /path/to/corn-hub/apps/corn-mcp/dist/cli.js๐ข Claude Code
claude mcp add corn -- node /path/to/corn-hub/apps/corn-mcp/dist/cli.js3Launch Dashboard (optional)
docker compose -f infra/docker-compose.yml up -d --buildDashboard
https://cornhub.min-services.com
API
https://cornhub.min-services.com
MCP Gateway
https://cornhub.min-services.com
Qdrant
http://localhost:6333
โ๏ธ Environment Variables
๐ Notes
- โกModel Rotation: When the primary Voyage model hits rate limits, Corn Hub auto-rotates:
voyage-code-3 โ voyage-4-large โ voyage-4 โ voyage-code-2 โ voyage-4-lite - โ
Quality Gates: All plans must score โฅ80% on
corn_plan_qualitybefore execution. All tasks must submit acorn_quality_reportโฅ60/100. - ๐พLocal Fallback: If no API key is set, embeddings use a local hash-based provider (lower quality but zero external dependencies).
- ๐ชWindows: Use forward slashes or escaped backslashes in JSON config paths. The MCP server works on Windows, macOS, and Linux.
- โ ๏ธBuild Required: You must run
pnpm buildafter cloning. Thedist/folder is not committed to Git.