n8n_list_projects
Retrieve all projects from your n8n instance to manage workflows and monitor executions.
Instructions
List all projects
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/n8n-client.ts:237-240 (handler)Actual implementation of the listProjects method which calls the n8n API.
async listProjects(): Promise<any> { const response = await this.client.get('/projects'); return response.data; } - src/index.ts:333-338 (handler)Handler logic in the MCP server switch statement that invokes the n8n client method.
case 'n8n_list_projects': { const result = await n8nClient.listProjects(); return { content: [{ type: 'text', text: formatResponse(result) }], }; } - src/index.ts:819-826 (registration)Tool registration in the MCP tool list.
{ name: 'n8n_list_projects', description: 'List all projects', inputSchema: { type: 'object', properties: {}, }, },