world model mcp for VS Code
io.github.saravananjaichandar/world-model-mcp
Temporal knowledge graph for codebases with constraint enforcement at the edit boundary.
client:VS Code
transport:stdio
runtime:pypi
Install world model mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "world-model-db-path",
"description": "WORLD_MODEL_DB_PATH",
"password": true
},
{
"type": "promptString",
"id": "anthropic-api-key",
"description": "ANTHROPIC_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "world-model-extraction-model",
"description": "WORLD_MODEL_EXTRACTION_MODEL",
"password": true
},
{
"type": "promptString",
"id": "world-model-reasoning-model",
"description": "WORLD_MODEL_REASONING_MODEL",
"password": true
}
],
"servers": {
"world-model-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"world-model-mcp"
],
"env": {
"WORLD_MODEL_DB_PATH": "${input:world-model-db-path}",
"ANTHROPIC_API_KEY": "${input:anthropic-api-key}",
"WORLD_MODEL_EXTRACTION_MODEL": "${input:world-model-extraction-model}",
"WORLD_MODEL_REASONING_MODEL": "${input:world-model-reasoning-model}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs