Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Fix indentation

Jeremiah Lowin424978397b1e
diff --git a/tests/server/test_server.py b/tests/server/test_server.py
index 2f64b447c..6292640a1 100644
--- a/tests/server/test_server.py
+++ b/tests/server/test_server.py
@@ -264,9 +264,9 @@ class TestToolDecorator:
"""Test that the recommended decorator order works for static methods"""
mcp = FastMCP()
- class MyClass:
+ class MyClass:
+ @mcp.tool
@staticmethod
- @mcp.tool
def add_v1(x: int, y: int) -> int:
return x + y