Skip to main content
Glama

Character Counter MCP Server

calculator.py358 B
from .base import BaseTool class CalculatorTool(BaseTool): def register_tools(self): @self.mcp.tool() def add(a: int, b: int) -> int: """Add two numbers.""" return a + b @self.mcp.tool() def multiply(a: int, b: int) -> int: """Multiply two numbers.""" return a * b

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/miguelgarzons/mcp-cun'

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