Remote/hosted mode: Streamable HTTP transport and Docker image for no-auth tools

未关闭
#48 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
30/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
docker, github-actions, typescript
领域
backend, devops

调研方向

The stdio-only entry point is in src/index.ts, and the transport choice has to be wired there. Read how write tools are registered and how the Steam API key is loaded before touching anything, since the issue requires the key to stay server-side. Done means an HTTP mode behind a --transport http --port flag, a Dockerfile, and tests showing write tools stay off unless explicitly enabled.

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

描述

feature priority: low

Value

Only stdio is supported (src/index.ts). Streamable HTTP would allow:

  • Use from web-based agents and clients that can't spawn local processes (Claude.ai custom connectors, ChatGPT connectors, hosted agent platforms).
  • A free public endpoint for the no-auth read tools as a zero-install trial, which is also a strong discovery funnel.
  • Team deployments behind an allowlisted IP, which the publisher-key tools require anyway ("server IP allowlisted").

Suggested approach

  • Add a --transport http --port 3000 flag using the SDK's StreamableHTTPServerTransport.
  • Publish a Dockerfile and a GHCR image from the release workflow.
  • In HTTP mode, register write tools only when explicitly enabled. Never accept an API key from the client by default. Keep the key server-side.
  • Document a hosted read-only instance if you decide to run one, combined with the cache from the caching issue.
主要语言
TypeScript
星标
5
派生
2
平均合并
1 小时 32 分钟
30 天内合并 PR
3

环境准备

从这里开始

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

TMHSDigital/steam-mcp 的其他 Issue

查看 TMHSDigital/steam-mcp 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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