MCP adapter for the Paxaver school community platform. Streamable HTTP, OAuth 2.1, capability auth.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
AI-facing adapter over the Paxaver school community platform. Implements the Model Context Protocol (MCP) on Cloudflare Workers with RS256 JWT validation, capability-first authorization, and Streamable HTTP transport.
The Paxaver MCP server lets AI assistants (ChatGPT, Claude, Perplexity, and any MCP-compatible client) act on behalf of a Paxaver user: check a lunch menu, order lunch, register for fundraising events, volunteer, and β for school administrators β manage restaurants, menu items, events, and daily orders.
It is a thin adapter. It contains no business logic and never touches the database, Stripe, or email directly. Every action is delegated to the private Paxaver backend API over a Cloudflare service binding (same region, no public network hop). The MCP server's only responsibilities are:
Authentication is handled by the Paxaver auth worker (auth.paxaver.com), which
serves as the OAuth 2.0 / OIDC authorization server. The MCP server validates
the resulting RS256 JWTs and forwards them to the backend. The MCP server itself
is not an authorization server.
The MCP worker never binds D1, Stripe, or SES. The service binding carries a
short-lived JWT (120s TTL, audience paxaver-internal) that the backend trusts as
an internal call while still attributing the action to the authenticated Paxaver
user. See docs/architecture.md for the full picture.
The local dev server starts on http://localhost:8787. Discovery endpoints live
under /.well-known/; the MCP endpoint is POST /mcp.
Note: Local development without the
PAXAVER_APIservice binding falls back to authenticated HTTPS againstAPI_BASE_URL(defaulthttp://localhost:8787). For full integration testing, run the Paxaver backend worker locally and pointAPI_BASE_URLat it.
Two environments, each a separate Worker with its own custom domain:
| Environment | Worker name | Domain |
|---|---|---|
staging | paxaver-mcp-staging | mcp.paxaver.dev |
production | paxaver-mcp | mcp.paxaver.com |
The production worker serves both CA and US users through a single endpoint
(mcp.paxaver.com). User region is resolved from the JWT tenant_id claim,
and the worker routes to the correct regional backend via service bindings
(PAXAVER_API_CA, PAXAVER_API_US). Currency is determined by the user's
school, not by the MCP endpoint.
Secrets must be set with wrangler secret put --env production:
OAUTH_STATE_SECRET, GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET,
CHATGPT_VERIFY_TOKEN. See docs/deployment.md.
The server exposes 26 tools grouped into six categories. Visibility in
tools/list is filtered by the caller's roles; every call is re-authorized
before dispatch, and the backend re-checks data-level access (defense-in-depth).
| Category | Tools |
|---|---|
| User / account | get_user_info |
| Wallet | get_wallet_balance, get_wallet_status |
| Orders & menu | order_lunch, get_orders, get_daily_menu, get_daily_orders, get_monthly_orders, create_draft_order, finalize_order, cancel_order |
| Events | get_upcoming_events, create_event, update_event, cancel_event, register_event, sign_up_to_volunteer |
| Admin / restaurant | list_school_restaurants, create_restaurant, list_menu_items, create_menu_item, update_menu_item, set_menu_item_price, delete_menu_item, set_daily_menu |
Financial and destructive tools are labeled and require user confirmation. Full
reference: docs/tools.md. Authorization policy:
docs/authorization.md.
No personal contact information (email, phone, address) is collected or
returned through MCP tools. The get_user_info tool returns only the user's
name, school, students, and roles. Student data is limited to IDs, names, and
school slugs. Allergies, notes, birthday, and other PII are not exposed in
read responses. The MCP server does not log user data.
| Document | Topic |
|---|---|
| docs/architecture.md | System architecture, service binding boundary, regional isolation |
| docs/authentication.md | JWT validation, JWKS, auth worker delegation, token format |
| docs/authorization.md | Capability policy table, role gating, defense-in-depth |
| docs/tools.md | Full tool reference with input schemas and classifications |
| docs/deployment.md | Wrangler config, environments, secrets, custom domains |
| docs/security.md | Security model, CORS, CSRF, error sanitization, headers |
| docs/compatibility.md | MCP protocol version, transports, supported AI clients |
| docs/migration.md | Migration from the legacy mcp-server/ in the private monorepo |
| CHANGELOG.md | Release history |
| SECURITY.md | Vulnerability reporting policy |
| CONTRIBUTING.md | Development setup and contribution process |
compatibility_date: 2026-08-01, nodejs_compat)2025-06-18, Streamable HTTPauth.paxaver.com)Apache-2.0. Copyright (c) 2026 Smartoire. See LICENSE.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/paxaver-mcp)<a href="https://allmcps.com/mcp/paxaver-mcp"><img src="https://allmcps.com/api/badge/paxaver-mcp?style=directory" alt="Paxaver MCP on AllMCPs" /></a>