cosmos mcp for VS Code
io.github.teampolarity/cosmos-mcp
Personal knowledge graph every MCP client reads from and writes to. Portable across agents.
client:VS Code
transport:stdio
runtime:npm
Install cosmos mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "cosmos-token",
"description": "COSMOS_TOKEN",
"password": true
}
],
"servers": {
"cosmos-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@polarity-lab/cosmos-mcp"
],
"env": {
"COSMOS_TOKEN": "${input:cosmos-token}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs