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.
Metadata
Release files for forge-cu-mcp 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| forge_cu_mcp-0.2.0.tar.gz | 2.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| forge_cu_mcp-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.2 kB
Release files / forge_cu_mcp-0.2.0.tar.gz
| Download URL | forge_cu_mcp-0.2.0.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b0052f7b0d32d476eed830580690353f1263b688bc5b1284b8636000306d7f0
|
|
BLAKE2b-256 checksum How to use checksums |
f7057e4512187bde2dd6c414f1f652118445e3237721e1a5b5d4d5d7d5e6c060
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / forge_cu_mcp-0.2.0-py3-none-any.whl
| Download URL | forge_cu_mcp-0.2.0-py3-none-any.whl |
|---|---|
| Size | 2.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8f7840d3851aee27b1433451dcb166af482a548efc7c02eddbc50bd40848f5d7
|
|
BLAKE2b-256 checksum How to use checksums |
41d41aafdefcd3d6f262852b55c7a6bf56410b702213c16599b49b6f86477f3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|