io.github.myaitoken/myai-mcp

Official registry AI and agents

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

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

PYPI package myai-mcp
Claude Code
claude mcp add myai-mcp -e 'MYAI_API_KEY=<your myai_api_key>' -e 'MYAI_BASE_URL=https://api.myaitoken.io' -- uvx myai-mcp==0.2.0
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "myai-mcp": {
            "command": "uvx",
            "args": [
                "myai-mcp==0.2.0"
            ],
            "env": {
                "MYAI_API_KEY": "<your myai_api_key>",
                "MYAI_BASE_URL": "https://api.myaitoken.io"
            }
        }
    }
}

Environment variables

  • MYAI_API_KEY secret Required for chat/wallet tools; list_models/agents work without
  • MYAI_BASE_URL Override only for self-hosted/staging

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. myai-mcp
  2. Install
  3. Claude Desktop config
  4. Example usage (once connected)
  5. Links
  6. v0.2.0 — Zero-config

myai-mcp

MCP server for the MyAi decentralized AI inference network.

Gives any MCP-compatible agent (Claude Desktop, Cursor, etc.) access to:

  • myai_chat — run inference through the decentralized network
  • myai_list_models — see what models are online right now
  • myai_list_agents — browse active provider nodes and their hardware
  • myai_network_stats — live network health and job activity
  • myai_wallet_balance — check MYAI token balance for any address
  • myai_hire_agent — pin a job to a specific provider node

Install

uvx myai-mcp

Or with pip:

pip install myai-mcp

Claude Desktop config

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "myai": {
      "command": "uvx",
      "args": ["myai-mcp"],
      "env": {
        "MYAI_API_KEY": "your-api-key-here",
        "MYAI_BASE_URL": "https://api.myaitoken.io"
      }
    }
  }
}

Get an API key at myaitoken.io.

Example usage (once connected)

Ask Claude:

"Use myai_list_models to see what's available, then use myai_chat with qwen2.5-14b to summarize this document."

"Check the MyAi network stats and tell me how many providers are online."

"What's the MYAI balance for 0x454F85B685BBe6C1257b218eE40782d17dFacA9b?"

v0.2.0 — Zero-config

You can now uvx myai-mcp with no env vars. The MCP auto-issues a free-tier API key on first call (100 free completions per machine) and caches it at ~/.myai/key. Set MYAI_API_KEY to use your own key.

Frequently asked questions

What is io.github.myaitoken/myai-mcp?

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

How do I install io.github.myaitoken/myai-mcp?

It runs on your machine. In Claude Code: claude mcp add myai-mcp -e 'MYAI_API_KEY=<your myai_api_key>' -e 'MYAI_BASE_URL=https://api.myaitoken.io' -- uvx myai-mcp==0.2.0. For other clients, paste the JSON configuration from this page into their MCP settings.

Does io.github.myaitoken/myai-mcp need an API key?

Yes. It expects MYAI_API_KEY, which you set in its configuration.

Is io.github.myaitoken/myai-mcp open source?

Its code is public on GitHub, but the repository does not declare a standard license.

Who maintains io.github.myaitoken/myai-mcp?

It is published by myaitoken. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.