Skip to main content
Glama

Generalized MCP Server

by sarptandoven
mcp_pb2.py1.94 kB
# generated by protoc-gen-python # source: proto/mcp.proto from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database _sym_db = _symbol_database.Default() DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0bproto/mcp.proto\x12\x03mcp"\x14\n\x12ListMethodsRequest"\x1c\n\x06Method\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x03doc\x18\x02 \x01(\t"\x1f\n\x13ListMethodsResponse\x12\x0c\n\x06methods\x18\x01 \x03(\x0b\x32\x0c.mcp.Method"\x1e\n\x0cInvokeRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x0bjson_args\x18\x02 \x01(\t"\x1f\n\rInvokeResponse\x12\x0e\n\x0cjson_result\x18\x01 \x01(\t"\x0e\n\x0cHealthRequest"\x1a\n\x0eAdapterStatus\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x02ok\x18\x02 \x01(\x08\x12\x0e\n\x06detail\x18\x03 \x01(\t"\x1f\n\rHealthResponse\x12\x0e\n\x08adapters\x18\x01 \x03(\x0b\x32\x0c.mcp.AdapterStatus2\x8a\x01\n\x11ModelControlPlane\x12\x1a\n\x0bListMethods\x12\x17.mcp.ListMethodsRequest\x1a\x18.mcp.ListMethodsResponse"\x00\x12\x1a\n\x06Invoke\x12\x11.mcp.InvokeRequest\x1a\x12.mcp.InvokeResponse"\x00\x12\x1a\n\x0bHealthCheck\x12\x11.mcp.HealthRequest\x1a\x12.mcp.HealthResponse"\x00') # message classes class ListMethodsRequest: pass class Method: def __init__(self): self.name = "" self.doc = "" class ListMethodsResponse: def __init__(self): self.methods = [] class InvokeRequest: def __init__(self): self.fq_name = "" self.json_args = "" class InvokeResponse: def __init__(self): self.json_result = "" class HealthRequest: pass class AdapterStatus: def __init__(self): self.name = "" self.ok = False self.detail = "" class HealthResponse: def __init__(self): self.adapters = []

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/sarptandoven/generalized-mcp-converter'

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