cosmos mcp for Grok
io.github.teampolarity/cosmos-mcp
Personal knowledge graph every MCP client reads from and writes to. Portable across agents.
client:Grok
transport:stdio
runtime:npm
Install cosmos mcp in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"cosmos-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@polarity-lab/cosmos-mcp"
],
"env": {
"COSMOS_TOKEN": "<COSMOS_TOKEN>"
}
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs