Skip to content

Developers

Connect your tools to the HaulCommand MCP server

Each HaulCommand location has its own MCP server. An AI client signs in with OAuth 2.1 and PKCE. A program with no browser uses a key. Your admin picks which tools run and which wait for approval.

The address

Each location has one address. A client sends one message per request and gets its answer on the same request.

POST https://mcp.haulcommand.ai/mcp/v1/{location}
Authorization: Bearer {token}
Content-Type: application/json

{"jsonrpc":"2.0","id":1,"method":"tools/list"}

Connect an AI client

  • An AI client like Claude finds the sign-in server on its own and registers itself.
  • A person signs in with OAuth 2.1 and PKCE. An admin at the location picks the tools the client may use.
  • The client gets a token that lasts an hour, and renews it on its own.
  • A token holds only the tools a person approved. Giving the client more tools later does not change a token already issued.
  • Each connection reaches one location’s data only.

Service accounts

  • A program with no browser, like Zapier, uses a service-account key. An admin issues it, and it is shown once.
  • The key acts as the admin who issued it, and only on the tools the location has turned on.
  • A key works only on the MCP address. There is no other API key.
  • Rotate a key and the old one fails its next call. Turn a client off and it is cut off on its next call.
  • We store only a hash of each key, never the key itself.

Approval rules

  • Each tool starts with a rule. Reads run on their own, and money and admin tools wait for an admin. Each write and action starts at its own rule, shown in the tool list.
  • A call that needs a tap can be approved by an admin or a dispatcher, even the person who asked. A call that needs an admin is approved by a location admin who did not ask.
  • A call waits for up to a day. Once approved, it runs as the person who asked.
  • An admin can change the rule for any tool. Allow all sets every tool your business does not control to run on its own, and Reset to defaults puts each rule back. Neither one turns a tool on.
  • On an approval, an admin can tick Always allow. The tool then runs on its own, and the card says so, or says it will still ask.
  • Every call is recorded, and so is every refusal.
  • HaulCommand staff tools are on their own address. A staff change waits for a staff admin to approve it. That check can be turned off per staff member. When it is off for both the person and the key holder, the call runs at once and is recorded as exempt.

See your own day in HaulCommand

We set it up with you, on your rate cards and your routes.