steampipe_plugin_list
List all installed Steampipe plugins to see available data sources like AWS, GCP, or Azure for querying.
Instructions
List all Steampipe plugins installed on the system. Plugins provide access to different data sources like AWS, GCP, or Azure.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/steampipe_plugin_list.ts:13-51 (handler)The async handler function that checks for database availability, executes a SQL query to list Steampipe plugins and versions from the steampipe_plugin table, returns JSON result or error.handler: async (db: DatabaseService) => { if (!db) { return { content: [{ type: "text", text: "Database not available. Please ensure Steampipe is running and try again." }], isError: true }; } try { const query = ` SELECT plugin, version FROM steampipe_plugin ORDER BY plugin `; const result = await db.executeQuery(query); return { content: [{ type: "text", text: JSON.stringify({ plugins: result }) }] }; } catch (err) { logger.error("Error listing plugins:", err); return { content: [{ type: "text", text: `Failed to list plugins: ${err instanceof Error ? err.message : String(err)}` }], isError: true }; } }
- Input schema defining no required properties for the tool.inputSchema: { type: "object", properties: {}, additionalProperties: false },
- src/tools/index.ts:24-30 (registration)The steampipe_plugin_list tool is registered in the central tools export object used by the MCP server.export const tools = { steampipe_query: queryTool as DbTool, steampipe_table_list: tableListTool as DbTool, steampipe_table_show: tableShowTool as DbTool, steampipe_plugin_list: pluginListTool as DbTool, steampipe_plugin_show: pluginShowTool as DbTool, } as const;
- src/tools/index.ts:11-11 (registration)Import statement for the steampipe_plugin_list tool implementation.import { tool as pluginListTool } from './steampipe_plugin_list.js';