Skip to main content

MCP server for the MyAi decentralized AI inference network

Project description

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

myai_mcp-0.2.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

myai_mcp-0.2.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file myai_mcp-0.2.0.tar.gz.

File metadata

  • Download URL: myai_mcp-0.2.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for myai_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 22ec3943a2be4f23768febd7cf86770cec53828d76caf0857ff95d3759ad6631
MD5 0edfdf54a7fdb82c1588442a7e93841e
BLAKE2b-256 9dd466e4ba2f1def331f9bb862b4db24b470f948b5c9da63a53ae76c284c0dc7

See more details on using hashes here.

File details

Details for the file myai_mcp-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: myai_mcp-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for myai_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 332e4e29ada461e9dff632f1c059efa692b23bd9c7ea2716fc08f2d5ae6debc3
MD5 c8979fb8703ba1b8152494400457fb4d
BLAKE2b-256 dce5b8db683e7fcd89cc5f7f2fd1ffb1cb8bdd146af11ca626aef97caf72e9d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page