io.github.myaitoken/myai-mcp

Registre officiel IA et agents

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

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

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
Configuration JSON (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"
            }
        }
    }
}

Variables d'environnement

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

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  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.

Questions fréquentes

Qu'est-ce que io.github.myaitoken/myai-mcp ?

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

Comment installer io.github.myaitoken/myai-mcp ?

Il s'exécute sur votre machine. Dans 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. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour io.github.myaitoken/myai-mcp ?

Oui. Il attend MYAI_API_KEY, à renseigner dans sa configuration.

io.github.myaitoken/myai-mcp est-il open source ?

Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.

Qui maintient io.github.myaitoken/myai-mcp ?

Il est publié par myaitoken. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.