BeeMCP has no database, so your own copy is just a Netlify site, one Beeminder app and two environment variables. It takes about ten minutes and fits in Netlify's free plan.
Type it once you know it (after step 1). Every URL on this page updates to match; until then they show this example. Nothing is sent anywhere.
You'll need:
Do this first. The Beeminder app needs your site's address, and you only get that once the site exists.
netlify.toml sets the rest.https://name.netlify.app.The site is up, but sign-in won't work until you finish steps 2 and 3.
Copy the site address into the box at the top of this page.
bee.example.com? Set it up in Netlify now, before step 2, and use it everywhere below. See Custom domains.This is what users approve on beeminder.com. BeeMCP uses Beeminder's client-side OAuth flow, so it only needs the app's ID, never the secret.
| Field | Value |
|---|---|
| Application name | Anything, e.g. My BeeMCP. Beeminder shows it on its approval screen. |
| Redirect URL | https://my-beemcp.netlify.app/oauth/callbackMust match your site address exactly: https, no trailing slash, same hostname you'll connect with. |
| Post de-authorization callback URL | https://my-beemcp.netlify.app/oauth/deauthorizeBeeminder calls it when someone revokes the app. BeeMCP only logs it, since there's nothing stored to delete. |
| Autofetch callback URL | Leave empty. BeeMCP doesn't provide autodata. |
In Netlify, open Site configuration → Environment variables → Add a variable. Add these with the Functions scope, the same value for all deploy contexts:
| Variable | What to put |
|---|---|
BEEMINDER_CLIENT_IDrequired | The client ID from step 2. Stray spaces are trimmed. Without it, sign-in stops with "Server is not configured (BEEMINDER_CLIENT_ID)". |
TOKEN_SECRETrequired | A long random string, at least 32 characters. Use the one generated below and tick Contains secret values in Netlify. This key encrypts every token BeeMCP hands out, so keep it private and don't reuse it elsewhere. |
PUBLIC_BASE_URLoptional | Your public address, e.g. https://my-beemcp.netlify.app, without a trailing slash. Normally BeeMCP uses whatever hostname a request arrived on. Set this when the site answers on several hostnames (custom domain plus .netlify.app) so the OAuth metadata and Beeminder redirect always use the one you registered. |
BEEMINDER_API_BASEoptional | Don't set this in production. Default: https://www.beeminder.com/api/v1. It exists so the tests can point BeeMCP at a fake Beeminder. |
TOKEN_SECRETHere's a fresh one: 64 random hex characters, made in your browser with crypto.getRandomValues. It's never sent anywhere. Copy it into Netlify.
generating… · Or, in a terminal: openssl rand -hex 32
Prefer the command line? With the Netlify CLI linked to your site:
netlify env:set BEEMINDER_CLIENT_ID "your-client-id"
netlify env:set TOKEN_SECRET "$(openssl rand -hex 32)" --secretTOKEN_SECRET signs everyone out. Every token already handed to Claude becomes unreadable, and users have to reconnect. That's also your emergency switch if you think the secret leaked.Environment variables only reach functions on the next deploy. Go to Deploys → Trigger deploy → Deploy site.
Open the OAuth metadata in a browser, or run:
curl https://my-beemcp.netlify.app/.well-known/oauth-authorization-serverYou should get JSON whose issuer is exactly https://my-beemcp.netlify.app, with authorization_endpoint and token_endpoint on the same host. If the issuer shows a different hostname, set PUBLIC_BASE_URL.
Then add the connector in Claude (Settings → Connectors → Add custom connector) with:
https://my-beemcp.netlify.app/mcpYou should see BeeMCP's approval page, then Beeminder's, with the application name you chose in step 2. If something breaks, check Logs → Functions → oauth in Netlify. Each sign-in step logs one line (consent_shown, beeminder_authorized, token_issued…), and the failing step names its reason. Tokens and secrets never appear in these logs.
PUBLIC_BASE_URL to https:// plus the new domain, then redeploy./mcp URL. Existing connections keep working because tokens don't depend on the hostname. They only depend on TOKEN_SECRET.On GitHub, use Sync fork on your fork to pull in upstream changes. Netlify redeploys automatically when main changes, and your environment variables carry over. Before changing the code yourself, run the tests:
npm install
npm run typecheck
npm test # full sign-in and every tool, against a fake BeeminderThe variable is missing, or you haven't redeployed since adding it. Check that its scope includes Functions, then trigger a new deploy.
TOKEN_SECRET is missing or shorter than 32 characters. Use the generator in step 3, then redeploy.
The Beeminder app's redirect URL doesn't exactly match https://my-beemcp.netlify.app/oauth/callback. Look for a different hostname, http instead of https, or a trailing slash. If you use a custom domain, set PUBLIC_BASE_URL as well.
Beeminder only redirects to the single URL registered on the app. Pick one address, register it, set PUBLIC_BASE_URL to it, and connect only through that address. Deploy previews and branch deploys can't sign in for the same reason.
More than 10 minutes passed between BeeMCP's approval page and Beeminder's, or the browser blocked BeeMCP's cookie. Start the connection again from Claude.
Most likely TOKEN_SECRET changed. That includes setting a different value per deploy context, or deleting and recreating the variable. Use one stable value.