Filodos

Connect an AI assistant (MCP)

Ask your fleet questions in plain language from Claude, ChatGPT or another AI assistant. The assistant speaks the MCP protocol to the Filodos server and reads only your own organization's data. Part of the documentation.

Connect

You can connect in two ways. Most people use the sign-in method (OAuth). It needs no key. The server address is the same for every assistant and every method:

https://filodos.gr/api/mcp

Connect with your Filodos sign-in (OAuth)

Use this method when your assistant lets you add a connector with only a URL. The assistant opens a Filodos sign-in page in your browser. You do not copy or store a key.

  1. Open the connector settings of your assistant. Add a new MCP server or connector with the URL above.
  2. Choose OAuth if the assistant asks for the authentication type. Leave the key and header fields empty.
  3. The assistant opens the Filodos sign-in page. Enter your organization, your email, and your password. Then select Allow.
  4. The page shows the access in plain words. The access is read-only. A driver login cannot connect.
  5. Go back to the assistant and ask: “where is my fleet right now?”. If it shows live positions, the connection works.

These are the steps for each assistant:

  • ChatGPT: Settings → Connectors (Apps) → create a connector. Paste the URL and choose OAuth.
  • Claude (claude.ai and Claude Desktop): Settings → Connectors → Add custom connector. Enter the name Filodos and the URL. Select Connect.
  • Claude Code: run this command once in a terminal:
    claude mcp add --transport http --scope user filodos https://filodos.gr/api/mcp
    Then run /mcp, select filodos, and select Authenticate. The browser opens the sign-in page.
  • Cursor, VS Code, and other tools with MCP OAuth support: add the server with the url field only. Do not add a headers block. The tool starts the sign-in when it connects.
ChatGPT’s “Add custom MCP server” dialog: name, server URL, and the OAuth authentication choice
ChatGPT’s “Add custom MCP server” dialog: name, the Filodos server URL, and OAuth authentication.

The assistant gets an access token that is valid for 1 hour. It renews the token without a new sign-in for 30 days. After 30 days without renewal, sign in again. To end access earlier, ask support@filodos.gr.

Connect with an API key

Use this method for developer tools, scripts, and assistants that cannot open a sign-in page. The key belongs to your organization. Anyone who has the key can read your fleet data. Keep it secret.

  1. Create a key on the dashboard’s Organization → AI assistants page. The page creates the key with the right scopes and pre-fills every snippet with it.
  2. Send the key in the Authorization: Bearer YOUR_KEY header on every request. The snippets below do this for each assistant.
  3. Claude Code: run this command once in a terminal. Replace YOUR_KEY with your key:
    claude mcp add --transport http --scope user filodos https://filodos.gr/api/mcp --header "Authorization: Bearer YOUR_KEY"
    Then run /mcp in Claude Code. The filodos server shows as connected. The --scope user option makes the server available in every project.
  4. Claude Desktop: Settings → Extensions → Advanced settings. Merge this block into claude_desktop_config.json and save:
    {
      "mcpServers": {
        "filodos": {
          "command": "npx",
          "args": [
            "-y", "mcp-remote",
            "https://filodos.gr/api/mcp",
            "--header",
            "Authorization: Bearer YOUR_KEY"
          ]
        }
      }
    }
    Node.js is required (nodejs.org). Restart Claude Desktop after saving.
  5. Cursor: edit ~/.cursor/mcp.json (create it if it does not exist):
    {
      "mcpServers": {
        "filodos": {
          "url": "https://filodos.gr/api/mcp",
          "headers": { "Authorization": "Bearer YOUR_KEY" }
        }
      }
    }
    Restart Cursor.
  6. GitHub Copilot (VS Code): requires VS Code 1.99+ and the GitHub Copilot extension. Open the Command Palette, run MCP: Add Server, or create .vscode/mcp.json:
    {
      "inputs": [],
      "servers": {
        "filodos": {
          "url": "https://filodos.gr/api/mcp",
          "headers": { "Authorization": "Bearer YOUR_KEY" }
        }
      }
    }
    Restart VS Code.
  7. Windsurf: edit ~/.codeium/windsurf/mcp_config.json (create it if it does not exist) with the same mcpServers block as Cursor above. Restart Windsurf.
  8. OpenAI Codex CLI: install with npm install -g @openai/codex (Node.js required), then edit ~/.codex/config.toml:
    [mcp_servers.filodos]
    command = "npx"
    args = ["-y", "mcp-remote", "https://filodos.gr/api/mcp",
            "--header", "Authorization: Bearer YOUR_KEY"]
  9. pi coding agent: run once in a terminal:
    pi mcp add filodos --url https://filodos.gr/api/mcp --header 'Authorization=Bearer YOUR_KEY'
  10. Other tools (Zed, Amazon Q, Continue, OpenCode, Muse Code, and others that read an mcpServers JSON config): use the same block as Cursor above. If the url field does not connect, use the mcp-remote block from the Claude Desktop step instead.
  11. Test: ask your assistant “where is my fleet right now?”. If it answers with the live positions, the connection works.
  12. Test: ask your assistant “where is my fleet right now?”. If it answers with the live positions, the connection works.

