Skip to main content
Glama

MyFitnessPal MCP Server

utils.py353 B
from fastmcp.tools.tool import ToolResult from mcp.types import TextContent def text_response(text: str) -> ToolResult: """Return raw text as a ToolResult without JSON wrapping overhead.""" return ToolResult( content=[TextContent(type="text", text=text)], structured_content=None # Explicitly disable structured content )

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/ai-mcp-garage/mcp-myfitnesspal'

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