Skip to main content
Glama

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
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function that executes the project_list tool by calling projectService.listProjects() to list all projects.
    async () => {
      return projectService.listProjects();
    }
  • Input schema for the project_list tool (empty object, no input parameters required).
    {},
  • 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
        );
      });
    } 

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/epitaphe360/railway-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server