[Integrations](https://spiral.ai/integrations) › [Google Antigravity](https://spiral.ai/integrations/antigravity) › [Railway deployment template](https://spiral.ai/integrations/antigravity/railway-deployment-template)

# How to Use Railway deployment template in Google Antigravity

Inspect a Railway deployment template and its packaged services. Use it to understand a specific deployment candidate after finding it in the template catalog.

|  |  |
| --- | --- |
| Model | Railway deployment template |
| Available through | Alexandria |
| Category | Developer |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Railway deployment template in Google Antigravity

- Use Railway deployment template to inspect https://railway.com/deploy/postgres and compare its packaged service with this project's database requirements.
- Use Railway deployment template to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Railway deployment template and tell me what changed since last week.
- Check Railway deployment template and summarize what you find in three bullet points.
- Pull the newest data from Railway deployment template and give me the result as a table.

## How to set up Railway deployment template in Google Antigravity

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Open the MCP config**: * Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit `~/.gemini/config/mcp_config.json`.

2. **Add the server**: Add Spiral under `mcpServers`:

```json
{
  "mcpServers": {
    "spiral": {
      "serverUrl": "https://api.spiral.ai/mcp"
    }
  }
}
```

3. **Sign in**: In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.

### Use the Spiral skill

1. **Send Google Antigravity this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Railway deployment template**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "railway-com/developer-documentation/get_template",
    "input": {
      "code": "<code>"
    }
  }'
```

Then paste one of the prompts above: Google Antigravity finds Railway deployment template on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/antigravity

## Railway deployment template tools and prices

- [Railway · Get template](https://spiral.ai/tools/alexandria/railway-com/developer-documentation/get_template) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | Alternatively a template URL, e.g. https://railway.com/deploy/postgres. Pattern: ^https?://. |
| code |  | — | Template code, e.g. `postgres`. |

## What can you do with Railway deployment template in Google Antigravity?

Produce a Railway deployment review tied to your application's requirements. Use retrieved Railway material to check hosting assumptions, template choices, published changes, or operational risks against the project.

### Plan a migration to Railway

Build a migration brief from technical requirements, relevant engineering articles, recent product changes, deployment candidates, plan limits, and applicable policies.

### Review deployment readiness

Check the proposed template, documented behavior, resource ceilings, policies, and recent announcements. Add current platform status and relevant incident timelines to the release review.

### Prepare a platform review

Evaluate Railway against a team's hosting requirements using public technical guidance, plan limits, policies, template options, product updates, and reliability reports.

### Create an internal Railway reading guide

Select technical docs, engineering explanations, recent updates, policies, plan comparisons, and example templates for developers learning how their team uses Railway.

### Choose a deployment template

Compare category listings, inspect the services packaged in promising templates, and check their requirements against documentation, plan limits, and applicable policies.

### Prepare a Railway change briefing

Summarize relevant engineering articles and product updates, then identify documentation, template choices, plan assumptions, or policy references the team should review.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Google Antigravity guides](https://spiral.ai/integrations/antigravity)

## Railway deployment template in other agents

- [Amp](https://spiral.ai/integrations/amp/railway-deployment-template)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/railway-deployment-template)
- [Claude](https://spiral.ai/integrations/claude-desktop/railway-deployment-template)
- [Claude Code](https://spiral.ai/integrations/claude-code/railway-deployment-template)
- [Cline](https://spiral.ai/integrations/cline/railway-deployment-template)
- [Codex](https://spiral.ai/integrations/codex/railway-deployment-template)
- [Cursor](https://spiral.ai/integrations/cursor/railway-deployment-template)
- [Devin](https://spiral.ai/integrations/devin/railway-deployment-template)
- [dots](https://spiral.ai/integrations/dots/railway-deployment-template)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/railway-deployment-template)
- [Gemini](https://spiral.ai/integrations/gemini/railway-deployment-template)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/railway-deployment-template)
- [goose](https://spiral.ai/integrations/goose/railway-deployment-template)
- [Grok](https://spiral.ai/integrations/grok/railway-deployment-template)
- [Grok Build](https://spiral.ai/integrations/grok-build/railway-deployment-template)
- [Hermes](https://spiral.ai/integrations/hermes/railway-deployment-template)
- [Instinct](https://spiral.ai/integrations/instinct/railway-deployment-template)
- [Manus](https://spiral.ai/integrations/manus/railway-deployment-template)
- [Muse](https://spiral.ai/integrations/muse/railway-deployment-template)
- [Muse Code](https://spiral.ai/integrations/muse-code/railway-deployment-template)
- [n8n](https://spiral.ai/integrations/n8n/railway-deployment-template)
- [Notion](https://spiral.ai/integrations/notion/railway-deployment-template)
- [OpenClaw](https://spiral.ai/integrations/openclaw/railway-deployment-template)
- [opencode](https://spiral.ai/integrations/opencode/railway-deployment-template)
- [Perplexity](https://spiral.ai/integrations/perplexity/railway-deployment-template)
- [Raycast](https://spiral.ai/integrations/raycast/railway-deployment-template)
- [VS Code](https://spiral.ai/integrations/vscode/railway-deployment-template)
- [Windsurf](https://spiral.ai/integrations/windsurf/railway-deployment-template)
- [Zapier](https://spiral.ai/integrations/zapier/railway-deployment-template)

## More Google Antigravity guides

- [Railway company and legal page](https://spiral.ai/integrations/antigravity/railway-company-and-legal-page)
- [Railway deployment templates](https://spiral.ai/integrations/antigravity/railway-deployment-templates)
- [Railway changelog entry](https://spiral.ai/integrations/antigravity/railway-changelog-entry)
- [Railway documentation index](https://spiral.ai/integrations/antigravity/railway-documentation-index)
- [Railway changelog entries](https://spiral.ai/integrations/antigravity/railway-changelog-entries)
- [Railway documentation page](https://spiral.ai/integrations/antigravity/railway-documentation-page)

## Questions about Railway deployment template in Google Antigravity

**Can Google Antigravity use Railway deployment template?**

Yes. Add Spiral to Google Antigravity as an MCP server, and Google Antigravity can find and run Railway deployment template like any built-in tool.

**How much does Railway deployment template cost in Google Antigravity?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Google Antigravity plan is separate.

**Do I need an Alexandria account to use Railway deployment template in Google Antigravity?**

No. Spiral runs Railway deployment template on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Railway deployment template in Google Antigravity?**

About two minutes: open the MCP config, then add the server, then sign in.

**Does Google Antigravity wait while Railway deployment template runs?**

Railway deployment template runs in the background. Google Antigravity starts the run, checks on it and gives you the json when it's ready.

**What Railway information does this source cover?**

It covers public docs, blog articles, changelog entries, status reports, deployment templates, and company and legal pages. Template coverage includes machine-readable deployment manifests.

**Does Railway report every outage?**

No. Railway explicitly limits its status page to incidents with significant, widespread user impact and says smaller or isolated issues will not appear.

**What period do Railway's uptime figures cover?**

Component uptime covers the last 90 days plus today. Major outages count fully as downtime, while partial outages count at 30%.

**How often does Railway publish product updates?**

Railway labels its changelog as weekly product updates since 2021. Individual entries carry dates and include feature announcements and fixes.

**What does an individual incident report contain?**

Railway status reports identify affected components and show timestamped updates. For example, incident IFBXJTGG records monitoring and resolution updates for public networking across four regions.

