From bcc11cb07efaae5b2dfb0f3957552a7d9e8183a2 Mon Sep 17 00:00:00 2001 From: Matthias Hinrichs Date: Tue, 12 May 2026 23:38:19 +0200 Subject: [PATCH] refactor: remove unused ContentBlock import from tool modules --- src/strava_mcp_server/tools/activities.py | 2 +- src/strava_mcp_server/tools/athlete.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/strava_mcp_server/tools/activities.py b/src/strava_mcp_server/tools/activities.py index eabd558..d0132f7 100644 --- a/src/strava_mcp_server/tools/activities.py +++ b/src/strava_mcp_server/tools/activities.py @@ -1,6 +1,6 @@ import json from mcp.server.fastmcp import FastMCP, Context -from mcp.types import ContentBlock, TextContent, Annotations, EmbeddedResource, TextResourceContents +from mcp.types import TextContent, Annotations, EmbeddedResource, TextResourceContents from strava_mcp_server.strava_client import StravaClient from strava_mcp_server.utils import parse_iso_to_unix, format_date_iso, format_date_human diff --git a/src/strava_mcp_server/tools/athlete.py b/src/strava_mcp_server/tools/athlete.py index 67d4dde..1e9fc4f 100644 --- a/src/strava_mcp_server/tools/athlete.py +++ b/src/strava_mcp_server/tools/athlete.py @@ -1,6 +1,6 @@ import json from mcp.server.fastmcp import FastMCP, Context -from mcp.types import ContentBlock, TextContent, Annotations, EmbeddedResource, TextResourceContents +from mcp.types import TextContent, Annotations, EmbeddedResource, TextResourceContents from strava_mcp_server.strava_client import StravaClient from strava_mcp_server.utils import format_date_iso, format_date_human