MCP Integration¶
Nova supports the Model Context Protocol (MCP), allowing it to connect to external tools and services through MCP servers.
Configuration¶
MCP servers are configured in ~/.nova/config.json:
Stdio Transport (subprocess)¶
{
"mcp_servers": {
"drawio": {
"command": "npx",
"args": ["-y", "drawio-mcp-server"],
"env": {
"DRAWIO_WEBAPP_CACHE": "/path/to/cache"
}
}
}
}
HTTP Transport¶
{
"mcp_servers": {
"my-server": {
"url": "http://localhost:3000/mcp",
"headers": {
"Authorization": "Bearer token"
},
"timeout": 120
}
}
}
How It Works¶
- MCP servers are started in parallel during Nova's initialization
- Each server is given a 10-second timeout for its
initializehandshake - Tools from all MCP servers are merged into Nova's tool registry
- The agent can call MCP tools alongside built-in tools
- Failed servers are logged but don't block startup
Protocol¶
Nova uses MCP protocol version 2025-03-26. The following operations are
supported:
initialize-- server handshakelist_tools-- discover tool schemascall_tool-- invoke a tool with arguments