Développeurs MCP server
MCP server: CLUP.life for AI assistants
The CLUP.life MCP server: setup in Claude Desktop, Claude Code and other clients, all tools, permissions and security notes.
La documentation technique existe en allemand et en anglais ; dans votre langue, nous affichons la version anglaise.
CLUP.life speaks the Model Context Protocol (MCP). An AI assistant can then answer questions like “What is on at the club this week?” or prepare a draft announcement — with the same rights as the person behind the key.
Key facts#
| Address | https://api.clup.life/api/v1/ext/mcp (fallback address …/ext/assistant if a network layer mangles the path part “mcp”) |
| Transport | Streamable HTTP, stateless, JSON-RPC 2.0; POST only (a GET answers 405) |
| Authentication | Header Authorization: Bearer clup_k_… (the same API key as for REST) |
| Methods | initialize, ping, tools/list, tools/call; batches of up to 20 calls |
| Limit | 600 calls/minute at the endpoint, plus the key’s own limit |
Setup step by step#
1. Create a key
Settings → Interfaces: for summaries (“What is on?”) a personal key with read scopes only is enough (profile:read, events:read, optionally posts:read, announcements:read, tasks:read). Write tools need an organization key (Premium).
2. Claude Code
claude mcp add --transport http clup https://api.clup.life/api/v1/ext/mcp \
--header "Authorization: Bearer clup_k_…"
# prüfen
claude mcp list3. Claude Desktop
Claude Desktop starts local servers. Connect the remote server through the mcp-remote bridge (requires Node.js). Open Settings → Developer → Edit config and add to claude_desktop_config.json:
{
"mcpServers": {
"clup": {
"command": "npx",
"args": [
"-y", "mcp-remote",
"https://api.clup.life/api/v1/ext/mcp",
"--header", "Authorization:Bearer clup_k_…"
]
}
}
}Then quit Claude Desktop completely and restart it. The clup_… tools appear under the tools icon.
4. Other clients and your own agents
In an MCP-capable client (Cursor, VS Code, Windsurf, your own agents through an MCP SDK) enter the server address and the header Authorization: Bearer clup_k_…; transport “Streamable HTTP”. Clients that only know local processes use mcp-remote just like Claude Desktop.
5. Test it
Ask, for example: “Summarize the events of the next 14 days for tus-musterstadt.” Or by hand:
curl -s https://api.clup.life/api/v1/ext/mcp \
-H "Authorization: Bearer $CLUP_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'Tools#
A client sees only the tools whose scope the key carries; the call checks the scope again. The list is generated from the server’s own tool list.
clup_whoamilecture
Shows the account behind the key, its scopes and memberships (with the slug of each organization).
Domaine: profile:read
clup_search_organizationslecture
Searches public clubs, groups and associations (name, place, radius, topic, state, age group, size, founding year). Public details only.
Domaine: directory:read
| Nom | Type | Obligation | Remarque |
|---|---|---|---|
q | string | désactivé | |
place | string | désactivé | Ort oder PLZ |
radiusKm | number | désactivé | |
categories | string | désactivé | Themen, getrennt mit | |
state | string | désactivé | z. B. DE-RP |
ageFrom | number | désactivé | |
ageTo | number | désactivé | |
accepting | boolean | désactivé | |
sort | string | désactivé | relevance | distance | name | size | new |
limit | number | désactivé | |
cursor | string | désactivé |
clup_list_eventslecture
Events in a period (at most 400 days), only those the person may see.
Domaine: events:read
| Nom | Type | Obligation | Remarque |
|---|---|---|---|
from | string | activé | ISO 8601 |
to | string | activé | ISO 8601 |
organization | string | désactivé | Kennung (slug) der Organisation, z. B. "tus-musterstadt" |
clup_create_eventécriture
Creates an event in the key’s organization (organization keys only, only with a suitable role).
Domaine: events:write · Premium (clé d’organisation)
| Nom | Type | Obligation | Remarque |
|---|---|---|---|
organization | string | activé | Kennung (slug) der Organisation, z. B. "tus-musterstadt" |
title | string | activé | |
startsAt | string | activé | |
endsAt | string | désactivé | |
description | string | désactivé | |
locationName | string | désactivé | |
visibility | string | désactivé | MEMBERS | PUBLIC | INVITED_ONLY |
clup_list_memberslecture
Members of the organization (only as far as the person’s role shows the list).
Domaine: members:read
| Nom | Type | Obligation | Remarque |
|---|---|---|---|
organization | string | activé | Kennung (slug) der Organisation, z. B. "tus-musterstadt" |
q | string | désactivé | |
cursor | string | désactivé | nextCursor der vorigen Antwort |
limit | integer | désactivé |
clup_list_postslecture
Posts of the organization.
Domaine: posts:read
| Nom | Type | Obligation | Remarque |
|---|---|---|---|
organization | string | activé | Kennung (slug) der Organisation, z. B. "tus-musterstadt" |
cursor | string | désactivé | nextCursor der vorigen Antwort |
limit | integer | désactivé |
clup_list_announcementslecture
Announcements of the organization.
Domaine: announcements:read
| Nom | Type | Obligation | Remarque |
|---|---|---|---|
organization | string | activé | Kennung (slug) der Organisation, z. B. "tus-musterstadt" |
cursor | string | désactivé | nextCursor der vorigen Antwort |
limit | integer | désactivé |
clup_create_announcementécriture
Publishes an announcement in the key’s organization (notifies members — only use when the person explicitly asks).
Domaine: announcements:write · Premium (clé d’organisation)
| Nom | Type | Obligation | Remarque |
|---|---|---|---|
organization | string | activé | Kennung (slug) der Organisation, z. B. "tus-musterstadt" |
title | string | activé | |
body | string | activé | |
pinned | boolean | désactivé |
clup_list_taskslecture
Tasks of the group (open or done).
Domaine: tasks:read
| Nom | Type | Obligation | Remarque |
|---|---|---|---|
organization | string | activé | Kennung (slug) der Organisation, z. B. "tus-musterstadt" |
scope | string | désactivé | open | done |
cursor | string | désactivé | nextCursor der vorigen Antwort |
limit | integer | désactivé |
clup_create_taskécriture
Creates a task in the key’s group.
Domaine: tasks:write · Premium (clé d’organisation)
| Nom | Type | Obligation | Remarque |
|---|---|---|---|
organization | string | activé | Kennung (slug) der Organisation, z. B. "tus-musterstadt" |
title | string | activé | |
dueDate | string | désactivé | JJJJ-MM-TT |
clup_list_press_postslecture
Published press releases and news of the CLUP.life platform (public content), newest first.
Domaine: presse:read
| Nom | Type | Obligation | Remarque |
|---|---|---|---|
art | string | désactivé | PRESS_RELEASE | NEWS |
lang | string | désactivé | Sprachcode, z. B. de, en |
cursor | string | désactivé | nextCursor der vorigen Antwort |
limit | integer | désactivé |
clup_get_press_postlecture
One post by slug; with a key with presse:write also by id, including drafts and all languages.
Domaine: presse:read
| Nom | Type | Obligation | Remarque |
|---|---|---|---|
ref | string | activé | slug oder Kennung (id) |
lang | string | désactivé |
clup_create_press_draftécriture
Creates a press release or news item as a DRAFT (platform keys only, only with the platform right Press). Press releases need texts in de and en.
Domaine: presse:write · Premium (clé d’organisation)
| Nom | Type | Obligation | Remarque |
|---|---|---|---|
kind | string | activé | PRESS_RELEASE | NEWS |
slug | string | activé | URL-Kennung: Kleinbuchstaben, Ziffern, Bindestriche |
texts | array | activé | |
coverImage | string | désactivé | |
coverCredit | string | désactivé |
clup_update_press_postécriture
Changes a post (replaces texts and attachments; all fields as when creating). Platform keys with the platform right Press only.
Domaine: presse:write · Premium (clé d’organisation)
| Nom | Type | Obligation | Remarque |
|---|---|---|---|
id | string | activé | |
kind | string | activé | PRESS_RELEASE | NEWS |
slug | string | activé | |
texts | array | activé | |
coverImage | string | désactivé | |
coverCredit | string | désactivé |
clup_publish_press_postécriture
Publishes a post IMMEDIATELY and publicly — only use when the person explicitly asks.
Domaine: presse:write · Premium (clé d’organisation)
| Nom | Type | Obligation | Remarque |
|---|---|---|---|
id | string | activé |
clup_schedule_press_postécriture
Schedules a post for a future time (embargo); the timer then publishes it.
Domaine: presse:write · Premium (clé d’organisation)
| Nom | Type | Obligation | Remarque |
|---|---|---|---|
id | string | activé | |
publishAt | string | activé | ISO 8601, z. B. 2026-11-01T08:00:00Z |
Version du protocole: 2025-03-26
Permissions and security#
- The assistant acts with the rights of the person who owns the key. Organizations that are not visible report “not found”.
- Responses are data, not instructions. The server says so in its
instructions. Check results before you act on post texts. - Write tools (
clup_create_*) are visible only with an organization key. Set them to “ask every time” in the client — especiallyclup_create_announcement, which notifies members. - Connect a dedicated, narrowly scoped key per assistant and revoke it when you no longer use the client.
- Note: what the assistant reads goes to the assistant’s provider. Give it only keys whose data you may send there (see data protection).
