GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者による説明(英語の原文)
Move npm publishing in GitHub Actions from NPM_TOKEN to trusted publishing (OIDC).
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"go-tokenless": {
"command": "npx",
"args": [
"-y",
"go-tokenless",
"mcp"
]
}
}
}ターミナルでこれを実行します
claude mcp add go-tokenless -- npx -y go-tokenless mcpプロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"go-tokenless": {
"command": "npx",
"args": [
"-y",
"go-tokenless",
"mcp"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"go-tokenless": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"go-tokenless",
"mcp"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント Continuous-Actions で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(1.1.0)がレジストリに届いたのは31 日前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:GitHub, Desktop Commander, Cloudflare MCP
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Delete your `NPM_TOKEN`. One command switches npm publishing in GitHub Actions to trusted publishing (OIDC). No long-lived token is stored anywhere, and every release gets a provenance badge.
npm is retiring token publishing: from January 2027 a token can no longer publish on its own (npm docs).
Contents
From the root of the repository that publishes to npm:
npx go-tokenless # 1. preview: lists every change and shows a diff, writes nothing
npx go-tokenless apply # 2. edit the workflow and package.json files
Then follow the Next steps it prints: commit the change, connect the package to the workflow on npm, and delete the old secret. Needs Node 22.14+.
Only the lines that need to change are touched: comments, quoting and layout in your workflows are kept, and in package.json only the repository field is edited. Before writing, go-tokenless re-reads both versions and refuses if anything other than the migration would change.
| Problem in your release workflow | What go-tokenless does |
|---|---|
NODE_AUTH_TOKEN / NPM_TOKEN on the publish job (or the workflow) | Removes it, so the secret can be deleted. npm prefers OIDC but falls back to a configured token, which would keep the old token in use |
| Job can't request an OIDC token | Adds permissions: id-token: write, keeping the permissions it had |
| npm older than 11.5.1 (Node 22 and below) | Adds npm install -g npm@^12, or moves Node < 22 to 24 |
actions/setup-node without registry-url | Adds registry-url: https://registry.npmjs.org |
JS-DevTools/npm-publish below v4 | Updates it to v4, which no longer requires a token |
A script writes _authToken to .npmrc | Removes those lines |
repository missing or in the wrong form in package.json | Sets git+https://github.com/ / .git (with directory in monorepos) |
It stops with exit code 1 and writes nothing when a person needs to decide:
pull_request_target, issue_comment, workflow_run and similar triggers. Granting it OIDC would let a fork publish.Dry runs (npm publish --dry-run) never count as publishing. Steps that publish to GitHub Packages, and GITHUB_TOKEN values, are left alone.
Example output
$ npx go-tokenless
go-tokenless: Ready to go tokenless. (acme/widgets)
Changes: .github/workflows/release.yml
NODE_AUTH_TOKEN from job envid-token: writeNext:
npx go-tokenless apply (or apply the diff above) and commit the changes on a branch.gh secret delete NPM_TOKEN) and revoke the token on npmjs.com.
| Setup | Notes |
|---|---|
npm publish (incl. workspaces) | |
pnpm publish / -r publish | pnpm 10 hands off to npm; pnpm 11 needs 11.1.3+ |
Yarn Berry yarn npm publish | Yarn 4.10.3+; remove npmAuthToken from .yarnrc.yml |
changesets (changesets/action) | Works as is; if the first tokenless release can't authenticate, update to v2 |
| semantic-release | Needs @semantic-release/npm 13.1.0+ (semantic-release 25+) |
release-please + npm publish | |
| Lerna / Nx release | Lerna 9+ |
| JS-DevTools/npm-publish | Updated to v4 |
| release-it | Also set npm.skipChecks: true |
Reusable workflows (workflow_call) | npm checks the *calling* workflow's file name; a trust command is printed for every caller |
| Publishing inside scripts | Follows package.json scripts, ./scripts/*.sh, make and local composite actions (uses: ./.github/actions/...), including working-directory |
Yarn 1 yarn publish, bun publish | Flagged: those tools can't use trusted publishing yet, so switch to npm publish |
If your installs need private packages from your npm org, give the install steps a read-only token. Publish steps stay token-free:
npx go-tokenless apply --read-token NPM_READ_TOKEN
- run: npm ci
Every install step in the release workflow gets it, including separate build and test jobs. Create a granular token on npmjs.com with read-only access to your packages and save it with gh secret set NPM_READ_TOKEN.
Add the Action to CI. It fails the job if a token creeps back into a publish workflow, and the job summary lists the exact fixes:
# .github/workflows/ci.yml
jobs: tokenless: runs-on: ubuntu-latest permissions: contents: read steps:
It runs go-tokenless --json read-only and needs no token. Its status output is already-tokenless, ready, blocked or no-publish-workflow.
go-tokenless is built to be run by coding agents: --json output, clear exit codes, an MCP server and an Agent Skill. Ask your agent: *"Move our npm publishing to trusted publishing."*
| Client | Setup |
|---|---|
| Claude directory (claude.ai, Cowork, Claude Code) | Submitted to Anthropic's plugin directory and awaiting approval. Once listed: open the directory, search go-tokenless and select Add. It then syncs to Claude Code as go-tokenless@synced. Until then, use the marketplace command below |
| Claude Code (plugin: skill + MCP) | /plugin marketplace add continuous-actions/go-tokenless then /plugin install go-tokenless@continuous-actions |
| Claude Code (MCP only) | claude mcp add go-tokenless -- npx -y go-tokenless mcp |
| Gemini CLI | gemini extensions install https://github.com/continuous-actions/go-tokenless |
| Cursor, VS Code, others | Add the MCP config below |
| Any agent with skills | npx skills add continuous-actions/go-tokenless |
{ "mcpServers": { "go-tokenless": { "command": "npx", "args": ["-y", "go-tokenless", "mcp"] } } }
MCP tools: plan_trusted_publishing (read-only) and apply_trusted_publishing (writes files; no git or network writes). It is listed in the MCP Registry as io.github.continuous-actions/go-tokenless. See also llms.txt and the Agent Skill.
npx go-tokenless [plan | apply | mcp] [options]
| Option | Description |
|---|---|
--json | Print the full plan as JSON (status, changes, diff, findings, trust, nextSteps) |
--diff | Include the diff in text output (always on for plan) |
--repo | GitHub repository, when origin isn't GitHub |
--cwd | Repository root (default: current directory) |
--offline | Skip the npm registry check that each package already exists |
--read-token | Give install steps a read-only token from this secret (private packages) |
--npm-version | npm for the inserted upgrade step. Default ^12, pinned to one major so releases don't change under you. Other versions show a warning; below 11.5.1 is refused |
--npm-args " " | Extra arguments for every npm command it generates (upgrade step and npm trust) |
Exit codes: 0 ok · 1 blocked (needs a human fix) · 2 usage error · 3 unexpected error.
.github/workflows/*.yml, package.json files and related scripts in the repository you point it at. apply and the apply_trusted_publishing MCP tool write only to workflow and package.json files inside that repository. It never follows links out of the repository.GET requests to https://registry.npmjs.org/ to check that each package already exists (--offline or MCP offline: true turns this off). Nothing else is fetched or sent. There is no telemetry.npx -y go-tokenless@ mcp.go-tokenless never touches your npm account, secrets or git history. After apply:
npm trust github … commands (npm 11.15+, asks for 2FA), or go to npmjs.com → package → Settings → Trusted publishing.Each error has its own page with causes and fixes: ENEEDAUTH, 404 on PUT, E422 repository.url, still using the token, and the 2FA-bypass notice.
| Error |
冒頭だけを表示しています。続きはリポジトリで読めます