Skip to main content
Glama
Nuuuuuut MCP Server

Nuuuuuut MCP Server

by cassien
README.md
# Nuuuuuut MCP Server

> **FR :** Serveur MCP (*Model Context Protocol*) distant officiel pour **[Nuuuuuut](https://nuuuuuut.com)**, le service de réparation et d'entretien de vélos à domicile 7j/7 en France. Connectez Claude, Cursor, VS Code ou ChatGPT en Streamable HTTP (`https://nuuuuuut.com/mcp`) avec prise en charge OAuth 2.1 + PKCE.

Official remote **Model Context Protocol (MCP)** server for **[Nuuuuuut](https://nuuuuuut.com)** — on-demand mobile bicycle repair workshops across France, 7 days a week.

- **Endpoint (Streamable HTTP):** `https://nuuuuuut.com/mcp`
- **MCP Protocol Versions:** `2025-06-18`, `2025-03-26`, `2024-11-05`
- **Authentication:** Optional **OAuth 2.1 + PKCE** (`scope: mcp`) with RFC 7591 Dynamic Client Registration (public tools require no login; account tools require OAuth 2.1)
- **Autodiscovery:** [`https://nuuuuuut.com/.well-known/mcp.json`](https://nuuuuuut.com/.well-known/mcp.json)

---

## Quick Connect

### Claude.ai / Claude Desktop (Custom Connector)
1. Go to **Settings -> Connectors -> Add custom connector**
2. Name: `Nuuuuuut`
3. Remote MCP Server URL: `https://nuuuuuut.com/mcp`
4. Click **Connect** and sign in with your Nuuuuuut account (or use without login for public availability & pricing tools).

### Claude Code CLI
```bash
claude mcp add --transport http nuuuuuut https://nuuuuuut.com/mcp
```

### Cursor (`.cursor/mcp.json`)
```json
{
  "mcpServers": {
    "nuuuuuut": {
      "url": "https://nuuuuuut.com/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)
```json
{
  "servers": {
    "nuuuuuut": {
      "type": "http",
      "url": "https://nuuuuuut.com/mcp"
    }
  }
}
```

### Legacy / stdio-only MCP Clients (`mcp-remote`)
```json
{
  "mcpServers": {
    "nuuuuuut": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://nuuuuuut.com/mcp"]
    }
  }
}
```

---

## Capabilities

### Tools (7 read-only tools)

| Tool | Auth | Description |
| --- | --- | --- |
| `get_info` | Public | Returns platform overview, coverage model (mobile workshops + certified mechanics dispatch), and discovery endpoints. |
| `get_services` | Public | Lists active bookable mobile workshop packages (fast puncture repair, monthly checkup, annual overhaul, assembly) with codes and durations. |
| `check_availability` | Public | Checks mobile workshop coverage, fastest & cheapest timeslots, dynamic EUR pricing, and returns a localized booking link for a complete postal address (`address` = street + postal code + city). |
| `get_repair_pricing` | Public | Searches and filters the 61 published bicycle workshop labor operations (Transmission, Braking, Wheels, E-bike, etc.) with EUR prices. |
| `get_my_profile` | OAuth 2.1 | Returns the signed-in user's profile, preferred language, Wallet balance, and saved intervention addresses. |
| `get_my_orders` | OAuth 2.1 | Returns the signed-in customer's recent orders, line items, and scheduled intervention slots. |
| `get_my_wallet` | OAuth 2.1 | Returns the signed-in customer's Wallet balance in EUR and recent credit/debit movements. |

### Resources (3)
- `nuuuuuut://llms.txt` — LLM agent guidelines (Markdown)
- `nuuuuuut://services` — Active repair packages catalog (JSON)
- `nuuuuuut://info` — Platform metadata & endpoints (JSON)

### Prompts (1)
- `book_bike_repair` — Step-by-step assistant workflow to match a repair package, confirm the cyclist's complete street address, check real-time slots, and share the booking link.

---

## Discovery & OAuth 2.1 Endpoints

| Resource | URL |
| --- | --- |
| Remote MCP Endpoint | `https://nuuuuuut.com/mcp` |
| MCP Server Card (SEP-1649 / SEP-2127) | `https://nuuuuuut.com/.well-known/mcp.json` |
| Alternate Server Card | `https://nuuuuuut.com/.well-known/mcp/server-card.json` |
| OAuth Protected Resource (RFC 9728) | `https://nuuuuuut.com/.well-known/oauth-protected-resource/mcp` |
| OAuth Authorization Server (RFC 8414) | `https://nuuuuuut.com/.well-known/oauth-authorization-server` |
| Dynamic Client Registration (RFC 7591) | `https://nuuuuuut.com/oauth/register` |
| OpenAPI 3.1 REST Spec | `https://nuuuuuut.com/api/nuuuuuut/v1/openapi.json` |
| LLM Guidelines | `https://nuuuuuut.com/llms.txt` |

---

## Security & Privacy

- **Strictly read-only:** None of the exposed MCP tools mutate user data, confirm bookings, or initiate payments. Final booking confirmation always happens directly on Nuuuuuut via the returned `booking_url`.
- **OAuth 2.1 + PKCE:** Personal tools (`get_my_profile`, `get_my_orders`, `get_my_wallet`) require a valid Bearer token (`scope="mcp"`) obtained after explicit user consent. Invalid or missing tokens return HTTP `401` with an RFC 9728 `WWW-Authenticate` challenge.

---

## Smoke Testing

```bash
./scripts/test-mcp.sh
```

---

## License

MIT License — see [LICENSE](./LICENSE).