Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Explain fraud verdicts with evidence, surface account rings, and see who has burned other operators.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
KAIDN_API_KEY, KAIDN_API_URL, KAIDN_MCP_ALLOW_WRITES, KAIDN_MCP_MAX_QUOTA_CALLS标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"kaidn": {
"command": "npx",
"args": [
"-y",
"@kaidn/mcp"
],
"env": {
"KAIDN_API_KEY": "your-value",
"KAIDN_API_URL": "your-value",
"KAIDN_MCP_ALLOW_WRITES": "your-value",
"KAIDN_MCP_MAX_QUOTA_CALLS": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add kaidn --env KAIDN_API_KEY=your-value --env KAIDN_API_URL=your-value --env KAIDN_MCP_ALLOW_WRITES=your-value --env KAIDN_MCP_MAX_QUOTA_CALLS=your-value -- npx -y @kaidn/mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"kaidn": {
"command": "npx",
"args": [
"-y",
"@kaidn/mcp"
],
"env": {
"KAIDN_API_KEY": "your-value",
"KAIDN_API_URL": "your-value",
"KAIDN_MCP_ALLOW_WRITES": "your-value",
"KAIDN_MCP_MAX_QUOTA_CALLS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"kaidn": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@kaidn/mcp"
],
"env": {
"KAIDN_API_KEY": "your-value",
"KAIDN_API_URL": "your-value",
"KAIDN_MCP_ALLOW_WRITES": "your-value",
"KAIDN_MCP_MAX_QUOTA_CALLS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
KAIDN_API_URL envKAIDN_MCP_ALLOW_WRITES envKAIDN_MCP_MAX_QUOTA_CALLS env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过域名 kaidn.io 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:KAIDN_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.4.0)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, FlyDocs
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
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.
Spec-driven development workflow: your agent works issues, sessions and the status lifecycle.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Model Context Protocol server for the [Kaidn](https://kaidn.io) fraud-scoring API.
Investigate fraud in plain English — *"why was this signup blocked?"*, *"what else has this device touched?"*, *"what's in the review queue this morning?"*
Node.js 18 or newer, and an API key from your Kaidn dashboard.
First, install the Kaidn MCP server with your client. Standard config works in most of the tools:
{
"mcpServers": { "kaidn": { "command": "npx", "args": ["@kaidn/mcp@latest"], "env": { "KAIDN_API_KEY": "your_key" } } } }
Claude Code
claude mcp add kaidn --env KAIDN_API_KEY=your_key -- npx @kaidn/mcp@latest
Claude Desktop
Add the standard config to claude_desktop_config.json, then restart Claude. Settings → Developer → Edit Config opens the file.
Cursor
Settings → MCP → Add new MCP Server, or add the standard config to .cursor/mcp.json in your project (or ~/.cursor/mcp.json for every project).
VS Code
code --add-mcp '{"name":"kaidn","command":"npx","args":["@kaidn/mcp@latest"],"env":{"KAIDN_API_KEY":"your_key"}}'
Windsurf
Add the standard config to ~/.codeium/windsurf/mcp_config.json.
Cline
Add the standard config to cline_mcp_settings.json via the MCP Servers icon → Configure MCP Servers.
Zed
Add to settings.json under context_servers, using the same command, args and env as the standard config.
Anything else
Any MCP client takes a command, args and an env block. Use the standard config above. If the client can only reach the server over the network rather than spawning a process, see Streamable HTTP.
| Option | Environment variable | Default | Purpose |
|---|---|---|---|
KAIDN_API_KEY | *required* | Your secret key. Environment only — never a flag, never a tool argument. | |
KAIDN_API_URL | https://api.kaidn.io | API base URL | |
--allow-writes | KAIDN_MCP_ALLOW_WRITES=1 | off | Register the mutating tools |
KAIDN_MCP_MAX_QUOTA_CALLS | 100 | Quota ceiling per process | |
--http | KAIDN_MCP_TRANSPORT=http | stdio | Serve Streamable HTTP |
--host | KAIDN_MCP_HOST | 127.0.0.1 | HTTP bind address |
--port | KAIDN_MCP_PORT | 8765 | HTTP port |
KAIDN_MCP_HTTP_TOKEN | unset | Require Authorization: Bearer on HTTP | |
--help | Show usage | ||
--version | Show the version |
Precedence: CLI flags override environment variables.
The API key is deliberately env-only. A key passed as a flag leaks into process listings and shell history.
| Transport | Use it for | Endpoint |
|---|---|---|
| stdio *(default)* | local clients that spawn a subprocess | — |
| Streamable HTTP | remote agents, containers, anything off-machine | POST /mcp |
HTTP+SSE is deliberately absent: deprecated in the 2025-03-26 spec and sunset in June 2026.
npx @kaidn/mcp@latest --http --port 8765
Stateless — a fresh server per request, nothing shared between callers — so it sits behind a load balancer without surprises. GET /health is unauthenticated so an orchestrator can check liveness without holding the token.
docker build -t kaidn-mcp .
# stdio — behaves like the npx invocation
docker run -i --rm -e KAIDN_API_KEY=your_key kaidn-mcp
docker run --rm -p 8765:8765 \ -e KAIDN_API_KEY=your_key \ -e KAIDN_MCP_TRANSPORT=http \ -e KAIDN_MCP_HOST=0.0.0.0 \ -e KAIDN_MCP_HTTP_TOKEN=your_token \ kaidn-mcp
Multi-stage build, runs as the unprivileged node user, with a healthcheck.
The server holds your API key. Whoever can reach it can spend your quota, so the defaults are conservative and the guards fail closed rather than warning.
KAIDN_MCP_HTTP_TOKEN is set. It stops with an explanation rather than quietly exposing your account.add_to_list and label_outcome exist only with --allow-writes.Two things govern every tool: whether it spends quota, and whether it changes anything.
| Tool | Cost | What it does |
|---|---|---|
get_stats | free | Verdict, score and reason rollups over a rolling window. Start here. |
list_events | free | Scored events, newest first, filterable by verdict or type, searchable by fingerprint or user id |
explain_event | free | Every check that fired on one event, with the raw evidence |
triage_queue | free | Everything on review, highest score first |
get_config | free | Effective weights and thresholds for this tenant |
investigate_entity | 1 row¹ | Enrichment, network reputation and related events for one entity |
check_email | 1 row | Disposable domain, deliverability, fraud score, abuse history |
check_ip | 1 row | Proxy, VPN, Tor, datacenter ASN, geo, abuse history |
check_phone | 1 row | Validity, line type, carrier, fraud score |
score_event | 1 row | Score a new event (also records it) |
¹ Free when the entity is a device_id; enrichment only costs on email or IP.
--allow-writes| Tool | What it does |
|---|---|
add_to_list | Add an entity to the allow or block list |
label_outcome | Report a confirmed fraud / chargeback / legit outcome |
The tools are designed to be chained. These are the flows they were built for.
You: What happened overnight, and what needs me?
The model calls get_stats for the shape of the last 24 hours, then triage_queue for the events sitting on review, then explain_event on the worst one. You get a ranked list with the reasoning attached, rather than a dashboard you still have to read.
You: Event
evt_8f21c— a customer says they were wrongly blocked.
explain_event returns every check that fired with its raw evidence — the datacenter ASN it matched, how many accounts shared the device, the velocity count. Enough to answer the customer, or to conclude the rule was wrong and needs tuning.
You: Is
194.x.x.xa one-off or part of a ring?
investigate_entity returns enrichment and network reputation for the IP plus every recent event it appears in. If the same device ids keep recurring, that is a ring rather than a coincidence.
You: If I dropped the velocity weight, what would stop being blocked?
get_config reads the current weights; list_events with verdict: "block" shows what is currently caught. The model can tell you which of those hang on the check you are about to weaken.
Failures come back as tool errors with a readable message, not exceptions — the model can act on them.
| You see | Meaning | Fix |
|---|---|---|
KAIDN_API_KEY is not set | Server started without a key | Set it in the client's env block |
Kaidn error: 401 … | Key rejected | Rotate or re-copy it from the dashboard |
Kaidn error: 429 … | Rate limited | Slow down; per-key throttling is by the minute |
Session quota ceiling reached (100/100 …) | The guard stopped an expensive run | Raise KAIDN_MCP_MAX_QUOTA_CALLS deliberately, or restart |
No event in the most recent 200 events | Event is older than the scan window | Page back with list_events using offset |
Supply exactly one of email, ip or device_id | Ambiguous investigation | Ask about one entity at a time |
Refusing to bind without authentication | Non-loopback HTTP with no token | Set KAIDN_MCP_HTTP_TOKEN, or bind 127.0.0.1 |
Errors never contain your API key.
The client shows no tools. Check the client's MCP log for the startup line. kaidn-mcp: ready (stdio, …) on stderr means the server is up and the problem is on the client side. Nothing at all usually means npx could not resolve the package or Node is older than 18.
It starts, then exits immediately. Almost always a missing KAIDN_API_KEY. The message says so on stderr; some clients hide stderr, so run it in a terminal to see it.
`add_to_list` and `label_outcome` are missing. Working as designed. They need --allow-writes.
`set_config` and `forget_subject` are missing. Also by design, and they are not available in any mode. See SECURITY.md.
HTTP mode refuses to start. You bound something other than loopback without a bearer token. That is the guard working — the process holds your API key.
Everything is slow. The enrichment checks make live upstream calls. get_stats, list_events, explain_event and triage_queue are free and fast; prefer them when reading history.
Check the server independently of the client:
node dist/index.js --help # no key required
KAIDN_API_KEY=your_key npm start # should print a ready line
git clone https://github.com/Kaidn-io/kaidn-mcp.git
cd kaidn-mcp npm install npm run build npm test
claude mcp add kaidn --env KAIDN_API_KEY=your_key -- node 只显示了开头部分;其余内容请在仓库中阅读