Skip to main content
Glama
rpc.py791 B
from typing import Callable from .zeromcp import McpRpcRegistry, McpServer, McpToolError, McpHttpRequestHandler MCP_SERVER = McpServer("ida-pro-mcp") MCP_UNSAFE: set[str] = set() TESTS: dict[str, tuple[Callable, str]] = {} def test(expression: str = "") -> Callable[[Callable], Callable]: def decorator(func: Callable) -> Callable: TESTS[func.__name__] = (func, expression) return func return decorator def tool(func): return MCP_SERVER.tool(func) def resource(uri): return MCP_SERVER.resource(uri) def unsafe(func): MCP_UNSAFE.add(func.__name__) return func __all__ = [ "McpRpcRegistry", "McpServer", "McpToolError", "McpHttpRequestHandler", "MCP_SERVER", "MCP_UNSAFE", "tool", "unsafe", "resource", ]

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/mrexodia/ida-pro-mcp'

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