MCP server for Forge compute economy — lets Claude, Cursor, and AI agents interact with CU
Project description
forge-mcp
MCP server for the Forge compute economy. Gives AI assistants direct access to CU balance, inference, and safety controls.
Install
pip install forge-mcp
Setup
Claude Code
Add to ~/.claude/settings.json:
{
"mcpServers": {
"forge": {
"command": "forge-mcp",
"env": {
"FORGE_URL": "http://127.0.0.1:3000"
}
}
}
}
Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"forge": {
"command": "forge-mcp"
}
}
}
Available Tools
| Tool | Description |
|---|---|
forge_balance |
Check CU balance and reputation |
forge_pricing |
Get market price and cost estimates |
forge_inference |
Run LLM inference (costs CU) |
forge_trades |
View trade history |
forge_network |
Mesh economic summary + Merkle root |
forge_providers |
Compare providers by cost and reputation |
forge_safety |
Check safety status |
forge_invoice |
Create Lightning invoice for CU cashout |
forge_kill_switch |
Emergency halt (freeze all transactions) |
What Can AI Do With This?
- Check balance before making expensive decisions
- Compare providers and choose the cheapest
- Monitor spending velocity
- Cash out earnings to Bitcoin Lightning
- Hit the emergency stop if something goes wrong
The AI manages its own compute budget. Humans set the policy (budget limits, kill switch). The AI operates within those bounds autonomously.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file forge_cu_mcp-0.2.0.tar.gz.
File metadata
- Download URL: forge_cu_mcp-0.2.0.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b0052f7b0d32d476eed830580690353f1263b688bc5b1284b8636000306d7f0
|
|
| MD5 |
4b06cbbdfccaee1bd88e14ab8b3c00e5
|
|
| BLAKE2b-256 |
f7057e4512187bde2dd6c414f1f652118445e3237721e1a5b5d4d5d7d5e6c060
|
File details
Details for the file forge_cu_mcp-0.2.0-py3-none-any.whl.
File metadata
- Download URL: forge_cu_mcp-0.2.0-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f7840d3851aee27b1433451dcb166af482a548efc7c02eddbc50bd40848f5d7
|
|
| MD5 |
3e1d587bfce860762cfb3122d5ee8223
|
|
| BLAKE2b-256 |
41d41aafdefcd3d6f262852b55c7a6bf56410b702213c16599b49b6f86477f3f
|