io.github.myaitoken/myai-mcp
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).
myai-mcpclaude 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
{
"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_KEYsecret Required for chat/wallet tools; list_models/agents work withoutMYAI_BASE_URLOverride only for self-hosted/staging
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
Contents
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 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.
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.