project_list
List all projects in your Railway account to get an overview, find project IDs, and manage your infrastructure.
Instructions
[API] List all projects in your Railway account
⚡️ Best for: ✓ Getting an overview of all projects ✓ Finding project IDs ✓ Project discovery and management
→ Next steps: project_info, service_list
→ Related: project_create, project_delete
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/project.tool.ts:6-25 (handler)Full definition of the 'project_list' tool including description, empty input schema, and handler function that invokes projectService.listProjects() to list all projects.createTool( "project_list", formatToolDescription({ type: 'API', description: "List all projects in your Railway account", bestFor: [ "Getting an overview of all projects", "Finding project IDs", "Project discovery and management" ], relations: { nextSteps: ["project_info", "service_list"], related: ["project_create", "project_delete"] } }), {}, async () => { return projectService.listProjects(); } ),
- src/tools/project.tool.ts:21-21 (schema)Input schema for 'project_list' tool (empty object, no parameters).{},
- src/tools/index.ts:16-37 (registration)Registers all tools with the MCP server, including the 'project_list' tool via spreading projectTools into allTools and calling server.tool for each.export function registerAllTools(server: McpServer) { // Collect all tools const allTools = [ ...databaseTools, ...deploymentTools, ...domainTools, ...projectTools, ...serviceTools, ...tcpProxyTools, ...variableTools, ...configTools, ...volumeTools, ...templateTools, ] as Tool[]; // Register each tool with the server allTools.forEach((tool) => { server.tool( ...tool ); }); }