Magg

v1.2.1
io.github.sitbon/magg Checked 5 days ago Published 4 months ago

Aggregates and proxies other MCP servers, letting LLMs discover, add, and manage tools at runtime.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

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.

ParameterTypeDescription
action *stringAction to perform: list, info, or call.
type *stringType of MCP capability to interact with: tool, resource, or prompt.
argsArguments for a 'call' action (call tool, read resource, or get prompt). Can be a dict or JSON string.
filter_serverFilter results by server name prefix (for 'list' action only)
limitMaximum number of items to return (for 'list' action only). Default: 100
offsetNumber of items to skip (for 'list' action only). Default: 0
pathName or URI of the specific tool/resource/prompt (with FastMCP prefixing). Not allowed for 'list' and 'info' actions.

magg_add_server

Add a new MCP server.

ParameterTypeDescription
name *stringUnique server name
source *stringURL of the server package/repository
commandFull command to run (e.g., 'python server.py', 'npx @playwright/mcp@latest')
cwdWorking directory (for commands)
enableWhether to enable the server immediately (default: True)
envEnvironment variables (dict or JSON string)
notesSetup notes
prefixTool prefix (defaults to conformed server name)
transportTransport-specific configuration (dict or JSON string) Common options for all command-based servers: - `keep_alive` (boolean): Keep the process alive between requests (default: true) Python servers (…
uriURI for HTTP servers

magg_remove_server

Remove a server.

ParameterTypeDescription
name *stringServer name to remove

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.

ParameterTypeDescription
name *stringServer name to enable

magg_disable_server

Disable a server.

ParameterTypeDescription
name *stringServer name to disable

magg_search_servers

Search for MCP servers online.

ParameterTypeDescription
query *stringSearch query for MCP servers
limitintegerMaximum number of results to return per search source

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.

ParameterTypeDescription
source *stringURL of the server package/repository
allow_addbooleanWhether to automatically add the server after configuration (default: False)
server_nameOptional server name (auto-generated if not provided)

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.

ParameterTypeDescription
actionstringAction to take for unresponsive servers: 'report' (default), 'remount', 'unmount', or 'disable'
timeoutnumberTimeout in seconds for health check per server

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.

magg_load_kit

Load a kit and its servers into the configuration.

ParameterTypeDescription
name *stringKit name to load (filename without .json)

magg_unload_kit

Unload a kit and optionally its servers from the configuration.

ParameterTypeDescription
name *stringKit name to unload

magg_list_kits

List all available kits with their status.

magg_kit_info

Get detailed information about a specific kit.

ParameterTypeDescription
name *stringKit name to get information about