Pegasus MCP Server
SaaS Pegasus runs an MCP server, so you can work with your Pegasus projects from Claude, ChatGPT, Cursor, or any other AI app that supports MCP. Once it’s connected, you can ask things like:
- “Create a new Pegasus project called Acme with teams, subscriptions, and React.”
- “Turn on Celery and Sentry for my acme project, then push it to GitHub.”
- “Upgrade acme to the latest Pegasus release and open a pull request.”
It does the same things as the Pegasus CLI, without leaving the chat.
Connecting
Section titled “Connecting”The server’s URL is:
https://www.saaspegasus.com/mcpAdd it to your AI app as a remote MCP server, or “connector”. The first time the app uses it, you’ll be sent to SaaS Pegasus to log in and approve the connection. There’s no API key to copy: the app gets its own access, which you can revoke at any time.
In Claude (web or desktop), go to Settings → Connectors, choose Add custom connector, and paste the URL above. Then click Connect and approve access on SaaS Pegasus.
claude mcp add --transport http saas-pegasus https://www.saaspegasus.com/mcpThen run /mcp inside Claude Code and choose the server to log in.
Add the server to ~/.cursor/mcp.json (or .cursor/mcp.json in a project):
{ "mcpServers": { "saas-pegasus": { "url": "https://www.saaspegasus.com/mcp" } }}Cursor will prompt you to log in the first time it connects.
Add the server to .vscode/mcp.json:
{ "servers": { "saas-pegasus": { "type": "http", "url": "https://www.saaspegasus.com/mcp" } }}Any app that supports remote MCP servers with OAuth will work.
Add https://www.saaspegasus.com/mcp as a custom connector or remote server, then approve access when prompted.
What it can do
Section titled “What it can do”The server gives your AI app these tools:
| Tool | What it does |
|---|---|
list_projects |
Lists your projects, including whether each has a GitHub repository connected. |
get_project |
Gets a project’s full configuration, using the same field names as pegasus-config.yaml. |
get_config_schema |
Describes every configuration field: its type, allowed values, and the license tier it needs. |
create_project |
Creates a new project from a configuration. |
update_project |
Changes some of a project’s configuration. |
push_to_github |
Generates the project’s code and opens a pull request on its GitHub repository. Can also upgrade the project to the latest Pegasus release first. |
get_task_status |
Checks on a push while it runs, and returns the pull request link when it’s done. |
get_profile / update_profile |
Reads and updates your name. |
Creating or updating a project only saves its configuration—it doesn’t generate any code. To get code, the AI pushes the project to GitHub, which opens a pull request with the changes. The project needs a GitHub repository connected first, which you do on the SaaS Pegasus website (see GitHub Integration).
Managing access
Section titled “Managing access”Every app you’ve connected is listed under Connected AI Apps on your profile page, along with when it was last active. Click Disconnect to revoke an app’s access immediately.
Changing your password or your two-factor authentication setup disconnects every app, so you’ll need to approve them again.
