partiful-mcp
This server allows AI agents to interact with the Partiful event platform with the following capabilities:
Get all your events (
get_my_events): Retrieve all events you've been invited to, RSVPed to, or are hosting, including upcoming, past, saved, followed, and discoverable (open-invite) events.Get a specific event (
get_event): Fetch full details for a particular event by ID, including title, dates, location, guest list, comments, media, RSVP status, permissions, host messages, and ticketing eligibility.Get hosted events (
get_hosted_events): Retrieve all events you are hosting, including pending cohost requests, promo codes, ticket types, and discover status.Get mutual connections (
get_mutuals): View people you've attended the same events with.Look up user profiles (
get_users): Fetch Partiful user profiles by ID, returning name, display name, username, and profile image.Access contacts and communities: Retrieve your contact list, communities, and created digital cards.
Mark notifications as read: Mark all notifications for a specific event as read (the one available write action).
Click on "Install 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., "@partiful-mcpshow my upcoming events"
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.
partiful-mcp
An MCP server that gives AI agents access to the Partiful API. View your events, RSVPs, hosted events, mutual connections, and user profiles — all from your AI assistant.
Note: This is an unofficial, community-built tool. It is not affiliated with or endorsed by Partiful.
Quick Start
Add to your MCP client config (Claude Code, Cursor, Windsurf, etc.):
{
"mcpServers": {
"partiful": {
"command": "npx",
"args": ["-y", "partiful-mcp"],
"env": {
"PARTIFUL_REFRESH_TOKEN": "<your-refresh-token>"
}
}
}
}Related MCP server: palate-mcp-server
Getting Your Refresh Token
Log in to partiful.com in Chrome
Open DevTools (
Cmd+Opt+I/Ctrl+Shift+I)Go to Application → IndexedDB → firebaseLocalStorageDb → firebaseLocalStorage
Click the entry — expand
value→stsTokenManager→ copy therefreshTokenvalue
Available Tools
Tool names mirror their underlying Partiful API route (snake_case of the route name) rather than an invented name, so the tool you call and the endpoint it hits are always obviously the same thing — see "Verifying or discovering an endpoint" below for how that's kept honest.
Tool | Description |
| All events you've been invited to or RSVPed to |
| Events you're hosting |
| Your upcoming events (home page 'Upcoming' view) |
| Your past events (home page 'All past events' tab) |
| Open-invite events (home page 'Open invite' tab) |
| Your saved/bookmarked events |
| Events you're following |
| Full details for a specific event by ID (works for any viewable event, not just ones you've RSVPed to) |
| Full guest list for an event |
| Guests you have in common with a specific event |
| Comments/discussion on an event |
| Photos and media uploaded to an event |
| Restrictions (age, capacity, etc.) for an event |
| Current user's permissions for an event |
| Host messages displayed on an event page |
| Whether an event supports ticketing |
| Pending cohost invitation for an event, if any |
| Promo codes for a hosted event |
| Ticket types/tiers for a hosted event |
| Partiful's ticketing fee configuration for an event (or the platform default) |
| All tickets sold for a hosted, ticketed event |
| Tickets sold for one ticket type on a hosted event |
| Ticket payment history for a specific guest on a hosted event |
| Host payout summary for a ticketed event |
| Whether an event is listed on explore/discover |
| Discover-page info (region, sections, tags) for an event |
| Host-side discover-page curation settings for an event |
| Events where you've been asked to cohost |
| Restrictions across all your events |
| Contacts that can be invited to an event |
| Your mutual connections |
| Your followers |
| Who you follow |
| Look up user profiles by ID |
| Party stats (events attended, hosted) for user profiles |
| Your contact list |
| Communities you belong to |
| Digital cards you've created |
| Your most recent RSVP questionnaire answers |
| Decorators for explore page event cards (badges like 'friends going', trending, etc.) |
| Mark all notifications for an event as read (write action) |
Field Selection
Every tool accepts an optional fields parameter — an array of dot-path strings specifying which fields to include in the response. When omitted, the full response is returned.
{
"name": "get_my_rsvps",
"arguments": {
"fields": ["events.title", "events.startDate", "events.location.name"]
}
}This is useful for keeping responses concise when you only need a few fields from a large payload. The available field paths for each tool are listed in the fields parameter description at registration time. Invalid paths produce a clear error listing valid options.
Nested paths use dot notation (e.g. events.location.name). Selecting a parent object returns it with all its children; selecting a leaf returns only that leaf.
Agent Usage Notes
This section is for the AI agent/LLM calling this server through an MCP client — not for the human setting it up.
Which "get events" tool to use
Seven tools return different event lists. Pick the one that matches the user's intent:
User intent | Tool |
"What have I RSVPed to / been invited to?" (richest event data overall) |
|
"What am I hosting?" |
|
"What's on my schedule coming up?" / "this weekend" |
|
"What events have I already been to?" |
|
"What's open to join / discover?" (not necessarily invited) |
|
"What have I bookmarked/saved?" |
|
"What events am I following?" |
|
get_my_rsvps is the broadest and most detail-rich source of events the user is already connected to; the others are narrower, home-page-tab-specific views — reach for those only when the user's phrasing matches that specific tab (upcoming, past, open invite, saved, followed).
get_event_info vs the event-list tools
get_event_info fetches a single event by ID and works for any viewable event — not just ones the user has been invited to or RSVPed to, unlike every tool in the table above. The trade-off: its response has no per-user RSVP/guest status field, since it's not scoped to the current user's relationship to the event. If you need the current user's own RSVP status for an event, pull it from get_my_rsvps (or another list tool) instead.
get_mutuals vs get_mutual_guests
get_mutuals— the current user's mutual connections in general (people they've been at events with in common), not scoped to any one event.get_mutual_guests— mutual connections scoped to one specific event's guest list, i.e. "who do I know that's also going to this event."
Pick by whether the question is about one event or in general.
get_followers vs get_following
Not interchangeable: get_followers returns who follows the current user (as {users: [...]}, full profiles); get_following returns who the current user follows (as {userIds: [...]}, IDs only — pass them to get_users for profiles).
Three similarly-named discover-page tools
get_event_discover_status— is the event listed on explore/discover at all (a simple flag/status).get_event_discover_info— the region/sections/tags actually shown once listed.get_discover_curation_options— host-only settings controlling how the event can be listed (curation config, not the listing's current state).
get_users vs get_users_party_stats
Both take a list of user IDs and overlap in purpose:
get_users— full profile info (name, display name, username, profile image) for a batch of users; it also has party stats (events attended/hosted) baked into every response, so it's the right call when you need identity info, stats, or both.get_users_party_stats— returns only the attended/hosted counts, with no profile info. Use it only when profile details are already known and just the stats are needed.
In practice, prefer get_users unless you specifically want to avoid fetching profile data.
The only write tool: mark_all_notifications_for_event_as_read
Every tool in this server is a pure read with no side effects, except mark_all_notifications_for_event_as_read, which marks all notifications for an event as read on the user's real Partiful account. Call it only when the user's intent is clearly to mark notifications read — never speculatively, never "just in case," and never as a side effect of answering an unrelated question.
Host-only ticketing/payment tools
get_tickets_for_event, get_tickets_for_ticket_type, get_guest_payment_info, get_payout_summary_for_event, and get_discover_curation_options only work for events the current user hosts — Partiful returns a 403 otherwise. Their output schemas are intentionally loose (z.looseObject({})): the live test account used during development doesn't host any ticketed events, so the exact response shape for these five is unconfirmed beyond the request succeeding. Tighten the schema for one of these if you get a real response and notice it's wrong.
Expected auth failure mode
If PARTIFUL_REFRESH_TOKEN is missing, malformed, expired, or revoked, the first tool call that needs a token will fail. Two shapes of error are possible:
Refresh itself fails: an error like
Token refresh failed: <message>(e.g. Google'sINVALID_REFRESH_TOKEN), orToken refresh failed: HTTP <status> <statusText>if the token endpoint request itself failed.Refresh succeeded earlier but the token is later rejected by the Partiful API (401/403): the client retries once with a fresh token automatically; if that retry also fails, the error surfaces as
Partiful API error: HTTP 401 Unauthorized on /<endpoint>(or 403).
Either error means the refresh token needs to be re-obtained — see "Getting Your Refresh Token" above. This is not a transient failure the agent should retry; it requires the human to get a new token.
How It Works
Partiful has no official API. This server talks to Partiful's actual
production backend — the same Firebase Cloud Functions the partiful.com web
app itself calls — reverse-engineered from its public JS bundles (see
docs/poc/partiful-api-notes.md for the discovery methodology and
docs/api-endpoints.md for the confirmed endpoint list). There's no sandbox
or test account to build against, so every endpoint here has been called at
least once against a real Partiful account.
A rough map of the source, for anyone extending this server:
src/index.ts— entry point: loads config, builds the API client and MCP server, connects to stdio.src/config.ts— resolvesPARTIFUL_REFRESH_TOKENetc. from env vars or~/.partiful-config.json.src/api/auth.ts— exchanges the refresh token for a short-lived Firebase access token via Google's token endpoint.src/api/client.ts— POSTs tohttps://api.partiful.com/<endpoint>, wraps/unwraps Partiful's request/response envelope, retries once on a 401/403 with a fresh token.src/schemas.ts— shared Zod schemas (event, user, guest, ...) reused across multiple tools'outputSchemas.src/define-tool.ts— theToolshape every file insrc/tools/exports, plus sane default MCP annotations (read-only, idempotent, etc.).src/tools/*.ts— one file per tool, each a thin mapping from an MCP tool call to one Partiful endpoint.src/server.tsauto-discovers every file in this directory at startup — dropping in a new tool module is all that's needed to register it, no manual wiring.src/server.ts— builds theMcpServer, registers discovered tools, adapts handler results/errors to the MCP protocol.
Every tool's request/response shape was pinned down by calling the real API
during development (see "Verifying or discovering an endpoint" below) and,
for most tools, is continuously re-verified against the live API by
src/__tests__/live.test.ts (see "Development"). Where a shape is marked
unconfirmed in a tool's description or in docs/api-endpoints.md, that's
because the live test account couldn't reach that code path (e.g. hosting a
ticketed event) — not a guess made without checking.
Configuration
Environment Variables (recommended for MCP)
Variable | Required | Description |
| Yes | Firebase refresh token |
| No | Defaults to Partiful's public key |
| No | Firebase UID — found in the same IndexedDB entry as the refresh token (the |
Config File (alternative)
The server also reads ~/.partiful-config.json:
{
"refresh_token": "<token>",
"firebase_api_key": "<key>",
"user_id": "<uid>"
}Environment variables take priority over the config file.
Development
npm test runs the mocked unit suite plus an opt-in live-integration suite
(src/__tests__/live.test.ts) that exercises the real Partiful API and
validates every tool's outputSchema against the live response. It's
skipped automatically unless PARTIFUL_REFRESH_TOKEN is set:
PARTIFUL_REFRESH_TOKEN=<your-refresh-token> npm testRun it after changing any outputSchema or endpoint-handling logic — it
catches schema drift (endpoints wrapping/naming their payloads differently
than assumed) that the mocked tests can't. Never commit a token; the suite
only reads it from the environment.
mark_all_notifications_for_event_as_read (the only write tool — see above) is deliberately
not in that suite, so it never runs unattended in the weekly CI job. It
has its own opt-in live test, src/__tests__/live-write.test.ts, which you
run yourself when you want to confirm it still works:
PARTIFUL_REFRESH_TOKEN=<your-refresh-token> PARTIFUL_LIVE_WRITE_TESTS=1 \
npx vitest run src/__tests__/live-write.test.tsBoth PARTIFUL_REFRESH_TOKEN and PARTIFUL_LIVE_WRITE_TESTS must be set —
the token alone isn't enough — since this test marks real notifications as
read on that token's account.
Verifying or discovering an endpoint
Before trusting a guessed endpoint name (or hunting for one that isn't in
docs/api-endpoints.md yet), grep Partiful's own public JS bundles rather
than guessing from naming convention — see "Static alternative: grep the
public JS bundle" in docs/poc/partiful-api-notes.md and run
docs/poc/discover-endpoints.sh. This is how the getHostedEvents →
getPublishedEvents and getInvitableContacts → getContactsFilteredByEvent
404s were found and fixed, and how every tool name in this server came to
match its real route — tool names are the snake_case of the route, not an
invented name (see "Available Tools" above).
The same pass surfaced a few endpoints that are confirmed real (they're
called via the fetch wrapper in the bundle) but whose exact param shape
couldn't be pinned down — every guess either 400'd, 500'd, or 404'd live.
Those are intentionally not wired up as tools; see "Confirmed real, but
not wired up" in docs/api-endpoints.md before attempting one, so you don't
redo the same failed guesses.
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mrh-is/partiful-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server