判断自己是不是目标用户。
MCP 工具接入 · 开源项目
mcp-ts-template
MCP 工具接入项目,用于把外部工具、服务或数据源安全接入 AI 宿主。
判断自己是不是目标用户。
能做什么MCP 接入说明、宿主配置检查、工具权限边界、失败恢复和验收清单查看可带走的能力路径。
继续前先在非主力宿主配置中验证 MCP server 命令、权限范围和回滚方式。未完成验证前保持审慎。
GitHub 快照星标未抓取分叉未抓取 · 未知 贡献者
Doramagic.ai 最后验证日期:2026-06-02 验证方法:来源证据、语义档案、公开页面门禁和静态构建验收。
快速判断 · 2026-06-02
mcp-ts-template 项目 是什么?
- mcp-ts-template 帮助把外部工具、服务或数据源接入支持 MCP 的 AI 宿主。
- 最适合:需要让 Claude、Cursor、Codex 或其他支持 MCP 的 AI 宿主安全调用外部工具的开发者。
- 不适合:不适合不愿修改宿主配置、无法授予工具权限、或不能隔离网络/文件/凭据访问的用户。
- 它给 AI 增加的能力:MCP 接入说明、宿主配置检查、工具权限边界、失败恢复和验收清单
- 第一步安全验证:先在非主力宿主配置中验证 MCP server 命令、权限范围和回滚方式。
- 当前验证状态:源码、Quick Start 和沙箱安装检查均记录为已通过。
- 最大风险:可能增加新用户试用和生产接入成本。
- 证据基础:https://github.com/cyanheads/mcp-ts-template、https://registry.modelcontextprotocol.io/v0.1/servers/io.github.cyanheads%2Fmcp-ts-template/versions/3.0.9、项目说明书、踩坑日志
01
一眼判断
先判断自己是否是目标用户,再决定是否继续。不适合不愿修改宿主配置、无法授予工具权限、或不能隔离网络/文件/凭据访问的用户。
未完成验证前保持审慎。
02
它能做什么
把项目翻译成用户能判断的具体能力,而不是 Doramagic 的使用流程。宿主配置
先在非主力配置中检查 MCP server 命令和宿主配置路径。
host-config权限边界
授予权限前明确文件、网络、工具调用和凭据访问范围。
permissions验收检查
定义一个可回滚的最小工具调用,再进入日常工作流。
acceptance来源:https://github.com/cyanheads/mcp-ts-template、https://registry.modelcontextprotocol.io/v0.1/servers/io.github.cyanheads%2Fmcp-ts-template/versions/3.0.9、项目说明书、踩坑日志。这里只回答“它能帮我做什么”。
03
项目温度与外部声音
站点快照,非实时质量证明;用于开工前背景判断。社区讨论
已收录 12 条来源下面是已采集到的项目级社区讨论来源,来源平台:github。这些外部声音用于帮助判断真实使用反馈,不单独作为质量证明。
-
01
feat(tool): flatten SDK input-validation error text and move issues to e
github / github_issue
-
02
feat(tool): first-class support for discriminated-union tool inputs (mul
github / github_issue
-
03
bug(transport): HTTP per-request McpServer cleanup leaks ~30 KB/req on h
github / github_issue
-
04
feat(linter): `schema-properties-need-type` — flag typeless leaves misse
github / github_issue
-
05
docs(api-canvas): add minimum-viable spillover server recipe as the defa
github / github_issue
-
06
feat(auth): add RFC 7662 Token Introspection as a third auth strategy
github / github_issue
-
07
feat(templates): MCPB bundle packaging for scaffolded servers
github / github_issue
-
08
Connect card: active-tab styling, default to Claude, add Codex/Cursor/Ge
github / github_issue
-
09
bug(transport): list_changed notifications silently dropped under HTTP p
github / github_issue
-
10
feat(telemetry): wire Worker-native OTel exporter (sdk-trace-web + OTLP
github / github_issue
-
11
feat(linter,docs): cross-vendor JSON Schema portability rules
github / github_issue
-
12
feat(docs/skills): codify agent-observed correctness across response des
github / github_issue
04
怎么开始使用
先试、再读项目说明书、再带给 AI,最后按官方quick start验证。先试 Prompt
不安装项目,先体验能力节奏。
预览读项目说明书
理解输入、输出、失败模式和边界。
说明书带给 AI
把上下文交给你的宿主 AI 继续工作。
上下文沙箱验证
进入主力环境前先完成安装入口与风险边界验证。
验证npx mcp-ts-template来源:https://registry.modelcontextprotocol.io/v0.1/servers/io.github.cyanheads%2Fmcp-ts-template/versions/3.0.9。验证:已通过。
05
项目说明书
每个项目结构不同,Doramagic 保留原项目解释结构,并补充边界与踩坑日志。- https://github.com/cyanheads/mcp-ts-template 项目说明书
- 目录
- 仓库概览
- 相关页面
- README 证据
- 说明书章节
- 已选源码清单
06
带给 AI 的上下文包
决定继续后,把项目上下文带给你的宿主 AI。07
继续前检查
在复制命令、导入 AI、安装插件前,看清还不能相信什么。不要把试用当真实运行
试用 Prompt 只展示流程,不证明项目已安装或运行。
确认宿主兼容
支持 MCP 的 AI 宿主
先隔离验证
继续完成沙箱验证和证据复核
- 先在非主力宿主配置中验证 MCP server 命令、权限范围和回滚方式。
08
踩坑日志与复核重点
Doramagic 记录的高风险项优先显示,避免用户把候选能力当成已验证能力。来源证据:bug(transport): HTTP per-request McpServer cleanup leaks ~30 KB/req on heap
GitHub 社区证据显示该项目存在一个安装相关的待验证问题:bug(transport): HTTP per-request McpServer cleanup leaks ~30 KB/req on heap
可能增加新用户试用和生产接入成本。
来源证据:bug(transport): list_changed notifications silently dropped under HTTP per-request McpServer model
GitHub 社区证据显示该项目存在一个配置相关的待验证问题:bug(transport): list_changed notifications silently dropped under HTTP per-request McpServer model
可能增加新用户试用和生产接入成本。
来源证据:feat(tool): flatten SDK input-validation error text and move issues to error.data (follow-up to #55)
GitHub 社区证据显示该项目存在一个配置相关的待验证问题:feat(tool): flatten SDK input-validation error text and move issues to error.data (follow-up to #55)
可能阻塞安装或首次运行。
失败模式:security_permissions: feat(auth): add RFC 7662 Token Introspection as a third auth strategy
需要继续复核。
Developers may expose sensitive permissions or credentials: feat(auth): add RFC 7662 Token Introspection as a third auth strategy
失败模式:installation: feat(templates): MCPB bundle packaging for scaffolded servers
需要继续复核。
Developers may fail before the first successful local run: feat(templates): MCPB bundle packaging for scaffolded servers
来源证据:bug(utils): fetchWithTimeout collapses every non-ok HTTP status to ServiceUnavailable、erasing codes and causing spurio…
GitHub 社区证据显示该项目存在一个安装相关的待验证问题:bug(utils): fetchWithTimeout collapses every non-ok HTTP status to ServiceUnavailable、erasing codes and causing spurious retries
可能增加新用户试用和生产接入成本。
失败模式:configuration: Connect card: active-tab styling、default to Claude、add Codex/Cursor/Gemini
需要继续复核。
Developers may misconfigure credentials、environment、or host setup: Connect card: active-tab styling、default to Claude、add Codex/Cursor/Gemini
失败模式:configuration: bug(utils): fetchWithTimeout attaches full upstream HTTP error body to error.data.responseBod...
需要继续复核。
Developers may misconfigure credentials、environment、or host setup: bug(utils): fetchWithTimeout attaches full upstream HTTP error body to error.data.responseBody — no cap、no MIME filter
失败模式:configuration: bug(worker): Workers compatibility — runtime detection broken under nodejs_compat、plus 8 rel...
需要继续复核。
Developers may misconfigure credentials、environment、or host setup: bug(worker): Workers compatibility — runtime detection broken under nodejs_compat、plus 8 related findings
失败模式:configuration: changelog: raise summary cap from 250 → 350 chars
需要继续复核。
Developers may misconfigure credentials、environment、or host setup: changelog: raise summary cap from 250 → 350 chars
失败模式:configuration: docs(api-canvas): add minimum-viable spillover server 使用配方 as the default
Developers should check this configuration risk before relying on the project: docs(api-canvas): add minimum-viable spillover server 使用配方 as the default
Developers may misconfigure credentials、environment、or host setup: docs(api-canvas): add minimum-viable spillover server 使用配方 as the default
失败模式:configuration: feat(docs/skills): codify agent-observed correctness across response design surface
需要继续复核。
Developers may misconfigure credentials、environment、or host setup: feat(docs/skills): codify agent-observed correctness across response design surface
下一步:先在非主力宿主配置中验证 MCP server 命令、权限范围和回滚方式。。