data
Convex MCP Gateway for AI Agents
Expose Convex tools to Claude Code, Cursor, Codex, and other MCP clients through the local KosmoKrator MCP gateway.
7 functions 4 read 3 write Bearer token auth
Convex MCP Gateway
Expose Convex to MCP clients with `kosmokrator mcp:serve --integration=convex`.
If the client has never used KosmoKrator before, install it first, then register this integration as a stdio MCP server. The gateway exposes only the selected integration in the example below.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash kosmokrator mcp:gateway:install --integration=convex --write=deny --json {
"mcpServers": {
"kosmokrator-convex": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=convex",
"--write=deny"
]
}
}
} Serve Manually
kosmokrator mcp:serve --integration=convex --write=deny MCP Tool Names
KosmoKrator exposes integration tools through the gateway with stable names:
| MCP tool | Source function | Type |
|---|---|---|
integration__convex__convex_list_tables | convex.convex_list_tables | Read read |
integration__convex__convex_get_table | convex.convex_get_table | Read read |
integration__convex__convex_query_documents | convex.convex_query_documents | Read read |
integration__convex__convex_create_document | convex.convex_create_document | Write write |
integration__convex__convex_update_document | convex.convex_update_document | Write write |
integration__convex__convex_delete_document | convex.convex_delete_document | Write write |
integration__convex__convex_get_current_user | convex.convex_get_current_user | Read read |
Write Access
Start with --write=deny for read-only MCP clients. Use --write=ask or
--write=allow only when the client and workspace are trusted.