The dashboard’s AI assistants page walks through the key method step by step, in Greek and in English, with your key already inside every snippet.

Tools

The assistant sees twelve read-only tools. Each tool reads what the matching endpoint of the public API reads, with the same organization scope. Every answer row also carries a dashboard_url link to the dashboard page. Dates are always fleet-local (Europe/Athens).

  • list_vehicles — the fleet list: name, status, current drivers, recorded distance. Scope analytics:read. Parameters: limit (default 200), offset, include_inactive (default true). The answer has total and next_offset. With include_inactive, the list also has vehicles that Traccar no longer returns, and every row has active.
  • get_vehicle_position — a vehicle's newest GPS fixes (default: the latest one). Scope positions:read. Parameters: device_id, limit.
  • get_vehicle_trips — a vehicle's trips, newest first, with the driver of each trip. Scope trips:read. Parameters: device_id, since, until, limit (default 100, maximum 500), offset, include_addresses. The answer has rows, total, and next_offset.
  • get_vehicle_track — the GPS path of a vehicle, with one polyline for each trip. Use it to draw a map. Scopes trips:read and positions:read. Parameters: device_id, since, until (no more than 7 days apart), max_points (default 2000). The answer says when it removed points.
  • get_driver_trips — the trips of one driver on all vehicles that the driver used. Scope trips:read. Parameters: driver_id or driver_name, since, until, limit, offset, include_addresses.
  • get_driving_events — a vehicle's driving events (overspeed, harsh braking, fatigue, ADAS, SOS, zone crossings). Scope events:read. Parameters: device_id.
  • get_site_visits — stays inside geofence zones (site visits). Scope events:read. Parameters: device_id, since, until, limit (blank bounds = last 30 days).
  • get_daily_summary — a vehicle's daily summary: per trip, overspeed bands, idling, night mileage, cost. Scope reports:read. Parameters: device_id, day (blank = yesterday), optional cost rates.
  • get_weekly_report — the Monday–Sunday week rollup with narrative and safety score. Scope reports:read. Parameters: device_id, week (blank = the last finished week).
  • get_driver_overview — per-driver rollups across every vehicle each driver used: totals, per-type rule breaks, score. Scope drivers:read. No parameters.
  • get_safety_scores — a vehicle's stored period scores with their breakdown. Scope scores:read. Parameters: device_id.
  • get_telemetry_bursts — the "black box" burst summaries (per-second GPS/acceleration). Scope telemetry:read. Parameters: device_id, since, until, limit.

Photo and video files do not travel over MCP. The assistant gets metadata and the dashboard link, where you view them.

Security

  • Read-only. No tool writes anything, sends a command to a vehicle, or changes a setting.
  • The key or OAuth token travels in the Authorization header on every request — never in the URL, so it never lands in access logs.
  • With an OAuth sign-in (ChatGPT) the token lasts one hour and renews itself while in use. It never writes.
  • The server accepts at most 120 requests per minute per connection. Above that it answers 429 for one minute.
  • Errors: 401 unknown key or expired token, 403 the tool's scope is missing, 404 another organization's or unknown vehicle (never revealed which).

Revoke the key any time on the AI assistants or API keys page — every assistant stops at once. For assistants connected with a Filodos sign-in (OAuth), access ends with the token, and we cut it for good on request to support@filodos.gr.