forkable-mcp
Enables ordering and managing Forkable corporate lunches from any MCP client, including viewing menus, setting/skipping/confirming meals, and getting personalized recommendations.
README
forkable-mcp
Order and manage your Forkable corporate lunches from Claude, Cursor, or any MCP client. See your week, browse and search menus, get personalized picks, and set / skip / confirm meals ā all from chat.
[!WARNING] Unofficial, not affiliated with Forkable. It acts on your behalf using your own Forkable session. Use your own account, at your own risk.
Features
- š See upcoming deliveries ā status, cutoff, copay, and what's already picked
- š Track a delivery ā courier ETA, when it actually landed, and the office access notes
- š± Browse and search menus, and get personalized meal recommendations
- āļø Set, batch-set, remove, skip, and confirm meals ā every write is dry-run until you confirm it
- š¤ Runs over stdio (your client launches it); headless-friendly for agents
Quick start
Requires Bun 1.3+ (bunx runs it ā no clone needed).
1. Authenticate (imports your logged-in browser session on macOS; see Auth for other options)
bunx forkable-mcp@latest --auth --chrome
2. Add it to your MCP client
| Client | Add it |
|---|---|
| Claude Code | claude mcp add forkable -- bunx forkable-mcp@latest |
| Codex | codex mcp add forkable -- bunx forkable-mcp@latest |
| Claude Desktop / Cursor | add the JSON below to the config (under mcpServers) |
| VS Code | add the JSON below to .vscode/mcp.json (under servers) |
{
"mcpServers": {
"forkable": { "command": "bunx", "args": ["forkable-mcp@latest"] }
}
}
Then ask your client things like "what's for lunch this week?" or "set Tuesday to the chicken bowl."
From source instead?
git clone+bun install, authenticate withbun run auth --chrome, and point your client atbun run --cwd /path/to/forkable-mcp start.
Tools
| Tool | Does | |
|---|---|---|
| š | list_deliveries |
Your week: date, status, what's picked, whether it's still editable, copay |
| š | get_delivery_status |
Where lunch is: scheduled window, courier ETA, arrival time, tracking link, access notes |
| š± | get_menus |
Items for a delivery (pass itemId for one item's modifiers/options) |
| š | search_items |
Keyword search across a delivery's menus |
| ⨠| recommend_meals / explain_pick |
Personalized picks, and why the current meal was chosen |
| š¤ | get_profile |
The authenticated user |
| ā | set_meal / set_meal_all |
Set the meal for a day (or several days at once) |
| ā | remove_meal / skip_delivery |
Remove one meal by id, or decline a whole day |
| š | confirm_delivery |
Confirm (or unconfirm) a delivery |
Auth
There's no API key: the server reuses a real Forkable web session. Pick one of the four below. From a clone,
use bun run auth ⦠in place of bunx forkable-mcp@latest --auth ā¦.
Email + password
bunx forkable-mcp@latest --auth --login --email you@co.com --password 'ā¦'
# or set FORKABLE_EMAIL / FORKABLE_PASSWORD (+ FORKABLE_MFA), then: bunx forkable-mcp@latest --auth --login
The only method that survives expiry: on a 401 the server logs back in and retries. SSO-only accounts can't use it and fail fast with a message saying so. The cookie methods below cover those, but you have to re-run them whenever the session expires.
Import from your browser (macOS)
Log in at forkable.com, then pull the cookie out of the browser. Decrypting it needs your login Keychain, so approve the macOS prompt when it appears.
bunx forkable-mcp@latest --auth --chrome
bunx forkable-mcp@latest --auth --chrome --browser arc # brave, edge, vivaldi, opera, chromium,
# chrome-beta, chrome-dev, chrome-canary
Every profile is searched and the most recently used Forkable session wins; the CLI prints which one
it picked. Pin a specific profile with its directory name, not its display name:
--profile "Profile 1".
Copy as cURL
"Copy as cURL" is a DevTools command: right-click a request in the Network tab, pick Copy ā Copy as
cURL, and DevTools puts that entire request on your clipboard as a runnable curl ā URL, body, and
every header, cookie included. Paste the whole thing; only the cookie: header is read.
- forkable.com ā DevTools (<kbd>ā„āI</kbd> / <kbd>F12</kbd>) ā Network, reload the page.
- Filter for
graphql, right-click aPOST https://forkable.com/api/v2/graphqlrow ā Copy ā Copy as cURL. Use a GraphQL request, since those are authenticated calls and always carry the session. (Windows:Copy as cURL (bash). Firefox:Copy Value ā Copy as cURL.) pbpaste | bunx forkable-mcp@latest --auth, or save it and use--file ./forkable.curl.
What lands on your clipboard, truncated:
curl 'https://forkable.com/api/v2/graphql' \
-H 'accept: application/json' \
-H 'x-csrf-token: ā¦' \
-H 'cookie: _easyorder_session=abc123ā¦; _ga=GA1.2ā¦' \
--data-raw '{"query":"ā¦"}'
Paste the cookie header
Same idea, one header instead of the whole blob. Useful on Linux/Windows, or when the browser import
can't find your profile. Follow steps 1ā2 above, but click the request instead of right-clicking it,
then copy the whole cookie: value under Headers ā Request Headers. It's a long
name=value; name=value; ⦠string and must contain _easyorder_session.
FORKABLE_COOKIE='_easyorder_session=ā¦; other=ā¦' bunx forkable-mcp@latest --auth
The session is stored at ~/.forkable-mcp/session.json (mode 0600) and is never logged.
Configuration
All settings are environment variables (.env is auto-loaded by Bun ā see .env.example). Everything
is optional; with none set you authenticate interactively and there's no spend cap.
| Variable | Default | Description |
|---|---|---|
FORKABLE_EMAIL |
ā | Email for headless password login. With FORKABLE_PASSWORD, also enables auto-relogin when the session expires. |
FORKABLE_PASSWORD |
ā | Password for headless login (pair with FORKABLE_EMAIL). |
FORKABLE_MFA |
ā | MFA code, if your account requires one for password login. |
FORKABLE_COOKIE |
ā | Headless auth for SSO-only accounts: a full forkable.com Cookie header (see Auth). Provisioned on startup if no session exists. |
FORKABLE_CSRF |
ā | Pin a CSRF token instead of the auto-fetched one (rarely needed). |
FORKABLE_MAX_TOTAL |
ā | Hard spend cap in dollars: a write whose total exceeds it is refused (no confirm-token). Unset = no cap; the preview just notes when a meal is over your company's daily coverage. |
FORKABLE_WRITE_SECRET |
per-install | HMAC key for write confirm-tokens. Auto-generated and stored in the session file if unset; set it to pin one across machines. |
FORKABLE_MCP_HOME |
~/.forkable-mcp |
Directory for the on-disk session (mode 0600). |
Development
bun test # unit tests
bun run test:tz # same suite under a non-UTC zone (date formatting must be host-independent)
bun run check # lint + format + typecheck + both test runs
License
MIT Ā© Colin D'Souza
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.