Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Active OAuth tests for remote MCP servers you own: tokens, PKCE, redirect_uri, audience, CSRF.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
MCP_AUTHPROBE_SECRET_FILE, MCP_AUTHPROBE_SECRET, MCP_AUTHPROBE_CREDENTIALS_FILE, MCP_AUTHPROBE_ALLOW_PRIVATE, MCP_AUTHPROBE_LAB_ORIGINS, MCP_AUTHPROBE_TIMEOUT_MSค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"authprobe": {
"command": "npx",
"args": [
"-y",
"mcp-authprobe",
"mcp"
],
"env": {
"MCP_AUTHPROBE_SECRET_FILE": "ใส่ค่าของคุณ",
"MCP_AUTHPROBE_SECRET": "ใส่ค่าของคุณ",
"MCP_AUTHPROBE_CREDENTIALS_FILE": "ใส่ค่าของคุณ",
"MCP_AUTHPROBE_ALLOW_PRIVATE": "ใส่ค่าของคุณ",
"MCP_AUTHPROBE_LAB_ORIGINS": "ใส่ค่าของคุณ",
"MCP_AUTHPROBE_TIMEOUT_MS": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add authprobe --env MCP_AUTHPROBE_SECRET_FILE='ใส่ค่าของคุณ' --env MCP_AUTHPROBE_SECRET='ใส่ค่าของคุณ' --env MCP_AUTHPROBE_CREDENTIALS_FILE='ใส่ค่าของคุณ' --env MCP_AUTHPROBE_ALLOW_PRIVATE='ใส่ค่าของคุณ' --env MCP_AUTHPROBE_LAB_ORIGINS='ใส่ค่าของคุณ' --env MCP_AUTHPROBE_TIMEOUT_MS='ใส่ค่าของคุณ' -- npx -y mcp-authprobe mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"authprobe": {
"command": "npx",
"args": [
"-y",
"mcp-authprobe",
"mcp"
],
"env": {
"MCP_AUTHPROBE_SECRET_FILE": "ใส่ค่าของคุณ",
"MCP_AUTHPROBE_SECRET": "ใส่ค่าของคุณ",
"MCP_AUTHPROBE_CREDENTIALS_FILE": "ใส่ค่าของคุณ",
"MCP_AUTHPROBE_ALLOW_PRIVATE": "ใส่ค่าของคุณ",
"MCP_AUTHPROBE_LAB_ORIGINS": "ใส่ค่าของคุณ",
"MCP_AUTHPROBE_TIMEOUT_MS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"authprobe": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-authprobe",
"mcp"
],
"env": {
"MCP_AUTHPROBE_SECRET_FILE": "ใส่ค่าของคุณ",
"MCP_AUTHPROBE_SECRET": "ใส่ค่าของคุณ",
"MCP_AUTHPROBE_CREDENTIALS_FILE": "ใส่ค่าของคุณ",
"MCP_AUTHPROBE_ALLOW_PRIVATE": "ใส่ค่าของคุณ",
"MCP_AUTHPROBE_LAB_ORIGINS": "ใส่ค่าของคุณ",
"MCP_AUTHPROBE_TIMEOUT_MS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
MCP_AUTHPROBE_SECRET_FILE envMCP_AUTHPROBE_CREDENTIALS_FILE envMCP_AUTHPROBE_ALLOW_PRIVATE envMCP_AUTHPROBE_LAB_ORIGINS envMCP_AUTHPROBE_TIMEOUT_MS envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub Enigmacker ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: MCP_AUTHPROBE_SECRET
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.8.0) เข้า registry เมื่อวาน
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, SSTracker free youth training
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Free youth sports drills, practice plans and age-group answers for parents and coaches.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Active authorization testing for remote MCP servers you own.
Passive scanners read what a remote Model Context Protocol server *announces*: its OAuth metadata, its TLS setup, its tool descriptions. Some properties can only be confirmed by actually exercising the authorization server: does it really rotate refresh tokens, does it really refuse a redirect URI it never registered, does it enforce PKCE, does it accept a token meant for another server, does it slow down repeated failures?
mcp-authprobe runs those active checks, against servers whose ownership you have proven, and reports the results as JSON, SARIF and Markdown.
19 checks, field-tested against a certified OpenID provider: OAuth discovery, refresh token rotation and replay, redirect URI strictness, PKCE enforcement, single-use codes, token audience,
Originvalidation, tokens in URLs, session IDs used as credentials, CORS, throttling and consent CSRF (in a real browser). It works as a CLI with an interactivelogin, as an MCP server so an AI assistant can run the audit, and as a GitHub Action. A deliberately vulnerable lab lets you try everything in a minute.
Only test servers you own or are explicitly authorized to test. Active checks change state on the target. The tool enforces an ownership proof before running them, but responsibility stays with the operator.
Besides its own test suite and lab, mcp-authprobe was run against real authorization stacks before each release:
Origin header. Every check that can be judged from outside passed; MAP-THR01 failed, as expected, since that provider leaves rate limiting to the deployment; and its consent page, protected by a per-flow identifier instead of an anti-CSRF field, is reported as inconclusive with the reason.redirect_uri not bound to the code, no Origin validation, unsafe redirect URIs accepted at registration, no refresh tokens, and crashes reported as inconclusive rather than passes. Its sessions correctly require the token on every request (MAP-SES01 passes).These runs led to several fixes: results kept when a server issues no refresh token or crashes during login, a throttling check that copes with a broken refresh grant, and the per-flow identifier analysis above.
Good tools already exist, and this one is meant to sit next to them, not replace them:
| Tool | Focus | Overlap with mcp-authprobe |
|---|---|---|
| mcp-posture | Passive posture of remote servers: OAuth metadata per RFC, transport, tool poisoning, rug pulls | None by design: it never sends state-changing requests. Run it first. |
| MCPJam OAuth conformance | Runs real OAuth flows and checks conformance, with a few negative checks | Basic redirect URI rejection. No refresh token replay, throttling or consent CSRF. |
| Cisco mcp-scanner, Snyk agent-scan | Malicious tools, configs, local servers | None. |
mcp-authprobe focuses on what only an active, authorized test can confirm, and uses check IDs (MAP-…) that do not clash with mcp-posture's (MCPP-…). mcp-posture reserves its own active IDs for this and points here; the two reports can be merged into one.
Requires Node.js 22.19 or later.
# run without installing
npx mcp-authprobe --help
npm install -g mcp-authprobe
Releases are published from GitHub Actions with npm trusted publishing; check the provenance on the package page before installing a security tool.
From source:
git clone https://github.com/Enigmacker/mcp-authprobe.git
cd mcp-authprobe npm ci npm run build node dist/cli.js --help
mcp-authprobe lab starts a small MCP server with its own OAuth authorization server on 127.0.0.1, so you can see every check at work without touching a real server:
# Terminal 1: a deliberately vulnerable server (or --profile secure)
npx mcp-authprobe lab
npx mcp-authprobe scan http://127.0.0.1:8787/mcp --allow-private npx mcp-authprobe login http://127.0.0.1:8787/mcp --allow-private --out lab-grant.json npx mcp-authprobe scan http://127.0.0.1:8787/mcp --allow-private --credentials-file lab-grant.json
Log in with the account test / test and click Allow.
| Profile | What you should see |
|---|---|
vulnerable (default) | Refresh token replay accepted, unsafe redirect URIs registered, PKCE not enforced, token audience ignored, foreign Origin accepted, token accepted in the URL, session ID accepted without a token, CORS open to any origin with credentials, no throttling, consent page without CSRF protection. MAP-RDR02 is reported as inconclusive: this server sends unknown visitors to its login page before looking at redirect_uri, which cannot be told apart from outside, and the scanner never turns that into a pass. |
secure | Every check passes (or is not applicable); MAP-CSR01 runs with consent-check. |
The lab only listens on 127.0.0.1 or ::1 (--host, --port, default 8787; names such as localhost are refused so that no resolver can move it elsewhere), keeps everything in memory, and stops with Ctrl-C. Its access tokens are unsigned JWTs, so MAP-AUD01 can read their audience. It is vulnerable on purpose: never expose it.
# 1. Create a secret and the proof to publish for your MCP host
mcp-authprobe ownership init mcp.example.com
export MCP_AUTHPROBE_SECRET='…'
mcp-authprobe ownership verify mcp.example.com
mcp-authprobe scan https://mcp.example.com/mcp --sarif results.sarif --markdown summary.md
mcp-authprobe login https://mcp.example.com/mcp --out ./test-grant.json
mcp-authprobe scan https://mcp.example.com/mcp --credentials-file ./test-grant.json
Without a valid proof the scan still runs discovery (the same read-only requests any MCP client sends before logging in), and every active check is reported as skipped.
For a local lab on your own machine:
mcp-authprobe scan http://127.0.0.1:8080/mcp --allow-private
Loopback targets with --allow-private do not need a proof.
Active checks register clients, rotate tokens and send failing requests. To make sure they only ever hit servers whose operator agreed to it, the scanner requires a proof for every host it would contact: the MCP server host and, when it differs, the authorization server host.
The proof is a hash, bound to the host, of a secret that only you hold:
mcp-authprobe-verification=sha256:<hex(sha256("<host>:<secret>"))>
Publish it in one of two places:
| Method | Where | Value |
|---|---|---|
| Well-known file | https:// /.well-known/mcp-authprobe.txt | one line per proof; other lines are ignored |
| DNS TXT | _mcp-authprobe. | the proof string |
Design choices:
mcp.example.com is useless for any other host.You can remove the proof as soon as you are done testing.
MCP clients are usually public clients, so OAuth 2.1 requires their refresh tokens to be rotated, and RFC 9700 recommends revoking the whole token family when an old one is reused. These properties cannot be read from metadata; they have to be exercised.
The checks need a test grant: a client and a refresh token obtained by logging in to your own server with a dedicated test account.
The easy way is mcp-authprobe login (see Interactive login), which writes the file for you. You can also write it by hand, readable only by you (chmod 600):
{
"client_id": "your-test-client-id", "refresh_token": "the-refresh-token", "client_secret": "only-for-confidential-clients", "token_endpoint_auth_method": "none" }
token_endpoint_auth_method is none (default for public clients), client_secret_post (default when a secret is present) or client_secret_basic.
The scan sends at most three refresh_token requests to the token endpoint found by discovery:
| Step | Request | Expected on a compliant server | Check |
|---|---|---|---|
| 1 | Refresh with the supplied token | New access token and a new refresh token | MAP-RTK01 |
| 2 | Refresh again with the token from step 1's input (already used) | Rejected, typically invalid_grant | MAP-RTK02 |
| 3 | Refresh with the newest token (from step 1's output) | Rejected: reuse revoked the whole family | MAP-RTK03 |
Important:
MAP-RTK01 fails and the two replay checks are reported as not applicable.error (inconclusive), never as a pass.mcp-authprobe login https://mcp.example.comตัดมาแค่ช่วงต้น อ่านต่อใน repo