wunder-user-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@wunder-user-mcp Show me available vehicles near my location"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
wunder-user-mcp
An MCP server that exposes the Wunder Mobility v2 end-user (User) API as tools. It lets an MCP client (Claude, etc.) browse vehicles, inspect and operate rentals, and create rentals/reservations on behalf of a single signed-in end user.
Authentication is handled entirely from a refresh token you provide via env var — the server exchanges it for short-lived access tokens and refreshes them automatically, so tool callers never deal with tokens.
Tools
Tool | What it does | Underlying endpoint |
| List available vehicles. With a |
|
| Return the user's ongoing rental(s) ( |
|
| Operate a rental: |
|
| Create a rental in |
|
Related MCP server: @mnicole-dev/calcom-mcp-server
Configuration
All configuration is via environment variables (see .env.example):
Variable | Required | Default | Purpose |
| ✅ | — | Long-lived refresh token for the end user. |
| ✅ | — | Tenant short-code used in the API URL path. |
|
| API gateway base URL. | |
| — | Default branch id for vehicle/rental calls. | |
|
| Radius (miles) used by | |
|
| Per-request timeout in seconds. |
Getting a refresh token
Sign in once via the Wunder Authentication API (e.g. POST /{tenant}/auth/sign-in-email,
/sign-in-phone-number, or /sign-in-api-client) and copy the refreshToken from the
response into WUNDER_REFRESH_TOKEN.
Run
Run straight from the GitHub repo — no clone and no PyPI publish required (uvx builds
from the Git source):
uvx --from git+https://github.com/slettmayer/wunder-user-mcp wunder-user-mcpPin a branch, tag, or commit for stability by appending @<ref>:
uvx --from git+https://github.com/slettmayer/wunder-user-mcp@main wunder-user-mcpuvx caches the build, so to pick up new commits on a moving ref (e.g. @main) add
--refresh:
uvx --refresh --from git+https://github.com/slettmayer/wunder-user-mcp@main wunder-user-mcpFrom a local checkout (development):
uv run wunder-user-mcp # editable install, reflects local edits
uvx --from . wunder-user-mcp # build from the current directoryIn all cases WUNDER_REFRESH_TOKEN and WUNDER_TENANT must be set in the environment
(see Configuration). The server speaks MCP over stdio.
MCP client configuration
{
"mcpServers": {
"wunder-user": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/slettmayer/wunder-user-mcp",
"wunder-user-mcp"
],
"env": {
"WUNDER_REFRESH_TOKEN": "<refresh-token>",
"WUNDER_TENANT": "<tenant-code>",
"WUNDER_BASE_URL": "https://go-staging.api.gourban.services/v1",
"WUNDER_BRANCH_ID": "<optional-branch-id>"
}
}
}
}WUNDER_BASE_URL defaults to production (https://go.api.gourban.services/v1); the
value above targets staging (go-staging). Set it to match your tenant's environment
— a staging tenant on the production host returns 404. To pin a ref, append @<ref> to
the URL, e.g. git+https://github.com/slettmayer/wunder-user-mcp@main.
Development
uv sync # install deps (incl. dev group)
uv run pytest # offline unit tests (geo + JWT exp parsing)
uv run ruff check # lintNotes / caveats
The vehicle position field path used for distance calculation is detected best-effort (
lat/lng,latitude/longitude, or a nestedposition/location). If a tenant's response uses different field names, extendgeo.py.operation_typeinrental_commandis passed through to the API, so tenant-specific operations beyond the documented set keep working.Rental creation and
ENDare high-impact: they can trigger vehicle commands, payment authorization/capture, deposits, and invoices.
Available Tools
4 toolscreate_rentalA
Create a rental for the signed-in user, as a reservation or an active rental.
Provide exactly one of vehicle_id (from the map/list) or vehicle_code (from a
QR scan). start_rental_state is RESERVATION (hold the vehicle, default) or
ACTIVE (start the trip immediately, begins billing).
Optional: additions (selected add-on codes, e.g. ["INSURANCE", "HELMET"]),
user_group_code + rental_type="BUSINESS" for business-account billing.
Returns the created rental, including its id and state.
Inputs: vehicle_id, vehicle_code, start_rental_state, additions, +2 more. Returns: object
get_active_rentalA
Retrieve the signed-in user's currently ongoing rental(s).
Returns rentals in ACTIVE (trip in progress) or RESERVATION (held, not yet
started) state. Usually 0 or 1. Use a returned rental's id with rental_command
to operate it.
Inputs: no named parameters. Returns: object
get_vehiclesA
List available vehicles for the signed-in user.
When both latitude and longitude are supplied, the result is scoped to a
radius around that point (radius_miles, defaulting to WUNDER_DEFAULT_RADIUS_MI),
each vehicle is annotated with distanceKm/distanceMeters from the user, and the
list is sorted by ascending distance. Without a location, vehicles are returned as
provided by the API (no distance, no distance sort).
Filters: branch_id, category_ids, exclude_stationed_vehicles (true = free-floating
only), min_state_of_charge/max_state_of_charge (battery percentage 0-100).
Inputs: latitude, longitude, radius_miles, branch_id, +4 more. Returns: object
rental_commandA
Execute an operation on a rental and return the updated rental.
operation_type (case-sensitive) is one of:
START start a reserved rental
PARK pause driving while keeping the rental active
DRIVE resume driving after a park
END end the rental (triggers final checks and billing)
OPEN_TAILBOX open a configured tailbox / helmet box / saddle compartment
RENEW_RESERVATION extend a reservation where supported Other operation types configured for the tenant are passed through as-is.
Optional fields are forwarded when relevant (mainly for END): file_id (e.g. a
parking photo uploaded via POST /files), parking_report, vehicle_code, reason.
Note: ending may be blocked by end-checks (parking/station/photo/surcharge). This tool does not pre-run POST /rentals/{id}/check/end; an END that fails a requirement surfaces the API error.
Inputs: rental_id (required), operation_type (required), file_id, parking_report, +2 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a distinct purpose: creating a rental, retrieving active rentals, listing available vehicles, and executing commands on rentals. There is no overlap or ambiguity between them.
Three of the four tools follow a clear verb_noun pattern (create_rental, get_active_rental, get_vehicles), while 'rental_command' deviates slightly as a noun_verb. The inconsistency is minor and the names remain readable.
Four tools is a compact but reasonable set for a user-facing rental service. It covers the essential actions without being too few or too many, though a few more (e.g., cancel reservation) might be expected.
The tool surface covers the core workflows: vehicle discovery, rental creation, state monitoring, and lifecycle commands. A minor gap is the lack of an explicit cancel/reservation removal, but the domain is well-served overall.
Related MCP Connectors
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Unified MCP Server is a remote MCP connector for AI agents and vertical AI products that provides access to 22,000+ authorized SaaS tools across 400+ integrations and 24 categories directly inside LLMs (Claude, GPT, Gemini, Cohere). Tools operate only on explicitly authorized customer connections, enabling agents to safely read and write against live third-party systems.
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
One OAuth connector for your team's remote MCP servers, with Tool Packs, guardrails and logs.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that exposes Smartcar's vehicle API as tools, enabling AI agents to query vehicle telemetry and send commands using natural language.-
- AlicenseAqualityDmaintenanceMCP server for the Cal.com API v2, providing 24 tools for managing bookings, event types, availability slots, schedules, calendars, user profile, and out-of-office entries.241MIT
- FlicenseNot gradedqualityBmaintenanceMCP server enabling agents to interact with a human-in-the-loop B2B service in Vienna, supporting quote requests, task tracking, messages, and cancellation via bearer-token authenticated tools.-
- AlicenseNot gradedqualityDmaintenanceMCP server for agentic travel recommendations, exposing tools to retrieve member profiles and personalized travel recommendations with partner-specific rules and policies.ISC