Skip to main content
Glama

GitHub Remote MCP Server

by brentlaster
calculator.py220 B
from mcp import tool @tool def calculator(expression: str) -> str: try: result = eval(expression, {"__builtins__": {}}) return str(result) except Exception as e: return f"Error: {str(e)}"

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/brentlaster/agent-mcp-ollama'

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