Anytype (self-hosted HTTP) for VS Code
io.github.ohneben/anytype-mcp
Self-hosted Anytype MCP server: the full Anytype API as an always-on Docker + HTTP endpoint.
client:VS Code
transport:stdio
runtime:oci
Install Anytype (self-hosted HTTP) in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "anytype-api-key",
"description": "ANYTYPE_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "port",
"description": "PORT",
"password": true
},
{
"type": "promptString",
"id": "anytype-api-base-url",
"description": "ANYTYPE_API_BASE_URL",
"password": true
},
{
"type": "promptString",
"id": "anytype-version",
"description": "ANYTYPE_VERSION",
"password": true
},
{
"type": "promptString",
"id": "anytype-api-host-header",
"description": "ANYTYPE_API_HOST_HEADER",
"password": true
},
{
"type": "promptString",
"id": "mcp-shared-token",
"description": "MCP_SHARED_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "anytype-mcp-slim-responses",
"description": "ANYTYPE_MCP_SLIM_RESPONSES",
"password": true
}
],
"servers": {
"anytype-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/ohneben/anytype-mcp:1.0.6"
],
"env": {
"ANYTYPE_API_KEY": "${input:anytype-api-key}",
"PORT": "${input:port}",
"ANYTYPE_API_BASE_URL": "${input:anytype-api-base-url}",
"ANYTYPE_VERSION": "${input:anytype-version}",
"ANYTYPE_API_HOST_HEADER": "${input:anytype-api-host-header}",
"MCP_SHARED_TOKEN": "${input:mcp-shared-token}",
"ANYTYPE_MCP_SLIM_RESPONSES": "${input:anytype-mcp-slim-responses}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs