About Myai
Myai is an MCP server for accessing decentralized AI inference on the MyAi network. MCP-compatible agents can run model inference and inspect available models, provider nodes, network activity, and MYAI balances.
Key features
- 01Run inference through the decentralized network
- 02List currently available models
- 03Browse provider nodes and hardware
- 04View network health and job activity
- 05Check MYAI balances and hire a provider
Use cases
- 01Summarize a document using an available model
- 02Check which providers are online
- 03Inspect a provider's hardware before assigning a job
- 04Check an address's MYAI token balance
MCP support
The MCP server exposes six tools for inference, network and model discovery, wallet balance checks, and hiring a provider node. MCP clients configure it with an API key or use its automatic free-tier key flow.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
uvx myai-mcpMYAI_API_KEYSecretRequired for chat/wallet tools; list_models/agents work withoutMYAI_BASE_URLOverride only for self-hosted/stagingLocal servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEmyai-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 networkmyai_list_models— see what models are online right nowmyai_list_agents— browse active provider nodes and their hardwaremyai_network_stats— live network health and job activitymyai_wallet_balance— check MYAI token balance for any addressmyai_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.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.