Custoden MCP Server
Lets AI coding agents check npm and PyPI packages, lockfiles and GitHub workflows for malware
Custoden scores 66 (Good), licensed MIT and written in JavaScript. It installs as a local process. It declares 7 tools. Filed under Security, Version control. GitHub shows 0 stars. Package registries report about 600 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "custoden-mcp": { "command": "npx", "args": [ "-y", "@custoden/mcp@0.2.3" ] } }}
Environment variables
This server does not declare environment variables.
Tools7Tool docs quality grade C
All capabilitiesanalyze_ci_filestoolCredential theft and campaign indicators in up to 10 files that run during CI (package scripts, setup.py, conftest.py, Makefiles, shell scripts)
analyze_workflowtoolSecret theft, script injection, untrusted checkouts, risky actions and missing permissions in a GitHub Actions workflow
check_packagetoolMalware, install-time code, typosquatting, new or unpopular releases and known vulnerabilities for one npm or PyPI package
check_packagestoolThe same for up to 10 packages
scan_lockfiletoolKnown malware and vulnerabilities in every package of a lockfile, including transitive dependencies. Reads the file from a local path, or takes its content
scan_recent_runstoolWorkflows that actually ran in a public repository, including ones removed or force-pushed away afterwards
scan_repositorytoolVulnerable, outdated and unused dependencies, workflows and CI files of a public GitHub repository
About
Custoden MCP server
Lets AI coding agents check dependencies and CI pipelines before they use them. The agent checks an npm or PyPI package before installing it, reviews GitHub Actions workflows as it writes them, and can scan a public repository on request.
AI assistants sometimes suggest packages that do not exist, and attackers register those names (slopsquatting). With this server the agent finds out before it runs npm install.
It calls the free Custoden API. No account or API key, and no runtime dependencies. Published on npm as @custoden/mcp.
Tools
| Tool | What it does |
|---|---|
check_package | Malware, install-time code, typosquatting, new or unpopular releases and known vulnerabilities for one npm or PyPI package |
check_packages | The same for up to 10 packages |
scan_lockfile | Known malware and vulnerabilities in every package of a lockfile, including transitive dependencies. Reads the file from a local path, or takes its content |
analyze_workflow | Secret theft, script injection, untrusted checkouts, risky actions and missing permissions in a GitHub Actions workflow |
analyze_ci_files | Credential theft and campaign indicators in up to 10 files that run during CI (package scripts, setup.py, conftest.py, Makefiles, shell scripts) |
scan_repository | Vulnerable, outdated and unused dependencies, workflows and CI files of a public GitHub repository |
scan_recent_runs | Workflows that actually ran in a public repository, including ones removed or force-pushed away afterwards |
All tools are read-only.
Install
Requires Node.js 20 or later.
Cursor
Click Add to Cursor above, or add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project):
{
"mcpServers": {
"custoden": {
"command": "npx",
"args": ["-y", "@custoden/mcp"]
}
}
}
Claude Code
claude mcp add custoden -- npx -y @custoden/mcp
Claude Desktop
Add the same mcpServers entry as for Cursor to claude_desktop_config.json (Settings, Developer, Edit Config).
VS Code
Add this to .vscode/mcp.json:
{
"servers": {
"custoden": {
"command": "npx",
"args": ["-y", "@custoden/mcp"]
}
}
}
Other clients
Any client that supports stdio servers can run npx -y @custoden/mcp.
Example
Ask your agent to add a dependency, and it checks it first:
npm expres@0.0.5: verdict review, risk medium. Review the findings before installing.
Findings:
- [medium] Name resembles popular package "express". "expres" differs from the widely used "express" by one or two characters. Confirm you meant this package.
PyPI package "reqeusts-ai" does not exist. If an AI assistant suggested this name, do not install it: unregistered names can be claimed by attackers (slopsquatting).
To make checking automatic, add a line to your agent rules, for example in AGENTS.md:
Before adding or installing an npm or PyPI package, check it with the custoden check_package tool.
Rate limits
The API is free and limited per IP address: 20 units per minute and 300 per day, and 4 repository scans per hour. See Rate limits. When a limit is hit, the tool returns the error with the number of seconds to wait.
Configuration
| Variable | Default | Purpose |
|---|---|---|
CUSTODEN_API_URL | https://api.custoden.com | API base URL |
Privacy
Package names, lockfiles, workflows and files the agent sends are analyzed in memory and not stored. scan_lockfile only reads files named like a supported lockfile. See the privacy policy.
Development
npm ci
npm run typecheck
npm test
License
Frequently asked questions
What is Custoden MCP Server?
Lets AI coding agents check npm and PyPI packages, lockfiles and GitHub workflows for malware
How do I install Custoden MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Custoden MCP Server runs locally from the npm package @custoden/mcp with the command npx -y @custoden/mcp@0.2.3.
Is Custoden MCP Server free and open source?
Yes. Custoden MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Custoden MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Custoden MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does Custoden MCP Server provide?
Custoden MCP Server provides 7 tools, including analyze_ci_files, analyze_workflow, check_package, and check_packages. See the full tool list for descriptions and parameters.
How is Custoden MCP Server's trust score calculated?
Custoden MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.
