Skip to main content
Glama
delize

MyFitnessPal MCP Server

by delize

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoBind address for HTTP mode (default 127.0.0.1, 0.0.0.0 in Docker)127.0.0.1
MCP_PORTNoPort for HTTP mode (default 8000)8000
MCP_TRANSPORTNoTransport: stdio or streamable-http (default stdio, streamable-http in Docker)stdio
MCP_RESOURCE_URLNoExact public URL clients use (e.g. https://mfp.example.com); required with passcode
MFP_COOKIES_FILENoPath to JSON cookies file in format {"cookies": {name: value}} or plain {name: value}
MCP_ALLOWED_HOSTSNoComma-separated allowed Host headers for reverse proxy (optional, enables DNS-rebinding protection)
MCP_OAUTH_PASSCODENoShared passcode for OAuth login page (omit for unauthenticated LAN-only use)
MFP_FIREFOX_PROFILE_DIRNoPath to Firefox profile directory containing cookies.sqlite with a logged-in MFP session (default /profile in Docker)

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/delize/myfitness-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server