| 1 | namespace AgentForge.Mcp; |
| 2 | |
| 3 | internal static class ServerInstructions |
| 4 | { |
| 5 | internal const string Text = |
| 6 | """ |
| 7 | Agent Forge MCP — thin stdio bridge to forge server (ADR-0014 B). |
| 8 | ListTools and CallTool are server-driven: GET /api/v1/capabilities, POST /api/v1/mcp/invoke. |
| 9 | ListTools refetches /api/v1/capabilities on each request (host is source of truth). |
| 10 | Start with get_forge_capabilities when this host may use a minimal plugin bundle. |
| 11 | Config: --config path/to/forge-mcp.toml (see forge-mcp.example.toml). Env FORGE_* overrides TOML. |
| 12 | [forge].base_url — API (default http://127.0.0.1:8770). [identity].actor — oar:YourName. |
| 13 | api_token in TOML or FORGE_API_TOKEN; else ~/.forge/credentials.json after forge login. |
| 14 | human_view feature — thin web /view for humans; agents use invoke only. |
| 15 | """; |
| 16 | } |
| 17 | |
View only · write via MCP/CIDE