Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription
magg_configure_serverGenerate an enriched prompt template for configuring a server from a URL. This prompt can be used with any LLM to generate server configuration. For automatic configuration with LLM sampling, use the smart_configure tool instead.

Resources

Contextual data attached and managed by the client

NameDescription
get_all_servers_metadataExpose all servers metadata as an MCP resource.

Tools

Functions exposed to the LLM to take actions

NameDescription
proxy

Main proxy tool for dynamic access to mounted MCP servers.

This tool provides a unified interface for:

  • Listing available tools, resources, or prompts across servers
  • Getting detailed info about specific capabilities
  • Calling tools, reading resources, or getting prompts

Annotations are used to provide rich type information for results, which can generally be expected to ultimately include JSON-encoded EmbeddedResource results that can be interpreted by the client.

magg_add_server

Add a new MCP server.

magg_remove_server

Remove a server.

magg_list_servers

List all configured servers.

Unlike the /servers/all resource, this tool also provides the runtime status of each server (mounted or not).

magg_enable_server

Enable a server.

magg_disable_server

Disable a server.

magg_search_servers

Search for MCP servers online.

magg_smart_configure

Use LLM sampling to intelligently configure and add a server from a URL.

This tool performs the complete workflow:

  1. Collects metadata about the source URL
  2. Uses LLM sampling (if context provided) to generate optimal configuration
  3. Automatically adds the server to your configuration

Note: This requires an LLM context for intelligent configuration. Without LLM context, it falls back to basic metadata-based heuristics. For generating configuration prompts without sampling, use configure_server_prompt.

magg_analyze_servers

Analyze configured servers and provide insights using LLM.

magg_status

Get basic Magg server status and statistics.

magg_check

Check health of all mounted servers and handle unresponsive ones.

magg_reload_config

Reload configuration from disk and apply changes.

This will:

  1. Re-read the configuration file
  2. Detect changes (added/removed/modified servers)
  3. Apply changes by mounting/unmounting servers as needed

Note: This operation may briefly interrupt service for affected servers. Config reload can also be triggered via SIGHUP signal on Unix systems.

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/sitbon/magg'

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