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 | Provenance | Actions |
|---|---|---|---|---|
| forge_cu_mcp-0.2.0.tar.gz | 2.0 kB | Without provenance | Details for forge_cu_mcp-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| forge_cu_mcp-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for forge_cu_mcp-0.2.0-py3-none-any.whl |
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
|
Security for forge-cu-mcp 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.