Skip to main content

CONNECT YOUR AI APP TO A TEAM SERVE

This guide shows you how to add your team's swamp serve to your AI app, so it can find the workflows you may use, run them, and follow them for you. The app acts as you, and does only what your grants on the serve allow.

Before you start

Ask your serve's admin for:

  • The MCP URL, such as https://swamp.example.com/mcp.
  • Your app on the allowlist. An app the serve doesn't list is refused with "This app can't sign in here". Admins set this up with Connect Your Team's AI Apps to swamp serve.
  • Access to the serve through your swamp-club account, usually through their collective.

What signing in looks like

Every app below signs in the same way once you add the URL:

  1. The serve's page opens in your browser. It reads "App wants to act as you on host", names where you will be sent back, and lists the most the app may do, such as workflow:*: approve, read, run, signal. It never does more than your own grants allow. Click Continue to swamp-club.
  2. swamp-club asks you to sign in if you aren't already, then shows the app, the serve and what the app may do as you. Click Approve and link. See Linking an App to swamp serve for what approving means and the email that follows.
  3. Back in your app. The serve's page sends you on to the app.

If the serve's page says the app returns to localhost, approve only if you started the sign-in yourself, on this computer.

Claude Code

claude mcp add --transport http swamp https://swamp.example.com/mcp
claude mcp login swamp

The login opens your browser on the serve's page; follow the sign-in. You can also type /mcp inside Claude Code, pick swamp and choose Authenticate. Then ask, for example, "What Swamp workflows can I use?"

Codex

codex mcp add swamp --url https://swamp.example.com/mcp

Codex notices the serve wants a sign-in and opens your browser. If it doesn't, run codex mcp login swamp. Codex asks you before each call that starts, approves or cancels a run.

Claude

  1. In claude.ai, open Plugins in the sidebar, then Add → Add custom connector.
  2. Give it a name, paste the MCP URL into MCP server URL, and click Continue.
  3. Keep what Claude detects: Sign in now under Authentication, and Use Claude's published identity under OAuth client. Click Add.
  4. Follow the sign-in. Claude shows "Connected to name" when you're back.
  5. In a chat, ask for your workflows, such as "List the Swamp workflows I can use."

A connector added in claude.ai is also available in the Claude desktop and mobile apps.

ChatGPT

Note

These steps follow ChatGPT's documentation and were not walked through against a serve.

  1. In ChatGPT, open Settings → Apps & Connectors → Advanced and turn on Developer mode. Your plan or workspace must offer it.
  2. Create a connector, paste the MCP URL and choose OAuth.
  3. Connect and follow the sign-in.
  4. In a chat, choose the connector and ask for your workflows.

If ChatGPT shows a redirect URL starting https://chatgpt.com/connector/oauth/, send it to your admin: the serve accepts it only once it is listed.

Antigravity

Antigravity (agy) replaces Gemini CLI, which now sends you to it.

agy mcp add swamp https://swamp.example.com/mcp
agy

Inside agy, start the MCP sign-in for swamp and follow the sign-in. The serve's page returns you to antigravity.google, which hands the sign-in back to agy. Your admin lists Antigravity with an entry of its own; see Choose which apps can sign in.

Gemini

You can't add a serve to the Gemini web app: its connectors list only Google's own, and it doesn't take a custom MCP server. Gemini Enterprise and other Gemini clients that take a custom server were not walked through against a serve.

If your Gemini shows a redirect URL starting https://oauth-redirect.googleusercontent.com/r/ or /a/ when you add the serve, send that exact URL to your admin before you connect: the serve refuses any Gemini redirect it doesn't list.

Sign out

Remove the sign-in from your app: claude mcp logout swamp, codex mcp logout swamp, agy mcp remove swamp, or remove the connector in claude.ai or ChatGPT. If you didn't start a sign-in, use This wasn't me in the email swamp-club sends, which ends it.

Use a serve token instead

A script or a client without OAuth can send a serve token. Mint or copy one as in Set Up Token Authentication and send it as a bearer header:

claude mcp add --transport http swamp https://swamp.example.com/mcp \
  --header "Authorization: Bearer <token>"

A token acts with your full grants, not an app's ceiling, so keep it out of apps you don't trust with everything you can do.