We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sakthigcp/mcpserverexample'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
deployment.py•192 B
from mcp.server.fastmcp import FastMCP
mcp = FastMCP("Demo")
@mcp.tool()
def add(a: int, b: int) -> int:
"""
Adds two numbers a and b and returns the result!
"""
return a + b