gglint
Keep every coding agent in your repository in sync, and keep secrets out of their config files.
Claude Code, Codex, Cursor, Gemini CLI, VS Code and sixteen other coding agents are each set up by their own files in a repository (see Supported agents). gglint checks those files for two problems:
- MCP servers that drift apart. Each agent reads MCP servers from its own config file, in
its own format. In a repository set up for more than one of them, a server is added to
.mcp.jsonbut not to.cursor/mcp.json, a version is pinned in one file and not the other, or an agent has no MCP config at all.gglint mcpfinds every difference and fixes it, written in each agent's own format. - Secrets written into agent files. Approving a command in Claude Code saves it, keys and
all, in
.claude/settings.local.json, and tokens get pasted into.mcp.json,.codex/config.tomlandCLAUDE.md.gglint secretsfinds them, replaces the ones it can with environment variables, and stops the agents' personal files from being committed.
Read the documentation for guides, a page for every rule, and how each agent's files are read and written.
The terminal shows gglint mcp on a repository whose agents have drifted apart. Click it to
open it on its own, then hover over a server, an agent, a cell or a problem to see what
gglint found there and what --fix does about it. The same details are in this table, on
hover:
| Server | Claude Code | Codex | Cursor | OpenCode |
|---|---|---|---|---|
github | ✓ | ✗ | ✗ | ✗ |
playwright | ✓ | ✗ | ≠ | ✗ |
linear | ✗ | ✗ | ✓ | ✗ |
| Command | What it does |
|---|---|
gglint mcp |
Compares the MCP servers of every coding agent, and fixes the differences. |
gglint secrets |
Finds credentials written out in agent config and instruction files, and replaces them with environment variables. |
| GitHub Action | Runs both on every pull request: annotations on the diff, a comment, and Code scanning. It only reports. |
gglint hook |
Runs the secrets check before every commit, through husky, git, pre-commit, lefthook or lint-staged. |
- One view of every agent. A table shows which agent gets which server, and how each one differs.
- One fix.
--fixadds the missing servers and config files and starts each server the same way in every agent. It never removes a server, and keeps your comments and formatting. - Each agent's own format. A server is translated between JSON and TOML, between each agent's syntax for environment variables, and between local and remote server types.
- Secrets in the forms they leak in. Tokens in known formats, passwords in database URLs,
keys in the commands agents save as allowed, and values under names such as
passwordorAuthorization, in every supported agent's config, settings, hooks, rules and instructions. A secret's value is never printed. - Personal files stay personal. Committing
.claude/settings.local.json,CLAUDE.local.md, another agent's personal settings, or an agent's login or.envfile fails the check, whatever is in it. - Fast and read-only by default. gglint reads a few files at fixed paths and typically finishes in under a millisecond. It never starts a server or downloads anything.
- Built for CI. It exits with status 1 when it finds a problem, prints annotations for a pull request or a SARIF log, and runs as a GitHub Action.
In November 2026 we checked the 258 most-starred GitHub repositories set up for two or more of Claude Code, Codex, Cursor and OpenCode. Of the 179 that configure MCP servers, 128 (72%) had at least one of the problems gglint reports. Among the 166 active repositories with 30 or more stars that set up a newer agent, such as Gemini CLI, Kiro or Junie, 83 of the 162 with MCP servers (51%) had at least one problem.
The same month we ran gglint secrets over 441 public repositories set up for coding agents:
21 had committed .claude/settings.local.json, and 5 had 7 secrets that look real in their
agent files, 2 of them inside commands saved in .claude/settings.json. Across all of public
GitHub, GitGuardian counted about 31,000 secrets in .claude/settings.local.json files
(report).
Quick start
gglint is on npm, as @gglint/cli, and
PyPI, so it runs with whichever your machine has: npx,
pnpm dlx or bunx with Node, or uvx with uv. From the root
of a repository, run both checks:
npx @gglint/cli mcp # or: pnpm dlx @gglint/cli mcp, bunx @gglint/cli mcp, uvx gglint mcp
npx @gglint/cli secrets
Each reports what it finds. To fix what it can, run each one again with --fix, then
git diff to see what changed. The first run downloads gglint and later runs reuse it;
there's nothing else to install. It works on Linux, macOS and Windows. A JavaScript project
can pin a version with npm install --save-dev @gglint/cli, as gglint hook
does.
To check every pull request for secrets, add this workflow as
.github/workflows/agent-secrets.yml (see GitHub Action for the options):
name: Agent secrets
on:
pull_request:
permissions:
contents: read
jobs:
gglint:
name: gglint secrets
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: corridor/gglint@v1
with:
command: secrets
comment: "false"
Usage
gglint mcp [--fix] [--source AGENT] [--format FORMAT] [PATH]
gglint mcp --servers [PATH]
gglint secrets [--fix] [--staged] [--format FORMAT] [PATH | FILE...]
gglint hook [install|print] [--tool NAME] [--with-mcp] [PATH]
Run gglint as uvx gglint, npx @gglint/cli, pnpm dlx @gglint/cli or bunx @gglint/cli;
the examples below use uvx.
The options below are for gglint mcp; secrets and
hook describe their own.
| Option | Effect |
|---|---|
| (none) | Report every problem and draw each server in each agent. |
--fix |
Add missing servers and config files, start each server the same way, then report what's left. |
--source AGENT |
Take each server's setup from AGENT where it has the server. AGENT is a name from the --source column of Supported agents, such as claude-code or gemini-cli. |
--format FORMAT |
table (the default), lines, github, sarif or markdown. See Output formats. |
--servers |
List every configured server, file by file, without comparing them. |
PATH |
The repository's root. Defaults to the current directory. |
| Exit status | Meaning |
|---|---|
0 |
Every agent gets the same servers, set up the same way. |
1 |
gglint found a problem, one is left after --fix, or there are no MCP config files. |
gglint secrets exits with status 1 when it finds a problem, and 0 when it finds none or
only warnings, such as a secret in a file git ignores.
Colours are used when standard output is a terminal and NO_COLOR isn't set. The summary
line, with counts and timing, goes to standard error.
Finding secrets
gglint secrets finds credentials written out in the files that configure your coding
agents: for every supported agent, its MCP config files, settings, hooks,
rules, commands and instruction files such as CLAUDE.md (see
Files it reads). These files are committed, so a token pasted into
.mcp.json ends up in git history. It also stops the agents' personal files, such as
.claude/settings.local.json, from being committed at all.
uvx gglint secrets # report every secret
uvx gglint secrets --fix # replace each with a reference to an environment variable
uvx gglint secrets --staged # only what's staged in git: the copy the commit gets
uvx gglint secrets FILE... # only these, where they're agent files, as a hook passes them
| Rule | Reported when |
|---|---|
inline-secret |
Text has the format of a known credential: GitHub, GitLab, Anthropic, Slack, Stripe, Google and npm tokens, AWS access key IDs, API keys starting with sk-, and private key blocks. |
inline-credential |
A JSON or TOML value under a name such as token, password, api_key or Authorization is written out instead of being a reference to an environment variable; a password is written into a URL (postgresql://admin:secret@db/app); or a command carries one, as a command Claude Code saves as allowed does: a header (curl -H "Authorization: Bearer …"), a variable set for the command (PGPASSWORD=… psql) or an option (--token …, sshpass -p …, mysql -p…). |
local-file |
An agent file meant for one person's machine is in git, such as .claude/settings.local.json, where Claude Code saves the commands you allow, secrets and all: see the personal files in Files it reads. Whatever it holds, so a secret no pattern recognises is stopped too. It's a warning while the file is on disk and git doesn't ignore it yet. |
Placeholders (your-token-here, ghp_xxxx…), references (${GITHUB_TOKEN}) and values that
name a variable (bearer_token_env_var = "GITHUB_TOKEN") aren't reported. A secret's value is
never printed: gglint shows its kind, the name it's under, and where it is. A secret in a file
git ignores is a warning, since it isn't committed; only errors fail.
--fix writes the reference in the agent's own syntax, such as Bearer ${env:GITHUB_TOKEN}
in Cursor, and keeps everything else in the file as it was. An agent with no way to refer to
an environment variable, such as Codex in a http_headers table, is reported and left alone,
and so is a secret in a command: take it out of the command, or remove the command the agent
saved as allowed, with /permissions in Claude Code. --fix also adds a personal agent file to .gitignore; one
that's already in git needs git rm --cached too. A secret that was ever committed is in git
history: rotate it.
Files it reads
Besides each agent's MCP config file, listed in Supported agents,
gglint secrets reads these files. In a folder, it reads the Markdown, JSON, TOML and YAML
files at its top. A personal file is reported by local-file once it's in git, whatever is in it; the
agent's docs say to keep it out of git, or it's where they say to put your API key.
| Agent | Instructions and settings | Rules, commands and hooks | Personal files |
|---|---|---|---|
| Claude Code | CLAUDE.md, .claude/settings.json |
.claude/commands/, .claude/agents/ |
.claude/settings.local.json, CLAUDE.local.md, .claude/.credentials.json |
| Codex | AGENTS.md |
.codex/auth.json |
|
| Cursor | .cursorrules, .cursor/cli.json |
.cursor/rules/, .cursor/commands/ |
|
| OpenCode | AGENTS.md |
.opencode/agents/, .opencode/agent/, .opencode/commands/, .opencode/command/ |
|
| Amp | AGENTS.md, AGENT.md |
||
| Antigravity | .agents/rules/, .agents/workflows/, .agent/rules/, .agent/workflows/ |
||
| Continue | .continue/mcpServers/, .continue/models/, .continue/rules/, .continue/prompts/ |
.continue/.env |
|
| Copilot CLI | .github/copilot-instructions.md, AGENTS.md, .github/copilot/settings.json |
.github/instructions/, .github/hooks/ |
.github/copilot/settings.local.json |
| Crush | AGENTS.md, CRUSH.md, .crushrc, crushrc |
||
| Factory Droid | AGENTS.md, .factory/settings.json |
.factory/droids/, .factory/commands/ |
.factory/settings.local.json |
| Gemini CLI | GEMINI.md |
.gemini/commands/ |
.gemini/.env |
| Junie | .junie/ |
||
| Kilo Code | AGENTS.md |
||
| Kimi Code | AGENTS.md |
||
| Kiro | .kiro/steering/, .kiro/hooks/ |
||
| Mistral Vibe | AGENTS.md |
.vibe/agents/ |
|
| Qoder | AGENTS.md |
.qoder/settings.local.json |
|
| Qwen Code | QWEN.md |
.qwen/commands/ |
.qwen/.env |
| Trae | .trae/rules/ |
||
| VS Code | .github/copilot-instructions.md, AGENTS.md |
.github/instructions/, .github/prompts/ |
|
| Zed | .rules, AGENTS.md |
It also reads .windsurfrules and .clinerules, the instructions of Windsurf and Cline, which
keep their MCP servers outside the repository.
Before every commit
gglint hook runs gglint secrets --staged before each commit, so a secret never gets
committed in the first place. It uses the tool your repository already has:
| Tool | What gglint hook does |
|---|---|
| husky | Adds the command to .husky/pre-commit, keeping what's there. |
| git | Adds it to git's pre-commit hook, wherever core.hooksPath puts it. |
| pre-commit | Prints the lines for .pre-commit-config.yaml. |
| lefthook | Prints the lines for lefthook.yml. |
| lint-staged | Prints the lines for package.json. |
--tool NAME picks one instead of detecting it, --with-mcp adds the MCP check, and
gglint hook print only prints. Running it twice changes nothing.
In a repository with a package.json, gglint hook first adds gglint to the dev
dependencies, pinned to its version, with the repository's package manager: npm, pnpm, yarn
or bun, from its packageManager field or its lockfile. The hook then runs that copy, with
npx --no -- gglint, pnpm exec gglint, yarn gglint or bun run gglint, so every
contributor has it once they've installed the repository's packages, and nobody needs uv. If
the package manager fails, the hook isn't written. In any other repository, the hooks run
uvx gglint@<version>, pinned to the version that wrote them, so uv has to be installed.
With the pre-commit framework, gglint is also a source of hooks:
# .pre-commit-config.yaml
repos:
- repo: https://github.com/corridor/gglint
rev: v0.5.0
hooks:
- id: gglint-secrets
- id: gglint-mcp # optional: the MCP servers of every agent match
What gglint checks
| Rule | Reported when | Fixed by |
|---|---|---|
missing-server |
A server in one agent's config file is missing from another agent's. | --fix |
missing-config |
An agent has its own directory but no MCP config file, while other agents have servers. | --fix |
different-server |
The same server runs another version or has other arguments. | --fix |
| The same server runs another program or URL, has other environment variables or headers, or is turned off in one agent. | Reported only | |
renamed-server |
The same server has a different name in some agents. | Reported only |
--fix makes the command lines match, since the same server should normally start the same
way everywhere. The other differences can be deliberate, such as each agent setting its own
environment variables, so gglint reports them and leaves them to you.
Matching servers. Servers are matched by name, then by what they run, so a server named differently in one agent is still recognised as the same server. The way a package is launched doesn't count as a difference:
npx -y pkg,npx --yes pkg@latest,pnpm dlx pkg,yarn dlx pkg,bunx pkgandbun x pkgall run the npm packagepkg.uvx pkg,uv tool run pkgandpipx run pkgall run the PyPI packagepkg.npx mcp-remote <url>reaches the remote server at<url>.- No version and
latestboth mean the newest version. ${KEY}in Claude Code,${env:KEY}in Cursor and$KEYin Gemini CLI refer to the same environment variable.
Environment variables and headers are compared by name only, since their values can be secrets.
Supported agents
| Agent | --source |
MCP config file | Agent directory | Format |
|---|---|---|---|---|
| Claude Code | claude-code |
.mcp.json |
.claude/ |
JSON, mcpServers |
| Codex | codex |
.codex/config.toml |
.codex/ |
TOML, [mcp_servers.<name>] |
| Cursor | cursor |
.cursor/mcp.json |
.cursor/ |
JSON, mcpServers |
| OpenCode | opencode |
opencode.json, opencode.jsonc |
.opencode/ |
JSON with comments, mcp.servers or mcp |
| Amp | amp |
.amp/settings.json |
.amp/ |
JSON, amp.mcpServers among other settings |
| Antigravity | antigravity |
.agents/mcp_config.json |
none | JSON, mcpServers |
| Continue | continue |
.continue/mcpServers/, every YAML and JSON file |
.continue/ |
YAML, an mcpServers list in each file; or JSON, mcpServers |
| Copilot CLI | copilot-cli |
.github/mcp.json, or .mcp.json |
none | JSON, mcpServers or servers at the top |
| Crush | crush |
.crush.json, crush.json |
none | JSON, mcp, each with a type |
| Factory Droid | droid |
.factory/mcp.json |
.factory/ |
JSON, mcpServers |
| Gemini CLI | gemini-cli |
.gemini/settings.json |
none | JSON, mcpServers among other settings |
| Junie | junie |
.junie/mcp/mcp.json |
.junie/ |
JSON, mcpServers |
| Kilo Code | kilo |
.kilo/kilo.json, kilo.json, or .jsonc |
.kilo/ |
JSON with comments, mcp |
| Kimi Code | kimi-code |
.kimi-code/mcp.json |
.kimi-code/ |
JSON, mcpServers |
| Kiro | kiro |
.kiro/settings/mcp.json |
.kiro/ |
JSON, mcpServers |
| Mistral Vibe | vibe |
.vibe/config.toml |
.vibe/ |
TOML, [[mcp_servers]] with a name each |
| Qoder | qoder |
.qoder/settings.json, .mcp.json |
.qoder/ |
JSON, mcpServers among other settings |
| Qwen Code | qwen-code |
.qwen/settings.json |
.qwen/ |
JSON, mcpServers among other settings |
| Trae | trae |
.trae/mcp.json |
.trae/ |
JSON, mcpServers |
| VS Code | vscode |
.vscode/mcp.json |
none | JSON, servers, each with a type |
| Zed | zed |
.zed/settings.json |
none | JSON with comments, context_servers among other settings |
gglint compares the agents that have an MCP config file or their own directory at the
repository's root. A CLAUDE.md, .cursorrules or AGENTS.md file on its own doesn't
count, because it doesn't show that the agent is set up in the repository. Antigravity,
Copilot CLI, Gemini CLI, VS Code and Zed count only once they have their config file: many
repositories have an .agents/, .github/, .gemini/, .vscode/ or .zed/ directory for
other reasons, such as skills, workflows, Gemini Code Assist's reviews or editor settings.
Crush's JSON files are its older format: gglint reads and fixes .crush.json or crush.json
but never creates one. Crush also reads servers from .crushrc or crushrc, shell scripts
gglint doesn't read, and gglint says so when one is there. Crush fills in $VAR and runs
$(command) in every value, so a value with $ in it isn't copied to Crush.
Kilo Code reads no environment variable in a repository's config: though its docs show
{env:VAR}, it skips a whole kilo.json that has one, with every server in it. So a server
that reads a variable isn't copied to Kilo Code, and for a secret in its file, gglint secrets
suggests your own Kilo Code config instead.
VS Code can ask for a value once with ${input:id}, such as a token; a server that uses one
isn't copied to another agent. Zed doesn't fill in environment variables, so a server that
reads one isn't copied to Zed, and a Zed server started by an extension is named but not
compared.
Continue reads every YAML and JSON file in .continue/mcpServers/. In a YAML file, it fills
in ${{ secrets.NAME }} from its .env files and then the environment; in a JSON file, written
as Claude Code writes it, only ${NAME} in env. --fix adds each missing server in a YAML
file of its own, named after the server, and never changes a file that's there.
Mistral Vibe writes values as they are, and reads a header from the environment with
api_key_env, so a server that reads a variable another way isn't copied to it. It reaches
remote servers over streamable HTTP only, so a server reached over SSE isn't copied to it
either.
Qoder reads Claude Code's .mcp.json as well as its own file: a server there counts as
Qoder's, and a server missing from both is added to .mcp.json only.
Copilot CLI reads .mcp.json instead of .github/mcp.json whenever .mcp.json exists, so it
gets the same servers as Claude Code, and gglint warns that .github/mcp.json goes unread.
--fix creates a .mcp.json only if every server in .github/mcp.json is written to it.
Copilot also skips a .github/mcp.json that lists no servers under mcpServers or at its
top, such as one with VS Code's servers: gglint warns about it and leaves it alone.
How fixing works
Every server is copied from the first config file where it's turned on, in the order of the
table in Supported agents. To make one agent the source of truth
instead, name it with --source: uvx gglint mcp --fix --source codex takes each server from
Codex wherever Codex has it turned on, and from the first agent otherwise. --fix never
removes a server.
- A missing server is added to each config file that lacks it.
- An agent with its own directory but no config file gets one, with every server that is turned on in the other agents.
- A server that runs another version of the same program, or the same program with other
arguments, gets the command and arguments of that first config file. Its environment
variables, headers, on/off state and keys only one agent has, such as Codex's
cwd, are kept. Review the result withgit diff: a difference such as a runtime chosen per agent, or a path that starts with Cursor's${workspaceFolder}, may have been deliberate. - JSON is edited with jsonc-parser and TOML with toml_edit, so comments and formatting are kept.
- Running
--fixa second time changes nothing. - A file excluded by
.gitignoreis still updated, and markedgitignoredin the output, because the change won't be committed.
References to environment variables are rewritten in each agent's syntax, in values and in command lines:
| Agent | Environment variable KEY |
|---|---|
| Claude Code | ${KEY} |
| Cursor | ${env:KEY} |
| OpenCode | {env:KEY} |
| Gemini CLI, Qoder, Qwen Code | $KEY or ${KEY}, written ${KEY} |
| Kiro, Factory Droid | ${KEY}, in environment variables and headers only |
| Codex | env_vars = ["KEY"], env_http_headers, or bearer_token_env_var for Authorization: Bearer |
| Kimi Code | bearerTokenEnvVar for Authorization: Bearer |
| Antigravity, Copilot CLI, Junie, Trae | None documented, so a server that reads the environment isn't copied to them |
Each server is written the way its agent expects:
- Remote servers get
"type": "http", or"sse"for a URL ending in/sse, in Claude Code, Copilot CLI, Factory Droid and Qoder. - Gemini CLI and Qwen Code get the URL as
httpUrl, or asurlfor SSE. - Kimi Code gets
"transport": "sse"for SSE, and a bearer token read from the environment asbearerTokenEnvVar. - Antigravity gets the URL as
serverUrl. It reaches remote servers over streamable HTTP only, so a server reached over SSE isn't added. - Copilot CLI's local servers get
"type": "local". - OpenCode servers get
"type": "local"or"remote", with the command and its arguments in one list.
A server is skipped, and listed under Not added:, when its setup can't be expressed in the
other agent's format: for example Claude Code's ${KEY:-default}, Cursor's
${workspaceFolder}, an environment variable inside a command line, which Codex, Kiro and
Factory Droid don't expand, or any environment variable for an agent whose docs don't say how
to refer to one.
Example
$ uvx gglint mcp --fix
Changed 4 files:
.mcp.json added linear
.codex/config.toml added github, playwright, linear
.cursor/mcp.json added github; updated playwright
opencode.json (new) added github, playwright, linear
Review the changes with `git diff`.
The same github server, written for Codex and Cursor:
# .codex/config.toml
+[mcp_servers.github]
+url = "https://api.githubcopilot.com/mcp/"
+bearer_token_env_var = "GITHUB_TOKEN"
# .cursor/mcp.json
+ "github": {
+ "url": "https://api.githubcopilot.com/mcp/",
+ "headers": {
+ "Authorization": "Bearer ${env:GITHUB_TOKEN}"
+ }
+ }
Cursor's playwright now starts as in Claude Code:
# .cursor/mcp.json
- "args": ["-y", "@playwright/mcp@latest"]
+ "args": ["-y", "@playwright/mcp@0.0.78", "--headless"]
Output formats
--format lines prints one problem per line: where it is, the rule, and a description, with
the server's other locations indented below it.
$ uvx gglint mcp --format lines
./.mcp.json:3:5 missing-server `github` is set up for Claude Code but not for Codex (.codex/config.toml) or Cursor (.cursor/mcp.json)
./.mcp.json:8:5 different-server `playwright` runs different versions of the npm package `@playwright/mcp`: 0.0.78 in Claude Code; the newest in Cursor
also at ./.cursor/mcp.json:3:5
./.mcp.json:3:5 missing-config OpenCode has a .opencode directory but no opencode.json, so it gets none of the 3 MCP servers set up for Claude Code and Cursor
--servers lists every server as it's written. Environment variables and headers are shown
by name, never by value.
$ uvx gglint mcp --servers
./.mcp.json:3:5 claude-code github https://api.githubcopilot.com/mcp/ (headers=[Authorization])
./.mcp.json:8:5 claude-code playwright npx -y @playwright/mcp@0.0.78 --headless
./.cursor/mcp.json:3:5 cursor playwright npx -y @playwright/mcp@latest
./.cursor/mcp.json:7:5 cursor linear https://mcp.linear.app/sse
Formats for CI
--format takes the same five values for mcp and secrets:
| Format | Prints |
|---|---|
table |
The default: each command's own drawing, for reading in a terminal. |
lines |
One line per problem. |
github |
Workflow commands, so GitHub shows each problem as an annotation on its line in a pull request's Files changed. |
sarif |
A SARIF 2.1.0 log, for GitHub's Security, Code scanning tab. Each command is its own category. |
markdown |
A section for a pull request comment: the problems as a table, and for mcp a table of servers by agent. |
The summary line still goes to standard error, so standard output holds only the report.
GitHub Action
The gglint action checks every pull request, and only reports: it never changes a file.
# .github/workflows/gglint.yml
name: gglint
on: [pull_request]
permissions:
contents: read
pull-requests: write # for the comment
jobs:
gglint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: corridor/gglint@v1
It does three things with what gglint finds:
- Annotations. Each problem appears on its line in the pull request's Files changed.
- One comment. The problems, and a table of which agent gets which MCP server, in a single
comment that's updated on every push, and left alone when a pull request has no problems.
Posting needs
pull-requests: write; a pull request from a fork can't post, and still gets the annotations and the failing check. - Code scanning (optional). With
sarif: true, the findings also go to Security, Code scanning, where they can be tracked and dismissed. That needssecurity-events: write, and Code scanning enabled on a private repository.
| Input | Default | Meaning |
|---|---|---|
command |
all |
secrets, mcp or all. |
path |
. |
The repository's root, for a repository checked out elsewhere. |
version |
the one @v1 was released with |
The gglint version to run, from PyPI. Pin it for repeatable runs. |
fail-on-problems |
true |
Set to false to report without failing the check. |
comment |
true |
Post the pull request comment. |
sarif |
false |
Upload to Code scanning. |
A repository with no MCP config files has nothing to compare, so mcp is skipped with a
notice. The action runs gglint with uv and doesn't start a
server or fetch anything else.
To run gglint without the action:
- uses: astral-sh/setup-uv@v7
- run: uvx gglint@0.5.0 mcp --format github
- run: uvx gglint@0.5.0 secrets --format github
Security
- Read-only by default. Without
--fix, gglint reads files and writes nothing. - Nothing is executed or fetched. MCP servers aren't started, packages aren't resolved, and environment variables aren't expanded. It's safe to run on an untrusted repository.
- Secrets stay out of the output. Environment variables and headers are printed by name
only, and
gglint secretsshows a secret's kind, the name it's under and where it is, never its value. - One external program: git. gglint runs
git check-ignoreto mark files your.gitignoreexcludes (inmcp --fixand insecrets),git ls-filesto see whether a personal agent file is in git,git diff --cachedandgit showto read what's staged forsecrets --staged, andgit rev-parse --git-path hooksforgglint hook. - Nothing is overwritten by
hook. An existing hook script is extended, once.
Limitations
- Servers added by Claude Code plugins, enabled in
.claude/settings.json, aren't read. A server provided by a plugin can be reported as missing from Claude Code. - User-level settings such as
~/.claude.jsonor~/.codex/config.tomlaren't read. - Only config files at the repository's root are read, so each package of a monorepo is checked separately.
- Gemini CLI loads only the servers listed in
mcp.allowed, when its settings have that list, and never those inmcp.excluded; gglint reports the servers these lists leave out as turned off.--fixdoesn't edit the lists, so a server it adds whilemcp.allowedis set stays off until you add it there. gglint secretsreads a file line by line. It finds a value under a name such astokenin JSON and TOML files, and in every agent file the credential formats it knows, passwords in URLs and secrets in commands. It misses a password made of one kind of letters ("hunter") or shorter than 8 characters, and in a command one with no digit or symbol (app-reader), as commands and the text around them are full of words and names. It doesn't read.envfiles or other source, and doesn't search git history: a secret that was ever committed has to be rotated. An agent's.envfile is reported once it's in git, but not read.gglint secrets --fixcan't change a value for an agent that has no way to refer to an environment variable, such as Codex inhttp_headers; it reports it and says what to use instead.- Windsurf, Cline and Goose read MCP servers only from the user's home directory, so there's nothing in a repository to compare.
- Amp, Codex, Copilot CLI, Gemini CLI, Mistral Vibe, Qoder, Qwen Code and Zed load a
repository's MCP servers only once you trust the project or approve its servers. Trae reads
.trae/mcp.jsononce project MCP is turned on in its settings.
Development
gglint is written in Rust. CONTRIBUTING.md
says how to build and test it and open a pull request, and how releases are made.
ARCHITECTURE.md is a map of the
code, and says where to start to support another agent. The documentation site's source is in
docs/.
License
gglint is licensed under the Apache License 2.0. The licenses of the libraries compiled into it are listed in THIRD_PARTY_LICENSES.
Metadata
Release files for gglint 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gglint-0.5.0.tar.gz | 235.6 kB | With provenance | Details for gglint-0.5.0.tar.gz |
Built distributions (wheels)
Total release size: 6.1 MB
Release files / gglint-0.5.0.tar.gz
| Download URL | gglint-0.5.0.tar.gz |
|---|---|
| Size | 235.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4673bee30db544f70a6588540dab8c9f9c68215ed5b3f2358cc9f023c6848307
|
|
BLAKE2b-256 checksum How to use checksums |
073d1cc098c62bf992296f445293f0cd73113b79cbaf3093f2bcbc7243fb4a80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / gglint-0.5.0-py3-none-win_arm64.whl
| Download URL | gglint-0.5.0-py3-none-win_arm64.whl |
|---|---|
| Size | 677.2 kB |
| Tags | Python 3 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
1661629a42a5b72e090ce4c957fc3dbed525f86dc5ef8af94cb976b258fa150e
|
|
BLAKE2b-256 checksum How to use checksums |
79f7e4948c67fac7a78d3356f04818f11380854091e94d64501e16747db4c5f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / gglint-0.5.0-py3-none-win_amd64.whl
| Download URL | gglint-0.5.0-py3-none-win_amd64.whl |
|---|---|
| Size | 743.6 kB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
133f3b97c62af21cc1ef9241e056981ada7b9f5842d14cfbdce7df6659814cbf
|
|
BLAKE2b-256 checksum How to use checksums |
e291ba20f40cd9dd8c972a82051b2b0b4409d2ee9968f35edb8092528b5c1525
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / gglint-0.5.0-py3-none-musllinux_1_2_x86_64.whl
| Download URL | gglint-0.5.0-py3-none-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 810.8 kB |
| Tags | Linux musl 1.2+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
daf6423538f8c9499d8e65a9117641f0a5afa83fecae21933b69e2b3b44f88fd
|
|
BLAKE2b-256 checksum How to use checksums |
d71d1d65f8e2945804ca3af56f5e69eea28402b624dfe8a09702c623796d4c77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / gglint-0.5.0-py3-none-musllinux_1_2_aarch64.whl
| Download URL | gglint-0.5.0-py3-none-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 754.8 kB |
| Tags | Linux musl 1.2+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
3e9e9b8028cf5da0c53ee37e2edb95d43c61e0bbf96a83ee4f3d77be4d3429f3
|
|
BLAKE2b-256 checksum How to use checksums |
b6d7597eeb8b5494707884184a7a6101e70586e6c34a27399e4afb49169bb06d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / gglint-0.5.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | gglint-0.5.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 762.6 kB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
d185424b9403bac525303684c3d719fa8f576e532d56a8b07ae30a6c97ae9d16
|
|
BLAKE2b-256 checksum How to use checksums |
293de6db02e7f40ba2e946d8a12adad0cb01e5f960c118ba042379991b85cd05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / gglint-0.5.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | gglint-0.5.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 712.1 kB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
698d8d642a28c8993324c8b9020ae248e99981e121ae540d6a39df113994327f
|
|
BLAKE2b-256 checksum How to use checksums |
a207ffbfe1e9ef94e43e7db86a7ea484b29c5da4b2aa1beefd360f7703fd379b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / gglint-0.5.0-py3-none-macosx_11_0_arm64.whl
| Download URL | gglint-0.5.0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 685.9 kB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
2d8a13c02f022ace14319818f628d1d0a866131e46c57d528d18974fe1631e1e
|
|
BLAKE2b-256 checksum How to use checksums |
3a060fce7bb7333f09060d3449fbd5b1ea5cb50345c0c3fea967403582df1736
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / gglint-0.5.0-py3-none-macosx_10_12_x86_64.whl
| Download URL | gglint-0.5.0-py3-none-macosx_10_12_x86_64.whl |
|---|---|
| Size | 737.6 kB |
| Tags | Python 3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
1edac3ea44de48ba56efff279b789c6b3ead99acf5a925c8c57be4ae0a6d8bbe
|
|
BLAKE2b-256 checksum How to use checksums |
4336433d82b6d7ee3923d9495e1288d36ae691802e0f1c2712a4df622fc82e78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logSecurity for gglint 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 9 files in this release have been uploaded with provenance metadata.
Attestation for gglint-0.5.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.