apex-mcp-server
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., "@apex-mcp-servershow me the most popular classes this week"
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.
apex-mcp-server
A read-only Model Context Protocol server for the Apex Rides API, deployed as a Cloudflare Worker. It authenticates against AWS Cognito with a service account and exposes four read-only tools over MCP's Streamable HTTP transport.
Tools
Tool | Description |
| Top popular workouts by session count in a date range. |
| Search workouts with filters (paginated). |
| Detailed info for a single on-demand class. |
| List all instructors (including archived). |
All tools are GET-based. There are no write operations and no generic passthrough.
Related MCP server: apple-health-shortcuts-mcp
Setup & Deploy
1. Install
npm install2. Set secrets
npx wrangler secret put APEX_SERVICE_PASSWORD # the Cognito service user password
npx wrangler secret put MCP_SHARED_SECRET # a strong random stringFor local development, create a .dev.vars file (git-ignored) with the same keys:
APEX_SERVICE_PASSWORD=...
MCP_SHARED_SECRET=...3. Deploy
npx wrangler deployUsage
Connect an MCP client to the worker's MCP endpoint, with the shared secret as the first path segment:
https://<worker>.workers.dev/<MCP_SHARED_SECRET>/mcpAny request whose first path segment is missing or does not match
MCP_SHARED_SECRET gets a 401.
The transport is MCP Streamable HTTP (a single endpoint handles both the GET stream and POST messages). The legacy Node-only SSE transport does not run on Cloudflare Workers, so it is not used here.
Notes & Guardrails
No client secret.
SECRET_HASHis omitted entirely since the Cognito app client has no secret.Token caching. The access token is cached in module scope and refreshed via
REFRESH_TOKEN_AUTHwhen near expiry.Date validation.
popular_classesvalidatesfrom/toagainstYYYY-MM-DDand appendsT23:59:59Zto include the full final day.Name search. Since the Apex API has no text search,
search_classesfetches up to 500 results and filters client-side whennameis provided.Read-only enforcement. Only the four
GET-based tools above are implemented.
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
Cloudflare Workers MCP server: api-composition-gateway
Cloudflare Workers MCP server: api-perf-analyzer
Cloudflare Workers MCP server: api-landing
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceThin Cloudflare Workers MCP server for navigating Bible Aquifer content, enabling Bible verse retrieval, content search, and entity profiling through MCP tools.2MIT
- AlicenseNot gradedqualityCmaintenanceA Cloudflare Workers MCP server that allows AI to read-only access Apple Health data (current status, sleep details, trends) via shortcuts without modifying or deleting data.MIT
- AlicenseNot gradedqualityBmaintenanceMCP server that connects Claude and ChatGPT to the Intervals.icu API, enabling retrieval and management of activities, events, wellness data, power curves, and custom items.GPL 3.0
- FlicenseNot gradedqualityBmaintenanceA stateless MCP server for Cloudflare Workers that exposes read-only Garmin Connect data (activities, health, sleep, training status, HRV, VO2 max) for a single securely linked personal account.-