Paxaver MCP server — AI-facing adapter over the Paxaver school lunch platform
- ✓Open-source license (Apache-2.0)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Documented (README)
git clone https://github.com/Smartoire/paxaver-mcp{
"mcpServers": {
"paxaver-mcp": {
"command": "node",
"args": ["/path/to/paxaver-mcp/dist/index.js"]
}
}
}Resumen de MCP Servers
# Paxaver MCP Server
> AI-facing adapter over the [Paxaver](https://paxaver.com) school community platform.
> Implements the Model Context Protocol (MCP) on Cloudflare Workers with RS256 JWT
> validation, capability-first authorization, and Streamable HTTP transport.
[](https://www.npmjs.com/package/@paxaver/mcp)
[](./LICENSE)
[](https://lobehub.com/mcp/paxaver)
[](https://glama.ai/mcp/connectors/com.paxaver.mcp/paxaver)
---
## What this is
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:
- MCP protocol handling (JSON-RPC 2.0, Streamable HTTP)
- RS256 JWT validation via JWKS from the centralized Paxaver auth worker
- Per-tool capability policy and role gating
- Sanitized, user-safe error mapping
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.
---
## Architecture
```text
┌───────────────┐ MCP (Streamable HTTP) ┌──────────────────────┐
│ AI Client │ ─────────────────────────────▶ │ Paxaver MCP Worker │
│ ChatGPT/Claude│ ◀───────────────────────────── │ (this repo) │
│ /Perplexity │ RS256 JWT + JSON-RPC 2.0 │ Hono + jose │
└───────────────┘ └──────────┬───────────┘
│
Cloudflare service binding
(PAXAVER_API, same region)
│
▼
┌──────────────────────┐
│ Paxaver API Worker │
│ (private backend) │
│ D1 · Stripe · SES │
└──────────────────────┘
```
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`](./docs/architecture.md) for the full picture.
---
## Quick start
### Install
```bash
npm install @paxaver/mcp
```
### Develop locally
```bash
# 1. Install dependencies (Node >= 22)
npm install
# 2. Run the worker locally (Miniflare)
npm run dev
# 3. Typecheck, lint, and test
npm run typecheck
npm run lint
npm test
```
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_API` service binding falls back
> to authenticated HTTPS against `API_BASE_URL` (default `http://localhost:8787`).
> For full integration testing, run the Paxaver backend worker locally and point
> `API_BASE_URL` at it.
---
## Deployment
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.
```bash
npm run deploy:staging # wrangler deploy --env staging
npm run deploy:prod # wrangler deploy --env production
```
The worker requires no secrets. See
[`docs/deployment.md`](./docs/deployment.md).
---
## Tools
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`](./docs/tools.md). Authorization policy:
[`docs/authorization.md`](./docs/authorization.md).
### Privacy
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.
---
## Documentation
| Document | Topic |
| -------------------------------------------------- | ----------------------------------------------------------------- |
| [docs/architecture.md](./docs/architecture.md) | System architecture, service binding boundary, regional isolation |
| [docs/authentication.md](./docs/authentication.md) | JWT validation, JWKS, auth worker delegation, token format |
| [docs/authorization.md](./docs/authorization.md) | Capability policy table, role gating, defense-in-depth |
| [docs/tools.md](./docs/tools.md) | Full tool reference with input schemas and classifications |
| [docs/deployment.md](./docs/deployment.md) | Wrangler config, environments, secrets, custom domains |
| [docs/security.md](./docs/security.md) | Security model, CORS, CSRF, error sanitization, headers |
| [docs/compatibility.md](./docs/compatibility.md) | MCP protocol version, transports, supported AI clients |
| [docs/migration.md](./docs/migration.md) | Migration from the legacy `mcp-server/` in the private monorepo |
| [CHANGELOG.md](./CHANGELOG.md) | Release history |
| [SECURITY.md](./SECURITY.md) | Vulnerability reporting policy |
| [CONTRIBUTING.md](./CONTRIBUTING.md) | Development setup and contribution process |
---
## Tech stack
- **Runtime:** Cloudflare Workers (`compatibility_date: 2026-08-01`, `nodejs_compat`)
- **Framework:** [Hono](https://hono.dev) v4
- **JWT:** [jose](https://github.com/panva/jose) v6 (RS256 via JWKS)
- **Protocol:** MCP `2025-06-18`, Streamable HTTP
- **Auth:** RS256 JWT validation via centralized auth worker (`auth.paxaver.com`)
- **Build/deploy:** [Wrangler](https://developers.cloudflare.com/workers/wrangler/) v4
- **Test:** [Vitest](https://vitest.dev) v2 (Workers pool + Node pool)
---
## License
Apache-2.0. Copyright (c) 2026 Smartoire. See [`LICENSE`](./LICENSE).
Lo que la gente pregunta sobre paxaver-mcp
¿Qué es Smartoire/paxaver-mcp?
+
Smartoire/paxaver-mcp es mcp servers para el ecosistema de Claude AI. Paxaver MCP server — AI-facing adapter over the Paxaver school lunch platform Tiene 0 estrellas en GitHub y su última actualización registrada es del 2026-09-13.
¿Cómo se instala paxaver-mcp?
+
Puedes instalar paxaver-mcp clonando el repositorio (https://github.com/Smartoire/paxaver-mcp) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar Smartoire/paxaver-mcp?
+
Nuestro agente de seguridad ha analizado Smartoire/paxaver-mcp y le ha asignado un Trust Score de 87/100 (tier: Trusted). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene Smartoire/paxaver-mcp?
+
Smartoire/paxaver-mcp es mantenido por Smartoire. La última actividad registrada en GitHub es del 2026-09-13, con 0 issues abiertos.
¿Hay alternativas a paxaver-mcp?
+
Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.
Despliega paxaver-mcp en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/smartoire-paxaver-mcp)<a href="https://claudewave.com/repo/smartoire-paxaver-mcp"><img src="https://claudewave.com/api/badge/smartoire-paxaver-mcp" alt="Featured on ClaudeWave: Smartoire/paxaver-mcp" width="320" height="64" /></a>Más MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
The fastest path to AI-powered full stack observability, even for lean teams.