Myai

by myaitoken

326 downloads
Not rated
GitHub

About

Decentralized AI inference on Base: OpenAI-compatible chat via community GPUs, paid in MYAI. 6 tools (chat, list_models, list_agents, network_stats, wallet_balance, hire_agent). 27+ providers, 22 open models live at https://myaitoken.io.

Details

Author
myaitoken
Downloads
326
Categories
AI

- Run inference through the decentralized network (myai_chat)
- List online models (myai_list_models)
- Browse active provider nodes and hardware (myai_list_agents)
- View live network health and job activity (myai_network_stats)
- Check MYAI token balance for any address (myai_wallet_balance)
- Pin a job to a specific provider node (myai_hire_agent)

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Myai
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install with uvx myai-mcp or pip install myai-mcp. Configure by adding to your Claude Desktop config with MYAI_API_KEY and MYAI_BASE_URL environment variables, or run with no env vars for a free-tier API key automatically issued on first call (cached at ~/.myai/key). Get an API key at myaitoken.io.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "myai": {
            "myai": {
                "command": "uvx",
                "args": [
                    "myai-mcp"
                ],
                "env": {
                    "MYAI_API_KEY": "<OPTIONAL>"
                }
            }
        }
    }
}

McpServers

{
    "myai": {
        "command": "uvx",
        "args": [
            "myai-mcp"
        ],
        "env": {
            "MYAI_API_KEY": "<OPTIONAL>"
        }
    }
}

myai-mcp

<!-- mcp-name: io.github.myaitoken/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?"

Links

- Provider guide — run a node and earn MYAI
- Agent registry — browse the live network
- Docs
- Discord

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.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.