Skip to main content
MCP servers are one part of your setup you re-enter in Gloo Code. They go in the mcp section of gloocode.json, and each conversion takes a minute or two.

Where the config lives

Both files allow comments. Servers in a project’s gloocode.json apply after you trust the folder, and after you trust the folder, Gloo Code asks you to approve each server the project defines. If a server’s command or URL changes, it asks again. Type /mcps inside Gloo Code to see your servers.

The format

Each server is an entry under mcp, named by its key. There are two types.
gloocode.json
  • command is a single array that holds the program and all of its arguments.
  • environment holds environment variables for the process.
Other keys:
  • enabled: set to false to keep a server in the file without loading it.
  • timeout: milliseconds allowed for connecting, listing tools, and each tool call.
  • oauth: for remote servers that sign in with OAuth, run gloocode mcp auth <name> and follow the browser prompt. gloocode mcp auth list shows what is signed in.

Keep secrets out of the file

Write {env:NAME} anywhere in the config and Gloo Code fills it from your shell environment. Use {file:path} to read a value from a file.
gloocode.json

Add a server with the wizard

Prefer prompts to editing JSON? Run gloocode mcp add. It asks whether the server is for this project or all projects, what to name it, whether it is local or remote, and whether it uses OAuth. gloocode mcp list shows what you have.
Notion and Linear are built into Gloo Code as connectors, so give a server of your own a different name than notion or linear.

From Claude Code

A Claude Code .mcp.json uses mcpServers. In gloocode.json the key is mcp, a local server’s command and args merge into one array, env becomes environment, and ${VAR} becomes {env:VAR}.

From Codex

In Codex each server is a [mcp_servers.<name>] table. Convert it to an entry under mcp.
To keep a secret out of the file, export it and use {env:TOKEN}.

Check that it worked

1

Export your secrets

Set any variables you referenced with {env:...} in your shell before starting Gloo Code.
2

Start Gloo Code and trust the folder

Run gloocode in the project. Approve the folder and any project MCP server when asked.
3

List your servers

Type /mcps in a session, or run gloocode mcp list in a terminal.
4

Try a tool

Ask the agent to do something your server enables, such as “List the files the filesystem server can see”.

Next steps

Migration checklist

A copy-and-paste checklist for your first day.

From Claude Code

Skills, commands, and day-to-day shortcuts.

From Codex CLI

AGENTS.md and day-to-day equivalents.

Ask Gloo Code

Ask Gloo Code about any config key.