Skip to content
Spacefast Docs
Esc
navigateopen⌘Jpreview
On this page

Connect Codex to Spacefast

Publish and host from Codex locally or in the cloud.

Publish and host from Codex locally or in the cloud.

Install the Spacefast plugin. Add the Spacefast marketplace and install the plugin with Codex itself.

codex plugin marketplace add spacefast/plugins && codex plugin add spacefast@spacefast

Other ways to connect

Configure ~/.codex/config.toml. Merge the hosted Spacefast server into the client MCP configuration.

[mcp_servers.spacefast]
url = "https://mcp.spacefast.com"

Set up with the Spacefast CLI. Install the CLI once, then let it write MCP config, install the skill, and sign you in.

npm install -g spacefast && sf setup agent --agent codex

Set up without installing. One-shot setup with no global install — same work, nothing left behind.

npx -y spacefast@0.0.26 setup agent --agent codex -y

Install with npx plugins. Install the plugin with the universal installer — nothing to install first.

npx -y plugins@1.3.4 add spacefast/plugins -t codex -y

Connect hosted MCP. Connect the hosted Spacefast MCP server and sign in through the browser.

codex mcp add spacefast --url https://mcp.spacefast.com && codex mcp login spacefast

Install the Spacefast skill. Install publish and hosting guidance using the Agent Skills standard.

npx -y skills@1.5.23 add https://spacefast.com/SKILL.md -y

Push to deploy. Push to deploy — output returns your live and claim links.

git remote add spacefast https://t:{{token}}@push.new/{{space}}.git && git push spacefast main

Prefer to hand this off? Copy setup prompt:

Fetch https://spacefast.com/setup.md and set up Spacefast.

Give the agent one prompt that lets it choose and complete the best setup lane.

Agent documentation · Codex documentation

Was this page helpful?