feat: Initial commit

This commit is contained in:
2026-03-16 14:12:06 +01:00
parent 33b1e3747c
commit 156727e689
11 changed files with 522 additions and 0 deletions

21
tests/fixtures/math_server.py vendored Normal file
View File

@@ -0,0 +1,21 @@
"""Simple MCP server used for testing: numeric tools."""
from mcp.server.fastmcp import FastMCP
mcp = FastMCP("math")
@mcp.tool()
def add(a: int, b: int) -> int:
"""Return the sum of a and b."""
return a + b
@mcp.tool()
def multiply(a: int, b: int) -> int:
"""Return the product of a and b."""
return a * b
if __name__ == "__main__":
mcp.run("stdio")