GitHub
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Rotate API keys across AWS, GitLab, Cloudflare, OpenAI & more. Secrets never reach the model.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ผู้ทำยังไม่ได้ใส่วิธีติดตั้งใน registry ให้ดู README ของผู้ทำด้านล่าง
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub Ezra-Black ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.0) เข้า registry 20 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Rust ในเครื่องด้วย
ในหมวดเดียวกันมี GitHub, Desktop Commander, Cloudflare MCP
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Rotate API keys and tokens across providers from one CLI: mint the new key, push it to everything that uses it, verify it, retire the old one. Includes an MCP server.
Only touches accounts you administer — every provider acts with your own credential.
CLI — rotate a GitLab token straight into a .env file:
MCP — Claude rotating the same token through rekey mcp; the secret never reaches the model:
Prebuilt binaries for macOS, Linux and Windows: Releases.
Or with Rust (stable):
cargo install rekey
OS keychain support (macOS Keychain, Windows Credential Manager, Linux Secret Service) is built in.
Practice on a throwaway GitLab token first. Every command below is safe to copy; replace 28550311 with your own ids from step 3.
1. Make a throwaway token to rotate. In GitLab → *Access tokens*, create a token named kr-test (any scope).
2. Log in. Opens GitLab's token page with the name and api scope pre-filled. Click *Create token*, paste it back (input is hidden).
rekey login gitlab
Checking with GitLab…
✓ Logged in to GitLab as @you. Saved to your macOS Keychain. rekey now works from any terminal — nothing to export.
3. Find the key id.
rekey list gitlab
ID NAME
28550267 rekey (signed in with this key) 28550311 kr-test
4. Rotate it into a .env file. rekey shows the plan and waits for you.
rekey rotate gitlab 28550311 --dotenv /tmp/kr-test.env:KR_TEST_TOKEN
Here's what will happen:
Go ahead? [Y/n] y
Rotating kr-test… · Rotating (provider revokes old token immediately)… · Updating 1 consumer(s)… · Verifying new token… ✓ Rotated successfully.
New key id: 28550312 Updated: KR_TEST_TOKEN in /tmp/kr-test.env Old token was revoked by the provider.
5. Check and clean up.
cat /tmp/kr-test.env # KR_TEST_TOKEN=glpat-…
rm /tmp/kr-test.env
Then delete kr-test in GitLab.
For real keys: run rekey rotate gitlab with no arguments — it lets you pick the key and destination and can save that to rekey.toml, so the next rotation is one command. In scripts/CI:
rekey rotate gitlab 28550311 --dotenv .env --yes --no-input
| Command | |
|---|---|
login [provider] | Opens the provider's token page (GitLab: pre-filled), takes the pasted token, verifies it, saves it to the OS keychain. --url for self-hosted GitLab / Datadog site. No provider: show status. |
logout | Remove saved credentials (doesn't revoke them). |
connect | Check credentials and key-management access. |
list | List keys. Column 1 is the id other commands take. |
rotate [id] | Rotate one key. |
rotate-all | Rotate every key that has a destination. Skips the key you're signed in with. |
retire [id] | Deactivate (where supported) or delete an old key. --delete to delete a deactivated key. |
mcp | MCP server on stdio. |
Global: --config , --no-input (fail instead of prompting). --yes skips confirmation. Omitted args are prompted for in a TTY. Flags go in any order. stdout carries only list output and --print-secret values; everything else is stderr.
rotate refuses to start unless the new secret has at least one destination.
| Flag | Destination |
|---|---|
--dotenv [:VAR] | Set VAR in a .env file. Default VAR per provider; AWS also writes AWS_ACCESS_KEY_ID. |
--gh-secret : | GitHub Actions secret via gh (stdin). |
--ssm : | AWS SSM SecureString via aws (stdin). |
--secret-file | File, mode 0600. |
--secret-dir | rotate-all: one 0600 file per key. |
--keychain | OS keychain, service rekey. |
--print-secret | stdout. |
Repeatable flags: --dotenv, --gh-secret, --ssm. --delete-old-now deletes the old key right after the new one is delivered.
./rekey.toml, then ~/.config/rekey/config.toml. Contains no secrets. Interactive rotate can write entries for you.
[[keys]]
provider = "gitlab" name = "ci-deploy" # match on id, name and/or principal consumers = [ { type = "dot_env_file", path = ".env", variable = "GITLAB_TOKEN" }, { type = "github_actions_secret", repo = "me/app", secret_name = "GITLAB_TOKEN" }, ]
[[keys]] provider = "aws" principal = "ci-user" # IAM user; survives the new key id consumers = [ { type = "dot_env_file", path = ".env", variable = "AWS_SECRET_ACCESS_KEY", id_variable = "AWS_ACCESS_KEY_ID" }, { type = "aws_ssm_parameter", name = "/ci/aws", region = "us-east-1" }, ]
Consumer types: dot_env_file, github_actions_secret, aws_ssm_parameter, file, keychain. Match on name/principal for providers that issue a new id per rotation. Relative paths resolve against the config file. Full example: rekey.toml.example.
Lookup order: environment variable → saved login (rekey login) → prompt (TTY only, offers to save). Never taken as flags. Rotating the token rekey signs in with (GitLab, Cloudflare) updates the saved login. REKEY_DISABLE_KEYCHAIN=1 disables keychain reads/writes.
| Provider | Style | Rotates | Credentials | Notes |
|---|---|---|---|---|
aws | overlap | IAM access keys | aws CLI session, AWS_PROFILE | Max 2 keys per user; refuses if both exist. Old key → Inactive. |
gitlab | atomic | Personal access tokens | GITLAB_TOKEN (api scope), GITLAB_URL, GITLAB_TOKEN_EXPIRY_DAYS | |
cloudflare | atomic | User API tokens | CLOUDFLARE_API_TOKEN (API Tokens: Edit) | Token id is stable. |
datadog | overlap | API keys | DD_API_KEY, DD_APP_KEY, DD_SITE | No disabled state. |
npm | overlap | Classic tokens | npm CLI session, NPM_REGISTRY | Parses CLI output; granular tokens unsupported. |
dockerhub | overlap | Personal access tokens | DOCKERHUB_USERNAME, DOCKERHUB_PASSWORD | New token gets repo:read+repo:write. |
openai | overlap | Org admin keys | OPENAI_ADMIN_KEY | |
anthropic | manual | — | ANTHROPIC_ADMIN_KEY | No create API; rotate prints Console steps, retire deactivates. |
twilio | overlap | Standard API keys | TWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN, TWILIO_API_USER | |
sendgrid | overlap | API keys | SENDGRID_API_KEY | Copies scopes from the old key. |
github-app | ephemeral | Installation tokens | GITHUB_APP_ID, GITHUB_APP_PRIVATE_KEY_PATH or GITHUB_APP_PRIVATE_KEY | ~1h tokens; nothing to revoke. |
AWS needs the aws CLI, npm needs npm, --gh-secret needs gh.
Want another provider? Request it.
| Style | Sequence | Failure handling |
|---|---|---|
| overlap | create → verify → deliver → deactivate old → (delete old) | Verify fails or all deliveries fail: new key deleted, nothing changed. Some deliveries fail: both keys stay live, exit 1. |
| atomic | rotate (old revoked by provider) → deliver → verify | Irreversible. All deliveries fail: secret written to rekey-rescue-*.secret (0600). |
| ephemeral | mint → verify → deliver | Old token expires on its own. |
| manual | — | Prints manual steps. |
Without --delete-old-now, an old key with no disabled state stays active; the output gives the retire command. Exit code is non-zero whenever something needs attention.
rekey login gitlab
claude mcp add rekey -- rekey mcp --config ~/.config/rekey/config.toml
| Tool | Enabled by | |
|---|---|---|
list_providers, check_connection, list_keys | default | Read-only. |
rotate_key | --allow-rotate | Delivers only to consumers in your config. No destination args. |
retire_key | --allow-retire | Refuses the server's own login key. |
Secret values are never returned to the client. Credentials come from the environment or saved logins. On macOS, allow Keychain access once after installing a new build.
.env permissions are kept; writes are atomic.--print-secret.Connector trait.Built by Ezra Black — ezrablack.dev.
MIT