list
View all n8n workflows in your project to manage automation processes. Filter by project name to organize workflows efficiently.
Instructions
List all n8n workflows in this project (use deployed to see workflows in n8n)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Optional project name to filter workflows |
Implementation Reference
- src/tools/handler.ts:29-30 (handler)Executes the 'list' tool by calling workflowManager.listWorkflows with optional project argument.case 'list': return await this.workflowManager.listWorkflows(args?.project as string);
- src/tools/registry.ts:7-18 (schema)Tool definition including name, description, and input schema for the 'list' tool.name: 'list', description: 'List all n8n workflows in this project (use deployed to see workflows in n8n)', inputSchema: { type: 'object', properties: { project: { type: 'string', description: 'Optional project name to filter workflows', }, }, }, },
- src/server/mcflow.ts:76-78 (registration)Registers the list of tools (including 'list') via MCP ListToolsRequestHandler.this.server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: getToolDefinitions(), }));
- src/server/mcflow.ts:80-85 (registration)Registers the generic tool call handler that dispatches to ToolHandler.handleTool based on tool name.this.server.setRequestHandler(CallToolRequestSchema, async (request) => { return await this.toolHandler.handleTool( request.params.name, request.params.arguments ); });