Skip to main content
Glama

Model Control Plane (MCP) Server

from langflow.custom import Component from langflow.io import StrInput, Output from langflow.schema import Data class MinimalComponent(Component): display_name = "Minimal Component" description = "A minimal component for testing" icon = "⚙️" category = "Tools" def build(self): self.add_input( StrInput( id="text", name="Text", description="Text to process", default="Hello from Minimal Component!", required=True ) ) self.add_output( Output( id="output", name="Output", description="Result" ) ) def process(self, data: Data) -> dict: text = data["inputs"].get("text", "No input") return {"output": f"Processed: {text}"}

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/dvladimirov/MCP'

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