Model Context Protocol

MCP Server

Forge Box exposes an MCP server that allows AI agents to interact with AgentEndpoint and AgentOS directly. Every tool call returns a signed receipt.

POST https://mcp.agentforge.dev/tools/call

Authentication

All MCP tools require authentication via:

AgentEndpoint Tools

ToolDescriptionInput
get_pricingGet current pricing tiersnone
create_accountCreate a new accountemail
create_workflowCreate a workflowname, description
list_workflowsList workflowsnone
execute_workflowExecute a workflowworkflow_id, input
request_refundRequest a refundorder_id, reason
cancel_subscriptionCancel subscriptionsubscription_id
open_support_ticketOpen support ticketsubject, body
escalate_to_humanEscalate to humanticket_id, context

AgentOS Tools

ToolDescriptionInput
sandbox_runRun code in sandboxcode, language
sandbox_evaluateEvaluate policy for actionaction object
get_risk_scoreGet risk score (0-100)action_type, target
list_sandbox_runsList sandbox runsnone

Example (curl)

curl -X POST https://mcp.agentforge.dev/tools/call \
  -H "Authorization: Bearer af_liv..." \
  -H "Content-Type: application/json" \
  -d '{"name": "get_pricing", "arguments": {}}'

Example (TypeScript)

import { Client } from "@modelcontextprotocol/sdk/client/index.js";

const client = new Client({ name: "my-agent", version: "1.0.0" });
await client.connect(transport);

const result = await client.callTool("execute_workflow", {
  workflow_id: "wf_abc123",
  input: { order_id: "ORD-456" }
});
console.log(result.receipt); // Signed receipt

Response Format

All tool calls that execute actions return a signed receipt:

{
  "execution_id": "exec_abc123",
  "status": "completed",
  "duration_ms": 87,
  "cost_usd": 0.002,
  "receipt": {
    "id": "rcpt_def456",
    "timestamp": "2026-06-11T03:23:45Z",
    "signature": "ed25519:9f2c...",
    "verified": true
  }
}