Overview
The Dcycle MCP Server integrates with Claude Desktop and Claude Code. The quickest way to connect is the remote server athttps://mcp.dcycle.io — no installation required.
Remote Mode
Connect directly to the hosted Dcycle MCP server. Authentication is handled via OAuth 2.0 — Claude will open a browser window to log in with your Dcycle account.Claude Desktop
Ask your Claude admin to add a custom connector with:- Name:
Dcycle - URL:
https://mcp.dcycle.io/mcp
Claude Code
VS Code (GitHub Copilot)
Add a.vscode/mcp.json file to your project root:
ChatGPT Desktop
- Open ChatGPT Desktop → Settings → Connections
- Click Add MCP server
- Enter the server URL:
https://mcp.dcycle.io/mcp
Microsoft Copilot Studio
- Open your agent → Tools → Add a tool → New tool → Model Context Protocol
- Set Server URL to
https://mcp.dcycle.io/mcp - Set Authentication type to OAuth 2.0 → Dynamic discovery (the server exposes the standard OAuth metadata endpoint)
- Click Create, then Add to agent
OpenAI Responses API
Pass the MCP server directly in thetools parameter. You’ll need a Dcycle API key (obtainable from Settings → API) to use as the Bearer token:
- Python
- Node.js
Cursor
Cursor supports SSE transport only. Usemcp-remote as a bridge (requires Node.js):
~/.cursor/mcp.json
mcp-remote proxies the Streamable HTTP server to a local stdio process that Cursor can connect to. OAuth is handled in the browser on first run.
Windsurf (Codeium)
Edit~/.codeium/windsurf/mcp_config.json:
Local Mode
Run the server on your own machine using a Dcycle API key. Useful for automation or environments without browser access.Prerequisites
- Python 3.10+
uvinstalled (pip install uv)- Dcycle API Key — get it from Settings > API
- Organization ID — your organization UUID from Dcycle
Claude Desktop
- macOS
- Windows
Edit
~/Library/Application Support/Claude/claude_desktop_config.json:Claude Code
.mcp.json file to your project root:
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
DCYCLE_API_KEY | Yes | — | Your Dcycle API key |
DCYCLE_ORG_ID | Recommended | — | Default organization UUID |
DCYCLE_API_URL | No | https://api.dcycle.io | API base URL |
Verify the Connection
Ask Claude:get_connection_status and show your organization metrics — facilities, vehicles, employees, and more.
Example Queries
Organization Overview
Energy & Invoices
Fleet
Supply Chain
Business Travel
Logistics
Tips for Better Results
Specify the organization
Specify the organization
In remote mode the server uses the organization linked to your account. In local mode, set
DCYCLE_ORG_ID as the default or pass organization_id to any tool.Use filters
Use filters
Most list tools support filters:
status, type, date ranges, and search. Ask Claude to filter — it will use the right parameters.Ask follow-up questions
Ask follow-up questions
Claude maintains context. After listing vehicles, ask “which ones use diesel?” or “show me the top emitters”.
Request specific formats
Request specific formats
Ask for tables, comparisons, or summaries: “show this as a table” or “summarize the key findings”.
Troubleshooting
Remote mode: “OAuth authentication failed”
- Make sure you’re logging in with your Dcycle account credentials
- Check that your account has access to the organization you’re querying
Local mode: “MCP server not found”
- Ensure Python 3.10+ is installed
- Verify
uvxis available:uvx --version - Check the configuration file is valid JSON
Local mode: “Authentication failed”
- Verify your API key at app.dcycle.io/settings/api
- Ensure
DCYCLE_API_KEYis correctly set in the config
”organization_id is required”
- Remote mode: your account must be linked to an organization
- Local mode: set
DCYCLE_ORG_IDin your env config
Next Steps
Organization Tools
Explore organization management capabilities
Vehicle Tools
Explore fleet data
Invoice Tools
Query energy invoices
Reference Data
Available reference resources

