Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
proxy_handshakeA

Send your project context to the proxy. It will activate the most relevant MCP servers from the catalogue and return a summary of available tools.

Args: tech_stack: Languages and frameworks in use, e.g. ["python", "fastapi", "postgres"] task_description: Free-text description of what you are working on open_files: File paths currently open in the IDE (optional, helps infer stack) requirements: Package names from requirements.txt / package.json (optional)

proxy_list_active_serversA

List all currently mounted MCP servers and their estimated tool counts.

proxy_list_available_serversA

List MCP servers in the catalogue that are not yet mounted.

Args: filter_tag: Optional tag filter, or free-text query (uses search_servers for discovery).

proxy_search_toolsA

Search the catalogue for relevant servers/tools using free-text query. Enables on-demand discovery (lazy loading pattern) so the AI can find specific capabilities without the full catalogue bloating context.

Returns ranked list of matching servers (name, desc, score, tags). Use proxy_activate_server on results, or let handshake do it.

Inspired by MCP tool search / lazy discovery best practices (Anthropic, Stacklok, etc.).

proxy_list_toolsA

List all registered tools by inspecting the FastMCP instance. If server_name is provided, filters for tools from that child server.

proxy_inspect_registryB

Diagnostic tool: Expose proxy state and server counts.

proxy_activate_from_specA

Generate an MCP server from an OpenAPI/GraphQL spec and activate it.

Args: name: A unique name for this generated server spec_url: URL to the OpenAPI spec (JSON/YAML) or GraphQL endpoint spec_type: 'openapi' or 'graphql' eager: If True, mount the server immediately lean: If True, attempt to use LAP (https://lap.sh) to produce a dramatically leaner input spec before 40mcp generation (F-12 research slice). Falls back gracefully if LAP CLI not available.

proxy_activate_serverA

Activate (mount) a server from the catalogue by name.

By default the server is registered as a deferred stub ({name}_load tool) and only fully spawned when first used. Pass eager=True to mount immediately.

Args: name: Server name as shown in proxy.list_available_servers() eager: If True, spawn the subprocess immediately instead of deferring.

proxy_deactivate_serverA

Deactivate (unmount) a currently loaded or pending server to free up tool budget.

Args: name: Server name as shown in proxy.list_active_servers()

proxy_add_custom_proxyA

Register a custom (non-catalogue) MCP server and optionally activate it. Only SSE and HTTP runtimes are accepted; stdio is restricted to prevent arbitrary command execution.

Args: name: A unique identifier for this server url: SSE URL (e.g. http://localhost:8100/sse) or HTTP URL tags: Tag list for future discovery matching runtime: "sse" or "http" (stdio is not permitted for custom proxies) activate_now: If True, mount the server immediately

proxy_get_metricsA

Return live process metrics for the proxy itself. Mirrors the mcp://proxy/health resource as a callable tool.

proxy_get_usageB

Return current server usage counts for self-evolving ranking (F-13).

proxy_reset_usageA

Reset usage stats (all or for one server). Useful for testing or re-baselining.

Prompts

Interactive templates invoked by user choice

NameDescription
suggest_tools_for_contextGuided workflow: describe your project context and let the proxy suggest and activate the most relevant MCP tool servers.

Resources

Contextual data attached and managed by the client

NameDescription
resource_infoStatic proxy metadata: name, version, protocol, capabilities.
resource_healthLive process health: uptime, memory, CPU time, thread count.
resource_serversAggregated child server inventory with tool counts and status.

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/HappyMonkeyAI/DynamicMCPProxy'

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