Project Brain for VS Code
io.github.gentleelephant/project-brain
Read-only source search and retrieval across configured GitHub repositories
client:VS Code
transport:stdio
runtime:oci
Install Project Brain in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "project-brain-repo-list",
"description": "PROJECT_BRAIN_REPO_LIST",
"password": true
},
{
"type": "promptString",
"id": "project-brain-state-dir",
"description": "PROJECT_BRAIN_STATE_DIR",
"password": true
},
{
"type": "promptString",
"id": "pb-github-token",
"description": "PB_GITHUB_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "pb-fetch-ttl",
"description": "PB_FETCH_TTL",
"password": true
}
],
"servers": {
"project-brain": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/gentleelephant/project-brain:v2.0.3"
],
"env": {
"PROJECT_BRAIN_REPO_LIST": "${input:project-brain-repo-list}",
"PROJECT_BRAIN_STATE_DIR": "${input:project-brain-state-dir}",
"PB_GITHUB_TOKEN": "${input:pb-github-token}",
"PB_FETCH_TTL": "${input:pb-fetch-ttl}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs