{
  "info": {
    "name": "Railway — mcp.ai",
    "description": "REST API for the Railway MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/railway",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "railway_create_plugin",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/plugin",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "plugin"
          ]
        },
        "description": "Creates a new plugin in Railway for the specified project. Use this action when you need to add a custom plugin to a Railway project, such as for integrating external services or extending project fun",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"\",\n  \"projectId\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "railway_delete_variable",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/variable",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "variable"
          ]
        },
        "description": "Delete a Railway environment variable. This action uses the `variableDelete` GraphQL mutation to permanently remove an environment variable from a project, environment, or service. This action is irre",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"\",\n  \"project_id\": \"\",\n  \"service_id\": \"\",\n  \"environment_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "railway_delete_volume",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/volume",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "volume"
          ]
        },
        "description": "Permanently delete a persistent volume and all its associated data from Railway. Use when you need to remove a volume that is no longer needed. This action is irreversible — the volume and all its dat",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"volume_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "railway_delete_workspace",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/workspace",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "workspace"
          ]
        },
        "description": "Delete a Railway workspace and all data associated with it. This action uses the `workspaceDelete` GraphQL mutation to permanently remove a workspace. Use this action when you need to permanently dele",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "railway_disconnect_user_discord",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/disconnect/user/discord",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "disconnect",
            "user",
            "discord"
          ]
        },
        "description": "Disconnects the authenticated user's Railway account from Discord. Use when you need to unlink a Discord account that was previously connected to Railway for notifications, authentication, or team man",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "railway_get_deployment_logs",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/deployment/logs",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "deployment",
            "logs"
          ]
        },
        "description": "Retrieve runtime logs for a deployment. Use when you need to view the runtime application logs for troubleshooting runtime issues, monitoring application behavior, or debugging errors that occur durin",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"deployment_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "railway_get_environment",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/environment",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "environment"
          ]
        },
        "description": "Get details of a specific Railway environment by its ID, including service instances and deployment information. Use this action when you need to retrieve detailed information about an environment, su",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "railway_get_git_hub_pr_info",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/git/hub/pr/info",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "git",
            "hub",
            "pr",
            "info"
          ]
        },
        "description": "Get information for a GitHub pull request associated with a Railway service. Use this action when you need to retrieve details about a specific pull request, such as its title, state, URL, or author i",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"prNumber\": 0,\n  \"serviceId\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "railway_get_user_kickback_earnings",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/user/kickback/earnings",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "user",
            "kickback",
            "earnings"
          ]
        },
        "description": "Get the total kickback earnings for the authenticated Railway user. Use this action when you need to retrieve the kickback earnings information for the authenticated user, including the total amount e",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "railway_list_api_tokens",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/api/tokens",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "api",
            "tokens"
          ]
        },
        "description": "Retrieve all API tokens for the authenticated user from Railway. Use this action when you need to fetch the list of API tokens associated with the currently authenticated user. This is a read-only ope",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "railway_list_environment_patches",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/environment/patches",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "environment",
            "patches"
          ]
        },
        "description": "Retrieve all patches for a Railway environment using the GraphQL API. Use this action when you need to fetch the list of configuration patches applied to an environment. This is useful for auditing en",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"after\": \"\",\n  \"first\": 0,\n  \"environment_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "railway_list_git_hub_repos",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/git/hub/repos",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "git",
            "hub",
            "repos"
          ]
        },
        "description": "Retrieve a list of GitHub repositories that Railway has access to. Use this action when you need to fetch the list of GitHub repositories associated with the authenticated user's GitHub account throug",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "railway_list_git_hub_writable_scopes",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/git/hub/writable/scopes",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "git",
            "hub",
            "writable",
            "scopes"
          ]
        },
        "description": "Retrieve the list of GitHub scopes the user has installed the installation to. Use this action when you need to fetch the list of GitHub scope names that the authenticated user has granted to the Rail",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "railway_list_integration_auths",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/integration/auths",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "integration",
            "auths"
          ]
        },
        "description": "Retrieve all integration auths for the authenticated user from Railway. Use this action when you need to fetch the list of integration auths (such as GitHub, GitLab, Vercel, or other connected integra",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "railway_list_notification_deliveries",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/notification/deliveries",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "notification",
            "deliveries"
          ]
        },
        "description": "Retrieve notification deliveries for the authenticated user. Use this action when you need to fetch a list of notification deliveries, such as tracking which notifications have been sent (e.g., EMAIL,",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "railway_list_trusted_domains",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/trusted/domains",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "trusted",
            "domains"
          ]
        },
        "description": "Fetch all trusted domains for the authenticated Railway workspace. Use this action when you need to retrieve all trusted domains configured for workspace membership invitations. Trusted domains allow ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"workspaceId\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "railway_update_project",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/project",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "project"
          ]
        },
        "description": "Update project settings and configuration on Railway. Use this action when you need to modify project properties such as description, visibility settings, or PR deploy preferences. The following field",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\",\n  \"input\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "railway_update_service_instance",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/service/instance",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "service",
            "instance"
          ]
        },
        "description": "Update build/deploy settings for a service in a specific environment on Railway. Use this action when you need to modify service configuration including commands, healthcheck, replicas, region, and cr",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"input\": {},\n  \"service_id\": \"\",\n  \"environment_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}