Connect Windsurf to Crane Ledger

Windsurf’s Cascade agent supports MCP. Connect Crane Ledger as a remote HTTP server.

Prerequisites

  1. Windsurf with Cascade MCP enabled (Teams/Enterprise may require admin).
  2. A Crane Ledger API key (ha_live_…).

MCP endpoint

SettingValue
URLhttps://api.craneledger.ai/mcp
TransportStreamable HTTP
Auth (OAuth)Sign in at consent UI — no key in the client
Auth (API key)Authorization: Bearer ha_live_…
Consenthttps://craneledger.ai/oauth/consent

Organization scope comes from your OAuth token or API key — you do not pass organization_id separately.

Scopes: ledger:read, ledger:write, and optionally ledger:admin.

See Authentication and MCP tools.

Configure MCP

Edit mcp_config.json (macOS/Linux: ~/.codeium/windsurf/mcp_config.json, or use Cascade → Manage MCPs → View Raw Config):

{
  "mcpServers": {
    "crane-ledger": {
      "serverUrl": "https://api.craneledger.ai/mcp",
      "headers": {
        "Authorization": "Bearer ha_live_your_key_here"
      }
    }
  }
}

Windsurf commonly uses serverUrl (not url) for remote servers. Save, then click Refresh in Manage MCPs.

Example prompts

Once connected, try:

  • "Set up a basic chart of accounts for a small service business"
  • "Create an invoice for $2,500 to Acme Corp for consulting"
  • "What's our cash position right now?"
  • "Show me profit and loss for last quarter"
  • "How many credits do I have left?"

Troubleshooting

IssueWhat to try
Tools missingRefresh MCP after save; confirm serverUrl spelling
401Fix Bearer token
Tool limitWindsurf may cap total tools — disconnect unused servers

Need help?

Create a free account (GitHub, Google, Apple, or email) to access our support portal. Once signed in, use the Support tab in your dashboard to submit a support ticket — no GitHub account required. Our team typically responds within 24 hours.