Skip to content

MCP Server

The TheCorporation MCP server exposes corporate operations as tools over the Model Context Protocol, allowing AI agents and LLM-powered applications to form companies, manage equity, schedule meetings, and perform any other corporate action — with the same audit guarantees as the REST API and CLI.

Every tool call goes through the same backend and execution model, producing git commits in the governance ledger.

Add the MCP server to Claude Desktop or any MCP-compatible client:

{
"mcpServers": {
"thecorporation": {
"command": "npx",
"args": ["-y", "@thecorporation/mcp-server"],
"env": {
"CORP_API_URL": "http://localhost:8000",
"CORP_API_KEY": "your-api-key"
}
}
}
}

Or run directly:

Terminal window
npx -y @thecorporation/mcp-server

The MCP server exposes 12 tools with 64 operations across all corporate domains:

ToolActionsDescription
workspace6Workspace queries: status, list entities, obligations, billing, checkout, portal
entity9Entity lifecycle: form, create, add founder, finalize, convert, dissolve, cap table, documents, SAFEs
equity7Equity operations: funding rounds, securities, issuance, SAFEs, transfers, distributions
valuation3Valuation lifecycle: create, submit, approve (409A)
meeting12Governance meetings: schedule, notice, convene, vote, resolve, adjourn, cancel, written consent
finance5Treasury: invoices, payroll, payments, bank accounts, reconciliation
compliance4Legal: tax filing, deadline tracking, contractor classification, contract generation
document4Documents: signing links, download links, PDF preview
checklist2Progress tracking: get and update workspace checklist
work_item7Task management: list, create, claim, complete, release, cancel
agent5Agent management: list, create, message, update, add skill
feedback1Session feedback

Each tool uses action-based dispatch — pass the action parameter to select the operation.

The corp CLI with --json output is also suitable for agent tool implementations:

Terminal window
corp --json form create --name "Acme Corp" --entity-type c_corp --jurisdiction DE
corp --json cap-table show
corp --json governance create-meeting --date 2026-04-01

See the CLI Reference and REST API Reference for full endpoint details.