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 undermcp, named by its key. There are two types.
- Local (runs on your machine)
- Remote (over HTTP)
gloocode.json
commandis a single array that holds the program and all of its arguments.environmentholds environment variables for the process.
enabled: set tofalseto 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, rungloocode mcp auth <name>and follow the browser prompt.gloocode mcp auth listshows 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? Rungloocode 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”.

