Remote server, Streamable HTTP
Use Forkmate in Cline
Cline connects to remote MCP servers over Streamable HTTP. Its Remote Servers form has no field for a header, so add Forkmate in the settings file with your key.
Needs a key. Cline runs on your computer, so it connects with a personal key instead of a sign-in. Make a key in Forkmate · How keys work
No Forkmate account yet? Create one free first. It takes under a minute. You make your key there.
I had two eggs and toast for breakfast.
Logged. Want me to total today so far?
Set up Forkmate in Cline
https://mcp.forkmate.ai/- Make a keyIn Forkmate, open Settings → Keys for local apps (
https://app.forkmate.ai/#keys), name the key after Cline, pick when it expires and click Make key. Copy it: Forkmate shows it once. How keys work: forkmate.ai/connect/keys/. - Open the MCP settingsClick the MCP Servers icon in Cline, then Configure → Configure MCP Servers. That opens cline_mcp_settings.json.
- Add ForkmateAdd the forkmate entry below to mcpServers, with your key in place of fmk_your_key_here, and save.
- Give your OK onceThe first time you log, Forkmate asks once for your OK to store your food diary. Agree the way it asks, in the chat or through the link it gives you to agree on the web, then log the meal again if it wasn’t saved.
- Log your first mealIn Cline, say “I had two eggs and toast for breakfast.” It logs the meal with calories and macros to your Forkmate diary.
cline_mcp_settings.json
{
"mcpServers": {
"forkmate": {
"type": "streamableHttp",
"url": "https://mcp.forkmate.ai/",
"headers": {
"Authorization": "Bearer fmk_your_key_here"
},
"disabled": false
}
}
}Set type explicitly: without it Cline falls back to the older SSE transport.
What you need
- A free Forkmate account (sign up). There is no paid plan.
- The Remote Servers tab asks only for a name, URL and transport, so the header goes in the JSON.
Checked against these sources: Cline docs: remote servers, Cline docs: MCP overview. Cline changes its menus often; if yours looks different, trust what it shows.
What to say first
Talk to Cline the way you’d tell a friend:
- “I had two eggs and toast for breakfast.”
- “How many calories have I had today?”
- “Make the toast two slices.”
- “What did I eat this week?”
It logs the meal with calories, protein, carbs and fat to your diary at app.forkmate.ai.
Good to know in Cline
- The CLI keeps its servers in ~/.cline/data/settings/cline_mcp_settings.json.
If something goes wrong in Cline
- Timeout errors
- Raise the MCP timeout in Cline’s MCP settings.
Checked against Cline docs: MCP overview.
Forkmate shortcuts
Forkmate comes with ready-made requests for the everyday jobs: log a meal, fix the last entry, see what’s left today, log your usual, hit your protein, a weekly check-in. We haven’t found MCP shortcuts (prompts) in Cline’s menus or documentation, so type or paste the request instead.
- Log a meal (log-meal)
“Log this to my Forkmate diary: two eggs and toast with butter” - Fix my last entry (fix-last-entry)
“Fix the last thing I logged in Forkmate: it was 2 eggs, not 3” - What's left today (today-so-far)
“Show me today so far in Forkmate: my calories, protein, carbs and fat.” - Log my usual (log-my-usual)
“Log my usual breakfast to Forkmate.” - Hit my protein today (hit-protein)
“How much protein have I had today in Forkmate, and how far am I from my target of 120 g? Suggest a few foods for my remaining meals and snacks that would close the gap, using my food profile and the foods I usually eat.” - Weekly check-in (week-review)
“Give me a check-in on my last 7 days in Forkmate (get_range): calories, protein, carbs and fat per day and on average, how many days I logged, and the foods I ate most.” - Move my MyFitnessPal history (import-myfitnesspal)
“How do I move my food diary history from MyFitnessPal to Forkmate? Walk me through exporting my data for free and importing it with the guided importer described at https://forkmate.ai/migrate-from-myfitnesspal/. Don't log anything yet.” - Give Forkmate feedback (give-feedback)
“I'd like to send feedback to Forkmate. Here is what I want to say, in my own words: "the oatmeal said 900 calories for one bowl" 1. If it isn't clear yet, ask me what it is about: a bug, a feature I'd like, a food or nutrition figure that looked wrong (or a food that was matched wrongly), or something else. 2. If something important is missing (for a wrong figure: which food and what looked wrong), ask me, and add my answer in my own words. 3. Show me the note exactly as it will be sent, with its category, and wait for me to confirm. Use my words, not a summary or a rewrite. Leave out health details I didn't ask to include. 4. Once I confirm, send it with send_feedback: `message` is my words (at most 4000 characters) and `category` is one of `bug`, `feature_request`, `food_data`, `other` (`food_data` for a wrong food or figure). 5. Then just tell me it was sent. Sending it changes nothing in my diary; if I also want a logged meal fixed, help me with that separately.”
Shortcut or not, Forkmate sends Cline the same logging rules when it connects: log your own words, keep your amounts, and look foods up before estimating.
Start logging from Cline
Create your free account, connect once, and your next meal is one sentence away. No card, no paid plan.