Skip to main content
Glama

MCP Router

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
COLLECTION_NAMENoThe collection name for MCP servicesmcp_services_collection
DASHSCOPE_API_KEYYesYour DashScope API key
DASHVECTOR_API_KEYYesYour DashVector API key
DASHVECTOR_ENDPOINTYesYour DashVector endpoint
EMBEDDING_DIMENSIONNoThe embedding dimension1024

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
search_mcp_server
Search for registered MCP servers based on a query. Args: query: Search query top_k: Number of top results to return (default: 3)
add_mcp_server
Register a new MCP server with the discovery service. Args: server_name: Unique name of the server server_description: Description of the server server_endpoint: Endpoint URL of the server tools: List of tools provided by the server
exec_mcp_tool
Execute a tool on a target MCP server. Args: target_server_name: Name of the target server target_tool_name: Name of the tool to execute parameters: Parameters for the tool

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/Maverick-LjXuan/mcp-router'

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