get_info
Retrieve installer details, registry URL, cache location, and supported clients for MCP server configuration management.
Instructions
Get information about the installer, registry URL, cache location, and supported clients.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:322-351 (handler)Handler implementation for the 'get_info' tool. It fetches registry info, client info, supported clients, and the registry data, then returns a formatted JSON response with details about the installer.case 'get_info': { const registryInfo = getRegistryInfo(); const clientInfo = getAllClientInfo(); let registry; try { registry = await getRegistry(); } catch { registry = null; } return { content: [{ type: 'text', text: JSON.stringify({ name: 'daniel-rosehill-mcps', version: '1.0.0', description: "Daniel Rosehill's personal MCP installer", registry: { url: registryInfo.registryUrl, cache_dir: registryInfo.cacheDir, version: registry?.version || 'unavailable', mcp_count: registry?.mcps.length || 0, last_updated: registry?.updated || 'unavailable' }, supported_clients: getSupportedClients(), clients: clientInfo }, null, 2) }] }; }
- src/index.ts:165-172 (schema)Schema definition for the 'get_info' tool, specifying its name, description, and empty input schema.{ name: 'get_info', description: 'Get information about the installer, registry URL, cache location, and supported clients.', inputSchema: { type: 'object', properties: {} } }
- src/index.ts:176-178 (registration)Registers the list of available tools, including 'get_info', for the ListToolsRequestSchema.server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools }));