project_list
List all projects in your Railway account to get an overview, find project IDs, and manage 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:22-24 (handler)Handler function that executes the project_list tool by calling projectService.listProjects() to list all projects.async () => { return projectService.listProjects(); }
- src/tools/project.tool.ts:21-21 (schema)Input schema for the project_list tool (empty object, no input parameters required).{},
- src/tools/index.ts:16-37 (registration)Registration function that collects all tools (including projectTools containing project_list) and registers them with the MCP server using server.tool(...tool). Note import of projectTools at line 6.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 ); }); }