api_list
List all configured APIs in the MCP SFTP Orchestrator catalog to monitor API health and manage integrations through a unified interface.
Instructions
Affiche toutes les APIs configurées dans le catalogue.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- server.js:149-160 (registration)Registration of the 'api_list' MCP tool, including input schema (empty object) and the inline handler function that calls apis.listApis() and returns the JSON stringified list.server.registerTool( "api_list", { title: "Lister les APIs du catalogue", description: "Affiche toutes les APIs configurées dans le catalogue.", inputSchema: z.object({}) }, async () => { const apiList = await apis.listApis(); return { content: [{ type: "text", text: JSON.stringify(apiList, null, 2) }] }; } );
- server.js:156-159 (handler)Handler function for 'api_list' tool: fetches API list via apis.listApis() and formats as JSON response.async () => { const apiList = await apis.listApis(); return { content: [{ type: "text", text: JSON.stringify(apiList, null, 2) }] }; }
- server.js:151-154 (schema)Tool metadata and input schema for 'api_list': no input parameters required.{ title: "Lister les APIs du catalogue", description: "Affiche toutes les APIs configurées dans le catalogue.", inputSchema: z.object({})
- apis.js:71-74 (helper)Helper function listApis() that loads and returns the APIs object from JSON file, used by the tool handler.async function listApis() { await ensureInitialized(); return apis; }