Guide
Register your application's stack from an AI agent (MCP) or the CLI.
Overview
Zyunkai keeps a list of the languages, libraries, infrastructure and external APIs your applications depend on, and tells you when any of them reaches end of life (EOL), has an update, or is affected by a vulnerability.
EOL dates come from endoflife.date and similar sources, releases from GitHub and package registries, vulnerabilities from OSV.dev, official product and distribution data and Wordfence Intelligence, and known exploitation from the CISA Known Exploited Vulnerabilities (KEV) catalog. The full list is on the Data sources page (linked in the footer).
There are three ways to register a stack.
| Method | Best for | What it can pick up |
|---|---|---|
| AI agent (MCP) | You already use Claude Code or a similar agent and want to register everything in one go | Config files, plus things only visible in code, such as external API usage |
| CLI | You want CI to keep the stack up to date automatically | Standard files only: lockfiles, Dockerfiles and the like |
| Web UI | You only need to add a few items by hand | Whatever you type in |
Whichever you choose, only the items listed under “What we store” (names, versions and the like) are sent. Your source code is never sent to Zyunkai.
What we store
Zyunkai stores what you use and which version, plus only the items listed under “Stored” below.
Nothing about what your application does is read from your code or repository. The optional description field stores only what you type into it (please keep sensitive information out of it).
Stored
- Application names and slugs
- An optional description or notes, only what you write yourself
- Names and versions of languages, libraries, infrastructure and external APIs
- Where to look up public information for each one: the library's own GitHub repository, its endoflife.date product name, and its package name
Never stored
- What the application does or what data it handles
- Implementation details, such as which features you use or how things are wired together
- Your git information: your own repository URLs, branches, commits and committer names
- Source code, configuration values and environment variables
Application names are free-form, so use an internal codename if the real name is sensitive. The MCP tool descriptions also instruct agents to register only what is listed under “Stored”.
1Create an API token
Both MCP and the CLI authenticate with an API token.
- Open Settings. Under “API tokens”, enter a name that tells you where the token is used (for example, “Claude Code (my laptop)”) and click “Create token”.
- Copy the token, a string starting with
sc_. It is shown only once.
Anyone except viewers can create tokens. A token can do what the person who created it can do right now (including registering and changing that organization's applications), so delete tokens you no longer use, or that may have leaked, from Settings.
2Add the MCP server to your agent
The endpoint is https://zyunkai.com/api/mcp. Replace <token> below with the token you created.
Claude Code
Run this in your terminal.
claude mcp add --transport http zyunkai https://zyunkai.com/api/mcp \ --header "Authorization: Bearer <token>"
To check that it worked, type /mcp inside Claude Code. You are ready once zyunkai shows as connected. If Claude Code was already running, restart it first.
This saves the server for the current project only. Add --scope user to make it available in every project.
Using a config file
If your agent manages MCP servers in a config file such as .mcp.json, add this entry.
{
"mcpServers": {
"zyunkai": {
"type": "http",
"url": "https://zyunkai.com/api/mcp",
"headers": {
"Authorization": "Bearer <token>"
}
}
}
}Do not commit a file that contains your token.
Scanning a local repository (CLI as MCP server)
You can also run the CLI as an MCP server. It adds a scan_repository tool that reads the local directory mechanically. Complete the login step in Register with the CLI first, then run this.
claude mcp add zyunkai -- zyunkai mcp
3Ask your agent
With the MCP server added, open your agent in the repository you want to register and ask in plain language.
Read this repo's package.json, lockfile and Dockerfile, and register the languages, libraries and infrastructure in zyunkai. Also look through the code for external APIs we call and add those.
Use zyunkai to show me what is past EOL and which vulnerabilities affect this app. Rank them by priority.
I just upgraded Next.js. Update what's registered in zyunkai to match the current lockfile.
Register the exact version resolved in the lockfile, not a range like ^1.2.3 (the MCP tool descriptions also instruct agents to do so). Vulnerability matching is unreliable against a range.
MCP tools
| Tool | What it does |
|---|---|
| register_application | Registers or updates an application and its components in one call, and returns the results. Updates the existing application if the slug matches |
| upsert_component | Adds one component. If it already exists, updates only the fields you pass |
| remove_component | Removes one component |
| list_applications | Lists applications with the number of items that need attention |
| get_application | Returns the EOL, update and vulnerability results for each component |
| refresh_application | Fetches fresh data and returns the latest results |
| scan_repository | (CLI MCP server only) Reads the stack of a local directory and returns it. Sends nothing |
The CLI MCP server does not include upsert_component or remove_component.
Register with the CLI
The CLI reads standard files in your repository locally and registers what it finds. Use it when you are not working with an agent, or to run in CI.
The CLI is not on npm yet. For now, run pnpm cli:build in this service's repository and use node packages/cli/dist/cli.js in place of zyunkai.
# Save the URL and token (first time only; paste the token when asked, it is not shown) zyunkai login --url https://zyunkai.com # Print the detected stack (sends nothing) zyunkai scan # Register it and print the results zyunkai scan --push # Show the state of registered applications zyunkai status
What it detects
- npm libraries:
package.jsonand the lockfile (pnpm, npm or yarn) - Node.js, Python, Go and Ruby versions:
.nvmrc,.node-version,.python-version,.ruby-version,.tool-versions,go.modand similar - Python libraries:
requirements.txt(entries pinned with==) - Go libraries:
go.mod(direct dependencies) - PHP libraries:
composer.jsonandcomposer.lock(direct dependencies) - Ruby gems:
Gemfile.lock(direct dependencies) - Java (JDK) and Spring Boot:
pom.xml, Gradle files,.java-versionand similar - WordPress core, plugins and themes:
composer.lock,wp-includes/version.php - Databases and middleware: official images in
Dockerfileand compose files - OS (distribution): the
FROMline inDockerfile
It cannot detect external API usage or infrastructure defined in Terraform and similar tools. Add those through an AI agent or the web UI.
Running in CI
Pass the URL and token as environment variables instead of running login. With --replace, components that are no longer in the repository are removed, so the registration always mirrors the repository.
export ZYUNKAI_URL=https://zyunkai.com export ZYUNKAI_TOKEN=<token> zyunkai scan --push --slug my-app --replace
Choosing what to send (.zyunkai.json)
Put a .zyunkai.json file in your repository to leave components out or add ones the CLI cannot detect. zyunkai init writes a starter file. The file is safe to commit, so never put tokens or the server URL in it.
{
"exclude": ["eslint", "@types/*", "devDependencies"],
"include": [
{ "name": "postgresql", "version": "16.4" },
{ "name": "nginx", "version": "1.26.2" }
],
"distro": "debian:12"
}exclude: components not to send, by exact name, a wildcard such as@types/*, or a category such asdevDependenciesinclude: databases, middleware and anything else the CLI cannot detect, each with anameandversion. If the CLI detects a component with the same name, your version replaces itdistro: the OS distribution, such asdebian:12. It takes precedence over what the CLI reads from theDockerfile
exclude only stops sending a component; anything you registered before stays. To remove it, add --replace or delete it in the web UI (--replace also removes components you added by hand, so list those under include). Run zyunkai scan to see what was excluded, added or overridden.
After you register
- Lists and details
- Applications shows the EOL, update and vulnerability status of every component.
- Vulnerability details
- On the application page, hover over (or tap) “N vulnerabilities” to open a card listing the IDs, titles and fixed versions, most severe first. “View all” takes you to the component's full vulnerability list.
- Exploited
- Vulnerabilities known to be exploited in the wild (listed in CISA KEV) are marked “Exploited”, and the component's status becomes “Action needed” regardless of severity.
- Regular checks
- Data is refreshed on a schedule. Anything that changed since the last check appears under “Recent changes” on the application page, including when a vulnerability that already affected you is newly added to CISA KEV.
- Notifications
- Add a Slack Incoming Webhook or a Discord webhook in Settings to be notified when something changes. Team sends every change right away, including when a vulnerability is found to be exploited. Free sends only critical-severity vulnerabilities and known exploited ones (CISA KEV), once a day, to one destination.
- Reports (Team)
- Open monthly reports from “Report” on the application page. Use “Print / Save as PDF” to export one.
Troubleshooting
- The API says a token is required (“An API token is required” or “API トークンが必要です”)
- The token is missing or wrong. Check that the
Authorizationheader isBearerfollowed by a space and the token, and that the token has not been deleted in Settings. - The tools do not show up in the agent
- Restart the agent after adding the MCP server. In Claude Code,
/mcpshows the connection status. - Registration fails with the Free plan limit of 5 applications
- The Free plan allows up to 5 applications, counted across all Free organizations with the same owner, not per organization. The API reports this in Japanese unless the request sends Accept-Language: en (“Free プランで登録できるアプリケーションは、同じオーナーのほかの Free の組織と合わせて 5 件までです”). To update an existing application, pass the same slug you registered it with. To register more, upgrade to Team.
- Registration fails with the application limit of your subscription
- The Team plan includes 10 applications, and each application add-on in Settings adds 10 more (¥1,800/month (¥18,000/year billed yearly), tax included). The API reports this in Japanese unless the request sends Accept-Language: en (“今の契約で登録できるアプリケーションは … 件までです”). If you reduce add-ons below what you have registered, existing applications stay, but checks and alerts are paused for those over the limit (the most recently registered first) and new registrations are blocked.
- Registration fails with the limit of 100 components per application
- Each plan limits components per application: up to 100 on Free and 500 on Team. If a registration would go over, nothing is registered. With the CLI, leave out
--devto register production dependencies only, or upgrade to Team. - EOL or updates show “Unknown” or “Not tracked”
- Zyunkai does not know where to look the component up. On the component's detail page, set the GitHub repository (
owner/repo), the endoflife.date product name, and the ecosystem used for vulnerability matching. Well-known components are filled in automatically from their name. - I want to track end-of-life dates for AWS, GCP or Azure services (Lambda, RDS, EKS, GKE, Cloud Run, Cloud SQL, Azure Functions…)
- Register them as infrastructure and use the endoflife.date product name, such as
aws-lambda,amazon-eks,amazon-rds-postgresqloramazon-aurora-mysql(names like “Amazon RDS for MySQL” also work). Write the version the way each product does: the runtime identifier for Lambda (nodejs22.x,python3.12),1.31for EKS, and the engine version for RDS and Aurora (16.4,8.0.39,3.05.2). For ElastiCache onlyamazon-elasticache-redis(Redis OSS) is supported. For GCP and Azure,google-kubernetes-engine(GKE),azure-kubernetes-service(AKS),azure-database-for-mysqlandazure-database-for-postgresqlare supported (GKE and AKS take a Kubernetes version such as1.31). Azure Database shows end-of-life dates only, not updates. Services that endoflife.date doesn't cover are collected from Google's and Microsoft's public pages. For Cloud Run and Cloud Functions usegcp-cloud-runorgcp-cloud-functionswith the runtime ID as the version (nodejs22,python312); after the decommission date you can't redeploy, and existing workloads may stop. For Cloud SQL usegcp-cloud-sql-mysqlorgcp-cloud-sql-postgresqlwith the engine version (8.0.39,16.4) orMYSQL_8_0_39/POSTGRES_16. For Azure Functions useazure-functions-languages, and for App Serviceazure-app-service-languages, with the version written as language-version, such asnode-22,python-3.12ordotnet-isolated-8(linuxFxVersion values likeNode|22also work). For App Service, only versions with a retirement notice on Azure Updates are known; other versions show as having no matching release line. - Vulnerabilities show “Not tracked”
- Library vulnerabilities are matched against OSV.dev, which works for libraries registered with an ecosystem (npm, pip and so on) and a version. Of languages and middleware themselves, Node.js and Go are checked, as are products with official data or Bitnami data (Python, Ruby, PHP, Java, PostgreSQL, Redis, nginx, OpenSSL and so on). OS packages are checked when a distribution is set. Write an exact version (x.y.z) such as
26.13.0(a release line alone or a range is not checked). See Supported technologies for what can be checked.