Update mcp.sentry.dev stdio setup for the new flags

已关闭 适合新手
#1,786 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

已经有一个关联 PR 被合并了。

  • #1800 来自 @sentry-junior —— 已合并

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
88/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
typescript
领域
documentation

调研方向

从 packages/mcp-cloudflare/src/client/components/fragments/stdio-setup.tsx 开始,将其中的命令示例与 #1731 中描述的 flag 变更进行对比。另外检查 #975 中提到的 token 示例重叠问题,确保修改之间不会冲突。当已发布的 npm 包支持文档中的命令,并且示例不再使用已弃用的 flag 时,即为完成。

由索引模型根据 Issue 内容生成。

描述

documentation

The stdio setup instructions on mcp.sentry.dev (packages/mcp-cloudflare/src/client/components/fragments/stdio-setup.tsx) still document @sentry/mcp-server flags that #1731 deprecates:

  • --access-token / SENTRY_ACCESS_TOKEN, used in both command examples. #1731 replaces them with SENTRY_AUTH_TOKEN or a shared CLI login (npx -y @sentry/mcp-server auth login).
  • --host / --url / --insecure-http, used in the self-hosted example. #1731 replaces them with SENTRY_HOST / SENTRY_URL (an http:// URL for plain HTTP).
  • --organization-slug / --project-slug, which #1731 replaces with --org / --project.

The old flags still work after #1731, but they print deprecation warnings.

As proposed during review of #1731, update the page once the npm release that ships #1731 is out, so the instructions match the published package. Related: #975 also edits this file's token example.

via @BYK.

--

View Session in Sentry

主要语言
TypeScript
星标
949
派生
171
平均合并
22 小时 56 分钟
30 天内合并 PR
345

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

getsentry/toolkit 的其他 Issue

查看 getsentry/toolkit 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。