Skip to main content
Glama
danielrosehill

Daniel Rosehill's MCP Installer

list_mcps

Discover available MCP servers in the registry, filter by category, or view essential options for installation across multiple development clients.

Instructions

List all available MCPs in the registry. Can filter by category or show only essential MCPs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryNoFilter by category (e.g., "Audio", "Development", "MCP Management")
essential_onlyNoOnly show MCPs marked as essential

Implementation Reference

  • Executes the list_mcps tool by calling the helper listMcps function with input arguments, formatting the MCP list with additional computed fields like requires_secrets, and returning formatted JSON as text content.
    case 'list_mcps': { const mcps = await listMcps({ category: args?.category as string | undefined, essentialOnly: args?.essential_only as boolean | undefined }); const formatted = mcps.map(mcp => ({ id: mcp.id, name: mcp.name, description: mcp.description, category: mcp.category, type: mcp.type, essential: mcp.essential || false, requires_secrets: (mcp.secrets?.length || 0) > 0, secret_keys: mcp.secrets?.map(s => s.key) || [] })); return { content: [{ type: 'text', text: JSON.stringify({ count: formatted.length, mcps: formatted }, null, 2) }] }; }
  • JSON Schema for the input parameters of the list_mcps tool, defining optional category filter and essential_only boolean flag.
    { name: 'list_mcps', description: 'List all available MCPs in the registry. Can filter by category or show only essential MCPs.', inputSchema: { type: 'object', properties: { category: { type: 'string', description: 'Filter by category (e.g., "Audio", "Development", "MCP Management")' }, essential_only: { type: 'boolean', description: 'Only show MCPs marked as essential', default: false } } }
  • src/index.ts:176-178 (registration)
    Registers the list_mcps tool (and others) with the MCP server by providing the tools list in response to ListToolsRequestSchema.
    server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools }));
  • Helper function listMcps that retrieves the MCP registry and applies filters based on category, essentialOnly, and enabledOnly options before returning the filtered list of MCP entries.
    export async function listMcps(options?: { category?: string; essentialOnly?: boolean; enabledOnly?: boolean; }): Promise<McpEntry[]> { const registry = await getRegistry(); let mcps = registry.mcps; if (options?.category) { mcps = mcps.filter(mcp => mcp.category?.toLowerCase() === options.category?.toLowerCase()); } if (options?.essentialOnly) { mcps = mcps.filter(mcp => mcp.essential === true); } if (options?.enabledOnly !== false) { mcps = mcps.filter(mcp => mcp.enabled !== false); } return mcps; }

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/danielrosehill/My-MCP-Installer'

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