# 接入评审:把服务端声明的能力面逐类列出,并标出需要人工确认的写操作
declared = {
"prompts": ["review_checklist"],
"resources": ["repo://README.md"],
"tools": ["search_issues", "create_issue", "delete_branch"],
}
WRITE_HINTS = ("create", "delete", "update", "write", "push", "merge")
for kind, names in declared.items():
for name in names:
risky = kind == "tools" and any(h in name for h in WRITE_HINTS)
print("%-9s %-16s %s" % (kind, name, "需确认" if risky else "只读"))
1. stdio: newline-delimited messages over the standard streams of a client-launched subprocess. ... 2. Streamable HTTP: each message is an HTTP POST to a single MCP endpoint
When using the stdio transport, the client spawns the server as a local subprocess and both might run with equivalent environment-level privilege. ... The SDK's stdio transport is not a sandbox.
Make MCP stateless: remove the `initialize`/`notifications/initialized` handshake. Every request now carries its protocol version and client capabilities in `_meta`...
The MCP Registry is the official centralized metadata repository for publicly accessible MCP servers ... The MCP Registry does not support private servers.
06术语
术语模型上下文协议 MCP
界定以 JSON-RPC 为底层、标准化 AI 客户端与外部数据/工具源之间双向通信的开放协议;现行规范为 2026-07-28 版,治理归属 Linux Foundation 下的 AAIF。