MCP servers
Flynet ships two MCP servers. They do different jobs and run side by side:- Docs MCP — your agent searches the live Flynet docs while it works. Hosted by Mintlify, zero setup, no credentials.
- API MCP — an npm package your agent runs locally to call the Flynet API through read-only tools, with your own credentials. Nothing to host.
Docs MCP
The docs site hosts its own MCP server, so any MCP-aware agent can search Flynet’s documentation in real time instead of working from a stale copy. There’s nothing to deploy and no key to manage.- Claude Code
- Cursor
- Claude Desktop
API MCP
The API MCP is a published npm package,@flynetdev/mcp — there’s no server to connect to and nothing to host. Your MCP client runs it locally with npx, and you supply your own credentials in the client’s config, so no secrets leave your machine.
It gives your agent 9 read-only tools that call Flynet directly — fetch a restaurant, list venues, or read the signed-in member’s wallets while it reasons, instead of writing throwaway fetch() code. It wraps @flynetdev/core, the same client you’d use in production.
Credentials
Flynet has two auth schemes, so the package takes two credentials and routes each tool to the right one. Provide whichever surfaces you’ll use:| Credential | Env var | Tools it unlocks |
|---|---|---|
| API key | FLYNET_API_KEY | Restaurants, locations |
| OAuth access token | FLYNET_ACCESS_TOKEN | Profile, wallets, check-ins, memberships |
Install
- Claude Code
- Cursor
- Claude Desktop
Tools
Every tool is read-only. List tools are paginated and return trimmed fields; passinclude_raw: true for the full object.
| Tool | Does | Credential |
|---|---|---|
list_restaurants | List restaurants in the network | API key |
get_restaurant | Fetch one restaurant by id | API key |
list_locations | List venue locations | API key |
get_location | Fetch one location, with open hours | API key |
get_my_profile | The signed-in member’s profile and status | Access token |
get_my_wallets | The member’s wallets and balance | Access token |
list_my_check_ins | The member’s own check-ins | Access token |
list_check_ins | A venue’s recent check-ins (anonymized) | Access token |
list_my_memberships | The member’s per-restaurant memberships | Access token |