GitHub
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
MCP server for OWASP ZAP vulnerability scanning with Docker management
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ZAP_BASE_URL, ZAP_API_KEYคุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"zap": {
"command": "dnx",
"args": [
"dotnet-zap-mcp",
"--yes"
],
"env": {
"ZAP_BASE_URL": "ใส่ค่าของคุณ",
"ZAP_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add zap --env ZAP_BASE_URL='ใส่ค่าของคุณ' --env ZAP_API_KEY='ใส่ค่าของคุณ' -- dnx dotnet-zap-mcp --yesเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"zap": {
"command": "dnx",
"args": [
"dotnet-zap-mcp",
"--yes"
],
"env": {
"ZAP_BASE_URL": "ใส่ค่าของคุณ",
"ZAP_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"zap": {
"type": "stdio",
"command": "dnx",
"args": [
"dotnet-zap-mcp",
"--yes"
],
"env": {
"ZAP_BASE_URL": "ใส่ค่าของคุณ",
"ZAP_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ZAP_BASE_URL envZAP_API_KEY envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub pierre3 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.1.0) เข้า registry 7 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี .NET ในเครื่องด้วย
ในหมวดเดียวกันมี 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
MCP (Model Context Protocol) server for OWASP ZAP. Enables AI agents (Claude, GitHub Copilot, etc.) to drive ZAP vulnerability scanning via MCP.
dotnet tool install -g dotnet-zap-mcp
docker compose support (for built-in ZAP container management)No configuration needed. The agent calls DockerComposeUp which automatically:
~/.zap-mcp/docker/localhost:8090The ZAP container uses two Docker named volumes:
| Volume | Container Path | Purpose |
|---|---|---|
zap-home | /home/zap/.ZAP | ZAP settings, contexts, sessions, scan policies (persisted across restarts) |
zap-data | /zap/wrk/data | Shared directory for reports, session files, and context import/export |
On the first launch, the template config.xml is copied into zap-home. On subsequent launches, only the API key is updated — any changes made through ZAP (contexts, authentication settings, scan policies, etc.) are preserved.
The zap-data volume contains:
reports/ — generated scan reportssessions/ — saved ZAP sessionscontexts/ — exported context filesAdd to your MCP configuration:
{
"mcpServers": { "zap": { "command": "zap-mcp" } } }
Add to .vscode/mcp.json:
{
"servers": { "zap": { "command": "zap-mcp" } } }
If you already have a ZAP instance running, pass connection details via environment variables:
{
"mcpServers": { "zap": { "command": "zap-mcp", "env": { "ZAP_BASE_URL": "http://localhost:8090", "ZAP_API_KEY": "your-api-key" } } } }
| Tool | Parameters | Description |
|---|---|---|
DockerComposeUp | — | Start the ZAP container and wait for healthy |
DockerComposeDown | — | Stop and remove the ZAP container |
DockerComposeStatus | — | Check container status |
DockerComposeLogs | tail | Get recent container logs |
| Tool | Parameters | Description |
|---|---|---|
GetVersion | — | Verify ZAP connectivity |
GetHosts | — | List recorded hosts |
GetSites | — | List recorded sites |
GetUrls | baseUrl | List recorded URLs for a base URL |
| Tool | Parameters | Description |
|---|---|---|
StartSpider | url, maxChildren, recurse, subtreeOnly, contextName | Start a spider scan to crawl and discover pages |
GetSpiderStatus | scanId | Check spider progress (0-100%) |
GetSpiderResults | scanId | Get URLs discovered by spider |
StopSpider | scanId | Stop a running spider scan |
| Tool | Parameters | Description |
|---|---|---|
StartActiveScan | url, recurse, inScopeOnly, scanPolicyName, contextId | Start an active vulnerability scan |
GetActiveScanStatus | scanId | Check active scan progress (0-100%) |
StopActiveScan | scanId | Stop a running active scan |
| Tool | Parameters | Description |
|---|---|---|
GetPassiveScanStatus | — | Check passive scan progress (records remaining) |
| Tool | Parameters | Description |
|---|---|---|
GetAlertsSummary | baseUrl | Alert counts by risk level |
GetAlerts | baseUrl, start, count, riskId | Detailed alert list with pagination and risk filter |
| Tool | Parameters | Description |
|---|---|---|
GetHtmlReport | — | Generate HTML scan report |
GetJsonReport | — | Generate JSON scan report |
GetXmlReport | — | Generate XML scan report |
| Tool | Parameters | Description |
|---|---|---|
GetContextList | — | List all contexts defined in ZAP |
GetContext | contextName | Get context details (scope patterns, etc.) |
CreateContext | contextName | Create a new context |
RemoveContext | contextName | Delete a context |
IncludeInContext | contextName, regex | Add URL include pattern to context scope |
ExcludeFromContext | contextName, regex | Add URL exclude pattern to context scope |
ImportContext | contextFilePath | Import a context file into ZAP |
ExportContext | contextName, contextFilePath | Export a context to file |
| Tool | Parameters | Description |
|---|---|---|
GetAuthenticationMethod | contextId | Get the authentication method configured for a context |
SetAuthenticationMethod | contextId, authMethodName, authMethodConfigParams | Set authentication method (form-based, JSON-based, script-based, HTTP) |
SetLoggedInIndicator | contextId, loggedInIndicatorRegex | Set regex pattern indicating logged-in state |
SetLoggedOutIndicator | contextId, loggedOutIndicatorRegex | Set regex pattern indicating logged-out state |
| Tool | Parameters | Description |
|---|---|---|
GetUsersList | contextId | List all users for a context |
CreateUser | contextId, name | Create a new user |
RemoveUser | contextId, userId | Remove a user |
SetAuthenticationCredentials | contextId, userId, authCredentialsConfigParams | Set user credentials (username/password) |
SetUserEnabled | contextId, userId, enabled | Enable or disable a user |
| Tool | Parameters | Description |
|---|---|---|
SetForcedUser | contextId, userId | Set the forced user for a context |
SetForcedUserModeEnabled | enabled | Enable or disable forced user mode globally |
GetForcedUserStatus | contextId | Get forced user mode status and current forced user |
| Tool | Parameters | Description |
|---|---|---|
StartAjaxSpider | url, inScope, contextName, subtreeOnly | Start the Ajax Spider for JavaScript-heavy apps |
StartAjaxSpiderAsUser | contextName, userId, url, subtreeOnly | Start the Ajax Spider as a specific user |
GetAjaxSpiderStatus | — | Get Ajax Spider status (running/stopped) |
GetAjaxSpiderResults | — | Get Ajax Spider results summary |
StopAjaxSpider | — | Stop the Ajax Spider |
DockerComposeUp to start ZAPhttp://127.0.0.1:8090)StartSpider to crawl the application, then GetSpiderStatus to monitor progressGetPassiveScanStatus to wait for passive scan completionStartActiveScan on key pages, then GetActiveScanStatus to monitor progressGetAlertsSummary and GetAlerts to retrieve vulnerability findingsGetHtmlReport or GetJsonReport to generate a scan reportDockerComposeDown when doneNote: ZAP settings (contexts, authentication, scan policies) are persisted in the
zap-homeDocker volume. You can stop and restart the container without losing configuration.
This repository includes an intentionally vulnerable web application for trying out ZAP scanning. The app contains common vulnerabilities (XSS, SQL Injection, CSRF, Open Redirect) so ZAP can detect real findings.
# Start ZAP and the vulnerable target app
docker compose -f tests/docker/docker-compose.test.yml up -d --build
docker compose -f tests/docker/docker-compose.test.yml ps
Then configure your MCP client to connect to this ZAP instance:
{
"mcpServers": { "zap": { "command": "zap-mcp", "env": { "ZAP_BASE_URL": "http://localhost:8090", "ZAP_API_KEY": "test-api-key-for-ci" } } } }
The vulnerable app is accessible at
http://targetfrom within the Docker network (used by ZAP), and athttp://localhost:8080from your host machine.
Prompt to agent:
Scan http://target for vulnerabilities. Run a spider crawl, wait for the passive scan to finish, then show me the alert summary and generate an HTML report.
Expected tool flow:
GetVersion → Verify ZAP connectivity
StartSpider → url: "http://target" GetSpiderStatus → Poll until 100% GetPassiveScanStatus → Poll until 0 records remaining GetAlertsSummary → baseUrl: "http://target" GetAlerts → baseUrl: "http://target" GetHtmlReport → Generate report
ZAP will discover pages like /search, /login, /users, /about, /contact, and the passive scan will report issues such as missing security headers and CSRF vulnerabilities.
The /admin page requires login (username: admin, password: password). An authenticated scan lets ZAP access protected pages.
Prompt to agent:
Set up an authenticated scan for http://target. The login form is at /login with fields "username" and "password" (credentials: admin / password). The logged-in indicator is "Welcome, admin". After configuring authentication, spider the site as the authenticated user and run an active scan.
Expected tool flow:
CreateContext → contextName: "target-auth"
IncludeInContext → regex: "http://target.*" SetAuthenticationMethod → contextId, authMethodName: "formBasedAuthentication", authMethodConfigParams: "loginUrl=http://target/login&loginRequestData=username%3D%7B%25username%25%7D%26password%3D%7B%25password%25%7D" SetLoggedInIndicator → loggedInIndicatorRegex: "Welcome, admin" CreateUser → contextId, name: "admin" SetAuthenticationCredentials → contextId, userId, authCredentialsConfigParams: "username=admin&password=password" SetUserEnabled → contextId, userId, enabled: true SetForcedUser → contextId, userId SetForcedUserModeEnabled → enabled: true StartSpider → url: "http://target", contextName: "target-auth" GetSpiderStatus → Poll until 100% GetPassiveScanStatus → Poll until 0 records remaining StartActiveScan → url: "http://target" GetActiveScanStatus → Poll until 100% GetAlertsSummary → baseUrl: "http://target" GetAlerts → baseUrl: "http://target" SetForcedUserModeEnabled → enabled: false
With authentication configured, ZAP can access /admin and test for vulnerabilities behind the login.
ตัดมาแค่ช่วงต้น อ่านต่อใน repo