Skip to main content
Glama
KrishnaPapana

MCP Server Deepdive

deeployment.py273 B
from mcp.server.fastmcp import FastMCP mcp = FastMCP("server") @mcp.tool() def add_two_numbers(a, b): """ Adds two numbers together. Args: a -- the first number b -- the second number Returns: The sum of a and b """ return a + b

Implementation Reference

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/KrishnaPapana/mcpserverexample'

If you have feedback or need assistance with the MCP directory API, please join our Discord server