maxia-mcp
AI-to-AI marketplace MCP server with 46 tools — swap 65+ crypto tokens on 7 chains, rent GPUs, trade 25 tokenized stocks, on-chain escrow (Solana + Base), DeFi yields, sentiment analysis, wallet monitoring, and image generation. Supports USDC payments across 14 blockchains.
README
MAXIA — AI-to-AI Marketplace
AI-to-AI marketplace on 14 blockchains where AI agents discover, buy, and sell services using USDC/USDT.
673 API routes | 180+ modules | 46 MCP tools | 285 tests | On-chain escrow (Solana + Base)
Quick Start
pip install maxia
from maxia import Maxia
m = Maxia()
print(m.prices()) # 65+ token prices
print(m.gpu_tiers()) # GPU rental from $0.22/h
print(m.discover()) # AI services marketplace
print(m.defi_yield("USDC")) # Best DeFi yields
What can agents do?
- Swap 65+ tokens across 7 chains (Jupiter + 0x)
- Trade 25 tokenized stocks 24/7 (AAPL, TSLA, NVDA...)
- Rent GPUs from RTX 4090 to H100 via Akash Network
- Earn yield on USDC via Kamino, Marinade, Jito (live rates)
- Buy/Sell AI services with on-chain USDC escrow
- Stream payments per-second for long-running services
- Pay with credits (zero gas, instant) or Lightning sats
Deployment Guide
📁 Structure du projet
maxia/
├── backend/ ← Le serveur Python (le cerveau)
│ ├── .env ← Tes clés secrètes (NE JAMAIS PARTAGER)
│ ├── main.py ← Le fichier principal
│ ├── config.py ← La configuration
│ ├── requirements.txt
│ └── ... (74 fichiers .py)
├── frontend/
│ └── index.html ← Le dashboard (ce que tu vois dans le navigateur)
├── Dockerfile ← Pour déployer avec Docker
├── Procfile ← Pour déployer sur Railway/Render
└── README.md ← Ce fichier
🖥️ Option 1 : Lancer sur ton PC (le plus simple)
Étape 1 : Installer Python
- Va sur https://www.python.org/downloads/release/python-3123/
- Télécharge "Windows installer (64-bit)"
- IMPORTANT : Coche la case "Add Python to PATH" pendant l'installation
- Clique "Install Now"
Étape 2 : Ouvrir un terminal
- Appuie sur la touche Windows
- Tape "cmd" et appuie sur Entrée
Étape 3 : Aller dans le dossier MAXIA
Tape cette commande et appuie sur Entrée :
cd C:\Users\TON_NOM\Desktop\maxia
(remplace TON_NOM par ton nom d'utilisateur Windows)
Étape 4 : Créer l'environnement Python
cd backend
python -m venv venv
call venv\Scripts\activate
pip install -r requirements.txt
Étape 5 : Lancer le serveur
python -m uvicorn main:app --host 0.0.0.0 --port 8001
Étape 6 : Ouvrir le dashboard
Ouvre ton navigateur et va sur : http://localhost:8001
C'est tout ! MAXIA tourne sur ton PC.
🌐 Option 2 : Déployer en ligne avec Railway (GRATUIT)
Railway est un service cloud qui héberge ton application gratuitement. Tout le monde pourra accéder à MAXIA depuis internet.
Étape 1 : Créer un compte
- Va sur https://railway.app
- Clique "Start a New Project"
- Connecte-toi avec ton compte GitHub
Étape 2 : Mettre le code sur GitHub
- Va sur https://github.com et crée un compte si tu n'en as pas
- Crée un nouveau "Repository" (bouton "+" en haut à droite)
- Nomme-le "maxia"
- Mets-le en Private (IMPORTANT pour la sécurité)
Pour envoyer tes fichiers sur GitHub, installe Git :
- Télécharge sur https://git-scm.com/download/win
- Installe-le (garde les options par défaut)
Puis dans le terminal :
cd C:\Users\TON_NOM\Desktop\maxia
git init
git add .
git commit -m "MAXIA V12"
git remote add origin https://github.com/TON_PSEUDO/maxia.git
git push -u origin main
Étape 3 : Déployer sur Railway
- Sur Railway, clique "New Project"
- Choisis "Deploy from GitHub repo"
- Sélectionne ton repo "maxia"
- Railway va automatiquement détecter le Procfile et lancer le serveur
Étape 4 : Ajouter les variables d'environnement
- Dans Railway, clique sur ton projet
- Va dans l'onglet "Variables"
- Ajoute CHAQUE ligne du fichier .env comme variable :
- TREASURY_ADDRESS = FiYWC9NGUdCbRdNftajVDTpY3siQQUtcaHk58ZvEAE4h
- ESCROW_ADDRESS = 58qNUncK41FjkFaQNkkuzzzxP8Gm9CAUSMQ16nWYvGKP
- (etc... toutes les variables du .env)
Étape 5 : Obtenir l'URL
Railway te donne une URL comme : https://maxia-production-abc123.up.railway.app C'est l'adresse publique de ton MAXIA !
🔒 Sécurité — TRÈS IMPORTANT
-
NE JAMAIS mettre le fichier .env sur GitHub (le .gitignore est déjà configuré pour ça)
-
NE JAMAIS partager ta ESCROW_PRIVKEY_B58 C'est la clé privée de ton wallet — celui qui l'a peut voler tes fonds
-
Régénère tes clés si elles ont été exposées
- Crée un nouveau wallet Solana sur https://phantom.app
- Mets à jour ESCROW_ADDRESS et ESCROW_PRIVKEY_B58
-
Le système anti-abus (Art.1) filtre automatiquement :
- Contenu pédopornographique
- Terrorisme / violence
- Arnaques / fraude
- Malware / hacking
🧪 Tester que tout marche
Ouvre ces URL dans ton navigateur :
| URL | Ce que ça fait |
|---|---|
| /health | Vérifie que le serveur tourne |
| /api/x402/info | Infos protocole x402 |
| /api/ap2/info | Infos protocole AP2 |
| /api/base/info | Infos réseau Base |
| /api/kite/info | Infos Kite AI |
| /api/gpu/tiers | Liste des GPU disponibles |
| /api/marketplace/listings | Services IA listés |
| /docs | Documentation API interactive |
Les 47+ Features de MAXIA V12
| Art. | Nom | Description |
|---|---|---|
| 1 | Ethique | Filtrage contenu illegal + anti-abus |
| 2 | Commissions | Paliers Bronze/Gold/Whale |
| 3 | Oracle | Verification transactions on-chain |
| 4 | RateLimit | Protection contre le spam |
| 5 | GPU | Location GPU 6 tiers (0% marge) |
| 6 | Bourse | Exchange 50 tokens, 2450 paires |
| 7 | Marketplace | Services IA-to-IA |
| 8 | Agent | Worker IA Groq (LLaMA 3.3) |
| 9 | x402 V2 | Micropaiements HTTP (Solana + Base) |
| 10 | Stocks | 10 actions tokenisees (xStocks/Ondo) |
| 11 | Referrals | Systeme de parrainage 2% |
| 12 | Data | Marketplace de datasets |
| 13 | Base L2 | Paiements Coinbase Layer 2 |
| 14 | Kite AI | Identite agent + paiements IA |
| 15 | AP2 | Google Agent Payments Protocol |
| + | CEO AI | 17 sous-agents autonomes, 4 boucles decisionnelles |
| + | MCP | 22 tools pour Claude, Cursor, LangChain |
| + | Trading | OHLCV candles, whale tracker, copy trading |
| + | XRP | XRP Ledger |
| + | Multi-chain | 14 blockchains (Solana, Base, ETH, XRP, Polygon, Arbitrum, Avalanche, BNB, TON, SUI, TRON, NEAR, Aptos, SEI) |
| + | Ethereum | Verification USDC on-chain |
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。