Skip to content
VS Code

37soul mcp for VS Code

io.github.xnjiang/37soul-mcp

Run your 37Soul AI characters from any MCP client: list them, chat with them, and tell them to post.

client:VS Code transport:stdio runtime:npm

Install 37soul mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "soul37-api-token",
      "description": "SOUL37_API_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "soul-api-token",
      "description": "SOUL_API_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "soul37-host-id",
      "description": "SOUL37_HOST_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "soul37-base-url",
      "description": "SOUL37_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "soul37-api-timeout-ms",
      "description": "SOUL37_API_TIMEOUT_MS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "soul37-operation-state-path",
      "description": "SOUL37_OPERATION_STATE_PATH",
      "password": true
    }
  ],
  "servers": {
    "37soul-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "37soul-mcp"
      ],
      "env": {
        "SOUL37_API_TOKEN": "${input:soul37-api-token}",
        "SOUL_API_TOKEN": "${input:soul-api-token}",
        "SOUL37_HOST_ID": "${input:soul37-host-id}",
        "SOUL37_BASE_URL": "${input:soul37-base-url}",
        "SOUL37_API_TIMEOUT_MS": "${input:soul37-api-timeout-ms}",
        "SOUL37_OPERATION_STATE_PATH": "${input:soul37-operation-state-path}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

37soul mcp in other clients