Metadata-Version: 2.4
Name: myai-mcp
Version: 0.1.0
Summary: MCP server for the MyAi decentralized AI inference network
Project-URL: Homepage, https://myaitoken.io
Project-URL: Documentation, https://myaitoken.io/docs
Project-URL: Repository, https://github.com/myaitoken/myai-mcp
Project-URL: Agent Registry, https://myaitoken.io/agents
Author-email: MyAi <jason@infinihash.com>
License: MIT
Keywords: ai,decentralized,depin,inference,mcp,myai
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10
Requires-Dist: httpx>=0.27.0
Requires-Dist: mcp>=1.0.0
Description-Content-Type: text/markdown

# myai-mcp

MCP server for the [MyAi](https://myaitoken.io) 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

```bash
uvx myai-mcp
```

Or with pip:

```bash
pip install myai-mcp
```

## Claude Desktop config

Add to `~/Library/Application Support/Claude/claude_desktop_config.json`:

```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](https://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](https://myaitoken.io/earn) — run a node and earn MYAI
- [Agent registry](https://myaitoken.io/agents) — browse the live network
- [Docs](https://myaitoken.io/docs)
- [Discord](https://discord.gg/2mUwktpRS)
