Skip to content
VS Code

myai mcp for VS Code

io.github.myaitoken/myai-mcp

Decentralized AI inference on Base: OpenAI-compatible chat via community GPUs, paid in MYAI

client:VS Code transport:stdio runtime:pypi

Install myai mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "myai-api-key",
      "description": "MYAI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "myai-base-url",
      "description": "MYAI_BASE_URL",
      "password": true
    }
  ],
  "servers": {
    "myai-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "myai-mcp"
      ],
      "env": {
        "MYAI_API_KEY": "${input:myai-api-key}",
        "MYAI_BASE_URL": "${input:myai-base-url}"
      }
    }
  }
}

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

myai mcp in other clients