fOSGuides

Connect an assistant

Connect Claude, ChatGPT or another MCP client to fOS so that it can read your fleet, loads and chain economics and act for your organization.

Before you start: for an API key you need access to Settings → Developer, which an owner or admin of your organization has. For OAuth you need a TOVR account in the organization. Each MCP tool call, and each request to the REST bridge, draws 5 credits from your fOS plan.

  1. Choose how the assistant signs in:
    • OAuth, for clients that support it, such as Claude and ChatGPT. Go to step 3.
    • An API key, for clients and services that take a bearer token. Go to step 2.
  2. Open Settings, then Developer. Under API keys, select Create key, enter a Name, choose the Scopes (Read, Write or both) and select Create key. Copy the key, which starts with tovr_. It is shown once.
  3. In the assistant, add a custom MCP server with the URL https://mcp.tovr.eu/mcp. With a key, set the header Authorization: Bearer tovr_….
  4. With OAuth, the assistant opens TOVR's Authorize page. Under Select organization, pick the organization, check the Permissions, and select Approve.
  5. Ask the assistant something fOS can answer, such as "Which of my trucks are free tomorrow?". It calls get_fleet_status and answers from the result.

If you belong to several organizations, the assistant can call list_my_orgs and switch_org to change the one it works on.

Check that it worked

  • The assistant lists the fOS tools, for example get_fleet_status and search_available_loads.
  • With only Read, report_vehicle_available, request_direct_offer and confirm_win are missing. With Write, they are listed.

If it doesn't work

What you seeCauseWhat to do
401 with error="invalid_token"The key or token is wrong, revoked or expiredCreate a new key, or sign in again
"Session not found"The server restarted or the session endedReconnect the assistant to open a new session
"fOS usage limit reached"Your organization or seat is at a credit limitWait for the reset, or change plan in Settings → Billing. See Credits and plans.
A write tool is refusedThe key or token has only ReadCreate a key with Write, or authorize again with write
A client without MCPUse the REST bridge: GET /api/v1/tools and POST /api/v1/tools/{toolName} on mcp.tovr.eu

On this page