Skip to main content
Glama
mvilanova

Intervals.icu MCP Server

by mvilanova
__init__.py1.65 kB
""" MCP tools registry for Intervals.icu MCP Server. This module registers all available MCP tools with the FastMCP server instance. """ from mcp.server.fastmcp import FastMCP # pylint: disable=import-error # Import all tools for re-export # Note: Tools register themselves via @mcp.tool() decorators when imported from intervals_mcp_server.tools.activities import ( # noqa: F401 get_activities, get_activity_details, get_activity_intervals, get_activity_streams, ) from intervals_mcp_server.tools.events import ( # noqa: F401 add_or_update_event, delete_event, delete_events_by_date_range, get_event_by_id, get_events, ) from intervals_mcp_server.tools.wellness import get_wellness_data # noqa: F401 def register_tools(mcp_instance: FastMCP) -> None: """ Register all MCP tools with the FastMCP server instance. This function imports all tool modules, which causes their @mcp.tool() decorators to register the tools. The tools need access to the mcp instance, so they will be imported after the mcp instance is created. Args: mcp_instance (FastMCP): The FastMCP server instance to register tools with. """ # Tools are registered via decorators when modules are imported above # The mcp_instance parameter is kept for future use if needed _ = mcp_instance __all__ = [ "register_tools", "get_activities", "get_activity_details", "get_activity_intervals", "get_activity_streams", "get_events", "get_event_by_id", "delete_event", "delete_events_by_date_range", "add_or_update_event", "get_wellness_data", ]

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/mvilanova/intervals-mcp-server'

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