get-server-version
Check the Strava MCP server version and metadata to verify compatibility and access fitness data integration features.
Instructions
Returns the Strava MCP server version and related metadata.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get-server-version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/getServerVersion.ts:3-18 (handler)The handler implementation of the 'get-server-version' tool.
export const getServerVersionTool = { name: "get-server-version", description: "Returns the Strava MCP server version and related metadata.", inputSchema: undefined, execute: async () => { const info = getServerInfo(); return { content: [ { type: "text" as const, text: JSON.stringify(info, null, 2), }, ], }; }, }; - src/server.ts:198-203 (registration)The registration of the 'get-server-version' tool in the server instance.
server.tool( getServerVersionTool.name, getServerVersionTool.description, {}, getServerVersionTool.execute );