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.
- Open the connector settings of your assistant. Add a new MCP server or connector with the URL above.
- Choose OAuth if the assistant asks for the authentication type. Leave the key and header fields empty.
- The assistant opens the Filodos sign-in page. Enter your organization, your email, and your password. Then select Allow.
- The page shows the access in plain words. The access is read-only. A driver login cannot connect.
- 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
Filodosand the URL. Select Connect. -
Claude Code: run this command once in a terminal:
Then runclaude mcp add --transport http --scope user filodos https://filodos.gr/api/mcp/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
urlfield only. Do not add aheadersblock. The tool starts the sign-in when it connects.

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.
- 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.
- Send the key in the
Authorization: Bearer YOUR_KEYheader on every request. The snippets below do this for each assistant. -
Claude Code: run this command once in a terminal. Replace
YOUR_KEYwith your key:
Then runclaude mcp add --transport http --scope user filodos https://filodos.gr/api/mcp --header "Authorization: Bearer YOUR_KEY"/mcpin Claude Code. The filodos server shows as connected. The--scope useroption makes the server available in every project. -
Claude Desktop: Settings → Extensions → Advanced settings. Merge this block into
claude_desktop_config.jsonand save:
Node.js is required (nodejs.org). Restart Claude Desktop after saving.{ "mcpServers": { "filodos": { "command": "npx", "args": [ "-y", "mcp-remote", "https://filodos.gr/api/mcp", "--header", "Authorization: Bearer YOUR_KEY" ] } } } -
Cursor: edit
~/.cursor/mcp.json(create it if it does not exist):
Restart Cursor.{ "mcpServers": { "filodos": { "url": "https://filodos.gr/api/mcp", "headers": { "Authorization": "Bearer YOUR_KEY" } } } } -
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:
Restart VS Code.{ "inputs": [], "servers": { "filodos": { "url": "https://filodos.gr/api/mcp", "headers": { "Authorization": "Bearer YOUR_KEY" } } } } -
Windsurf: edit
~/.codeium/windsurf/mcp_config.json(create it if it does not exist) with the samemcpServersblock as Cursor above. Restart Windsurf. -
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"] -
pi coding agent: run once in a terminal:
pi mcp add filodos --url https://filodos.gr/api/mcp --header 'Authorization=Bearer YOUR_KEY' -
Other tools (Zed, Amazon Q, Continue, OpenCode, Muse Code, and others that read an
mcpServersJSON config): use the same block as Cursor above. If theurlfield does not connect, use themcp-remoteblock from the Claude Desktop step instead. - Test: ask your assistant “where is my fleet right now?”. If it answers with the live positions, the connection works.
- 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. Scopeanalytics:read. Parameters:limit(default 200),offset,include_inactive(defaulttrue). The answer hastotalandnext_offset. Withinclude_inactive, the list also has vehicles that Traccar no longer returns, and every row hasactive.get_vehicle_position— a vehicle's newest GPS fixes (default: the latest one). Scopepositions:read. Parameters:device_id,limit.get_vehicle_trips— a vehicle's trips, newest first, with the driver of each trip. Scopetrips:read. Parameters:device_id,since,until,limit(default 100, maximum 500),offset,include_addresses. The answer hasrows,total, andnext_offset.get_vehicle_track— the GPS path of a vehicle, with one polyline for each trip. Use it to draw a map. Scopestrips:readandpositions: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. Scopetrips:read. Parameters:driver_idordriver_name,since,until,limit,offset,include_addresses.get_driving_events— a vehicle's driving events (overspeed, harsh braking, fatigue, ADAS, SOS, zone crossings). Scopeevents:read. Parameters:device_id.get_site_visits— stays inside geofence zones (site visits). Scopeevents: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. Scopereports:read. Parameters:device_id,day(blank = yesterday), optional cost rates.get_weekly_report— the Monday–Sunday week rollup with narrative and safety score. Scopereports: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. Scopedrivers:read. No parameters.get_safety_scores— a vehicle's stored period scores with their breakdown. Scopescores:read. Parameters:device_id.get_telemetry_bursts— the "black box" burst summaries (per-second GPS/acceleration). Scopetelemetry: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
Authorizationheader 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
429for one minute. - Errors:
401unknown key or expired token,403the tool's scope is missing,404another 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.