Skip to content

Quick start

If you use more than one coding agent, each one is set up by its own files in your repository: .mcp.json for Claude Code, .codex/config.toml for Codex, .cursor/mcp.json for Cursor, and so on. Over time those files drift. You add an MCP server for one agent and forget the others, or you approve a command in Claude Code and your database password gets saved in a settings file that ends up in git.

gglint reads all of those files and tells you what’s wrong. Right now it checks two things: that every agent gets the same MCP servers, and that no secret is written into an agent’s files. It fixes most of what it finds, and it never deletes anything.

You don’t need to install or configure anything. From the root of your repository:

  1. Check the MCP servers.

    Terminal window
    uvx gglint mcp
    ╭────────────┬─────────────┬───────┬────────╮
    │ Server │ Claude Code │ Codex │ Cursor │
    ├────────────┼─────────────┼───────┼────────┤
    │ github │ ✓ │ ✗ │ ✗ │
    │ playwright │ ✓ │ ✗ │ ≠ │
    │ linear │ ✗ │ ✗ │ ✓ │
    ╰────────────┴─────────────┴───────┴────────╯
    ✓ set up ≠ set up differently ✗ missing
  2. Check for secrets.

    Terminal window
    uvx gglint secrets
    .cursor/mcp.json
    ✗ 5:45 GitHub token in "Authorization" is written out in the file

    gglint shows where the secret is and what kind it is, never the secret itself.

  3. Fix what they found.

    Terminal window
    uvx gglint mcp --fix
    uvx gglint secrets --fix
    git diff

    Missing servers get copied over in each agent’s own format, and secrets are swapped for environment variables. Look through the diff before you commit.

No uv? Use npx @gglint/cli instead of uvx gglint, or see Install for other ways to run it.

To find out more about what each check looks for, read MCP servers and Secrets. To stop problems coming back, run gglint before every commit or on every pull request.