DispatchNode

Hosted MCP for DispatchNode field service software: review AI-answered calls, work the callback queue, look up jobs and customers, and route lead-network calls. OAuth, scoped to your organization and role.

Documentation

Connect any AI agent to your dispatch workflow

DispatchNode hosts an MCP server at https://www.dispatchnode.com/api/mcp. Connect Claude, ChatGPT, Cursor, GPT, Gemini, or any MCP client with Clerk OAuth to review calls, jobs, callbacks, and partners.

What is MCP?

One protocol. Many AI clients.

The Model Context Protocol is an open standard that lets AI agents call external tools through a consistent interface. Expose DispatchNode once, then Claude, ChatGPT, Cursor, and other MCP clients can use the same hosted endpoint.

Works with Claude, ChatGPT, Cursor, GPT, Gemini, and any MCP client

Hosted at https://www.dispatchnode.com/api/mcp

Clerk OAuth 2.1 with PKCE for marketplace clients

tools/list after auth is the live catalog for your tier

POST https://www.dispatchnode.com/api/mcp
Authorization: Bearer oat_…
X-Mcp-Organization-Id: org_…

1. list_orgs
2. set_organization
3. tools/list  → 17 tenant tools

Marketplace OAuth tier

17 tenant tools. What Claude, ChatGPT, and Cursor see.

After Clerk OAuth, call list_orgs then set_organization (or send X-Mcp-Organization-Id). Session JWTs are rejected. Use oat_* access tokens only.

Identity and organizations

whoami, list_orgs, and set_organization bind the tenant before other tools run.

whoamilist_orgsset_organization

Calls and transcripts

list_calls, get_call, call_stats, and list_unmatched_calls cover AI call history.

list_callsget_callcall_statslist_unmatched_calls

Callbacks

list_callbacks and update_callback manage follow up work from calls and jobs.

list_callbacksupdate_callback

Jobs and customers

list_jobs, update_job, and list_customers cover booking and CRM reads and writes.

list_jobsupdate_joblist_customers

Lead network partners

list_partners, get_partner, and update_partner_notes cover partner offers.

list_partnersget_partnerupdate_partner_notes

Read only agent config

get_agent_config and list_prompt_revisions expose agent settings without writes.

get_agent_configlist_prompt_revisions

Full schemas live in the API reference.

API key and booking tier

Same server. Different auth, more tools.

Operator automation can use a dnk_ org API key on the same /api/mcp endpoint for a broader catalog (booking, invoices, resources, and more). Customer booking helpers such as book_job and check_availability are a separate auth path documented in the API reference. They are one tier of the server, not the whole product.

book_job

Book a new service job with customer details, scheduling, and service type.

check_availability

Query open time slots across your calendar with transit buffer awareness.

get_pricing

Retrieve service pricing, deposit requirements, and plan metadata.

get_business_info

Public hours, contact, and service summary for a tenant.

Authentication

Lead with OAuth. Keys stay optional.

Directory listings and marketplace clients should use Clerk OAuth. A dnk_ key is a power user path for single tenant automation, not the Claude, ChatGPT, or Cursor marketplace flow.

OAuth (recommended)

Clerk oat_* tokens. list_orgs, set_organization, X-Mcp-Organization-Id. Scopes include openid, profile, email, offline_access, dn:read, and dn:write when granted.

Operator API key

dnk_ keys from Dashboard → Settings. Broader operator catalog on the same /api/mcp endpoint.

Tenant isolated

Every call is scoped to one organization. No cross tenant access.

Authorization: Bearer oat_…
X-Mcp-Organization-Id: org_…

→ 17 tenant tools
→ See /auth.md
Authorization: Bearer dnk_…

→ Broader operator catalog
→ Not the marketplace path

Beyond tool calling

Protocol layers. Built for production.

Typed I/O Schemas

Every tool has a full JSON Schema definition for inputs and outputs. Zod validated server side. No guesswork.

Async Job Lifecycle

Jobs move through a state machine from lead to completed. A dead letter queue captures failures.

Auth tiers on one server

Clerk OAuth for marketplace clients. Optional dnk_ keys for operator automation. tools/list is the live catalog after auth.

Retries and idempotency

Exponential backoff with jitter for transient failures. Idempotency keys help prevent duplicate processing.

Health and reputation

Circuit breakers per external service. Latency and error signals stay available to operators.

Quick start

Connect Claude, ChatGPT, or Cursor

01

Discover the server

Fetch /.well-known/mcp.json and the OAuth protected resource metadata, or open /auth.md.

GET /.well-known/mcp.json
GET /.well-known/oauth-protected-resource/api/mcp
GET /auth.md

02

Complete Clerk OAuth

Use PKCE. Send oat_* access tokens. Reject session JWTs. Then list_orgs and set_organization.

POST /api/mcp
Authorization: Bearer oat_…

{ "method": "tools/call",
  "params": { "name": "list_orgs" } }

03

Call tenant tools

Send X-Mcp-Organization-Id on later requests. tools/list shows the live OAuth catalog.

X-Mcp-Organization-Id: org_…

tools/call → get_call | list_jobs | list_callbacks