π The fast, Pythonic way to build MCP servers and clients.
[Doc]: fixing spelling issues in multiple files
Didier Durand96280b3d2cab
diff --git a/docs/integrations/eunomia-authorization.mdx b/docs/integrations/eunomia-authorization.mdxindex bccfbccdb..2fd2ca4a5 100644--- a/docs/integrations/eunomia-authorization.mdx+++ b/docs/integrations/eunomia-authorization.mdx@@ -11,7 +11,7 @@ Control which tools, resources and prompts MCP clients can view and execute on y## How it Works-Exploiting FastMCP's [Middleware][fastmcp-middleare], the Eunomia middleware intercepts all MCP requests to your server and automatically maps MCP methods to authorization checks.+Exploiting FastMCP's [Middleware][fastmcp-middleware], the Eunomia middleware intercepts all MCP requests to your server and automatically maps MCP methods to authorization checks.### Listing Operations@@ -126,4 +126,4 @@ The middleware will now intercept all MCP requests and check them against your p[eunomia-github]: https://github.com/whataboutyou-ai/eunomia[eunomia-mcp-github]: https://github.com/whataboutyou-ai/eunomia/tree/main/pkgs/extensions/mcp-[fastmcp-middleare]: /servers/middleware+[fastmcp-middleware]: /servers/middlewarediff --git a/docs/v2/integrations/eunomia-authorization.mdx b/docs/v2/integrations/eunomia-authorization.mdxindex bccfbccdb..2fd2ca4a5 100644--- a/docs/v2/integrations/eunomia-authorization.mdx+++ b/docs/v2/integrations/eunomia-authorization.mdx@@ -11,7 +11,7 @@ Control which tools, resources and prompts MCP clients can view and execute on y## How it Works-Exploiting FastMCP's [Middleware][fastmcp-middleare], the Eunomia middleware intercepts all MCP requests to your server and automatically maps MCP methods to authorization checks.+Exploiting FastMCP's [Middleware][fastmcp-middleware], the Eunomia middleware intercepts all MCP requests to your server and automatically maps MCP methods to authorization checks.### Listing Operations@@ -126,4 +126,4 @@ The middleware will now intercept all MCP requests and check them against your p[eunomia-github]: https://github.com/whataboutyou-ai/eunomia[eunomia-mcp-github]: https://github.com/whataboutyou-ai/eunomia/tree/main/pkgs/extensions/mcp-[fastmcp-middleare]: /servers/middleware+[fastmcp-middleware]: /servers/middlewarediff --git a/examples/atproto_mcp/README.md b/examples/atproto_mcp/README.mdindex 5d83d97bf..83114359b 100644--- a/examples/atproto_mcp/README.md+++ b/examples/atproto_mcp/README.md@@ -13,7 +13,7 @@ This example demonstrates a FastMCP server that provides tools and resources for### Tools (Actions)- **post**: Create posts with rich features (text, images, quotes, replies, links, mentions)-- **create_thread**: Post multi-part threads with automatic linking+- **create_thread**: Post multipart threads with automatic linking- **search**: Search for posts by query- **follow**: Follow users by handle- **like**: Like posts by URIdiff --git a/examples/sampling/structured_output.py b/examples/sampling/structured_output.pyindex a866d6610..fa7afe7ad 100644--- a/examples/sampling/structured_output.py+++ b/examples/sampling/structured_output.py@@ -39,7 +39,7 @@ class LoggingAnthropicHandler(AnthropicSamplingHandler):class SentimentAnalysis(BaseModel):sentiment: str # "positive", "negative", or "neutral"confidence: float # 0.0 to 1.0- keywords: list[str] # Key words that influenced the analysis+ keywords: list[str] # Keywords that influenced the analysisexplanation: str # Brief explanation of the analysisdiff --git a/examples/sampling/tool_use.py b/examples/sampling/tool_use.pyindex e745feae8..e7869a16c 100644--- a/examples/sampling/tool_use.py+++ b/examples/sampling/tool_use.py@@ -58,7 +58,7 @@ def get_current_time() -> str:def roll_dice(sides: int = 6) -> str:- """Roll a dice with the specified number of sides."""+ """Roll a die with the specified number of sides."""result = random.randint(1, sides)console.print(f" [bold magenta]TOOL[/] roll_dice({sides}) = {result}")return str(result)diff --git a/src/fastmcp/client/transports/config.py b/src/fastmcp/client/transports/config.pyindex 084ef474d..5f303567d 100644--- a/src/fastmcp/client/transports/config.py+++ b/src/fastmcp/client/transports/config.py@@ -29,7 +29,7 @@ class MCPConfigTransport(ClientTransport):2. If the MCPConfig contains multiple servers, it creates a composite client by mountingall servers on a single FastMCP instance, with each server's name, by default, used as its mounting prefix.- In the multi-server case, tools are accessible with the prefix pattern `{server_name}_{tool_name}`+ In the multiserver case, tools are accessible with the prefix pattern `{server_name}_{tool_name}`and resources with the pattern `protocol://{server_name}/path/to/resource`.This is particularly useful for creating clients that need to interact with multiple specializeddiff --git a/src/fastmcp/utilities/cli.py b/src/fastmcp/utilities/cli.pyindex bacc474f7..51b6007a6 100644--- a/src/fastmcp/utilities/cli.py+++ b/src/fastmcp/utilities/cli.py@@ -167,7 +167,7 @@ LOGO_ASCII_2 = ("\x1b[38;2;0;120;255mβ\x1b[38;2;0;117;255mβ\x1b[38;2;0;114;255mβ\x1b[39m").strip()-# Prints the below in a blue gradient - sylized F+# Prints the below in a blue gradient - stylized F# ββββ# βββ# βdiff --git a/tests/client/client/test_client.py b/tests/client/client/test_client.pyindex ae9e39c8d..e96f5535b 100644--- a/tests/client/client/test_client.py+++ b/tests/client/client/test_client.py@@ -93,7 +93,7 @@ async def test_call_tool_with_meta():assert context.request_context is not Nonemeta = context.request_context.meta- # Return the meta data as a dict+ # Return the metadata as a dictif meta is not None:return {"has_meta": True,diff --git a/tests/tools/tool/test_callable.py b/tests/tools/tool/test_callable.pyindex 02228431c..cffe8ab42 100644--- a/tests/tools/tool/test_callable.py+++ b/tests/tools/tool/test_callable.py@@ -47,7 +47,7 @@ class TestSyncToolConcurrency:Uses a threading barrier to prove concurrent execution: all calls mustreach the barrier simultaneously for any to proceed. If they ran- sequentially, only one would reach the barrier and it would timeout.+ sequentially, only one would reach the barrier and it would time out."""num_calls = 3# Barrier requires all threads to arrive before any proceed