
Smithery Ai Cookbook Ts Smithery Cli
ai.smithery由 smithery.ai 发布官方发布者v1.0.0更新于 Oct 24, 2026
A simple Typescript MCP server built using the official MCP Typescript SDK and smithery/cli. This…
发布方自己的服务:222wcnm Bilistalkermcp
概览
一个托管在 Smithery 上的 TypeScript MCP 示例服务器,演示如何用 Smithery CLI 构建并部署可流式 HTTP 服务器。
- 可以做什么
- 这是一个示例项目而非功能丰富的服务器:它展示如何用官方 TypeScript SDK 和 Smithery CLI 构建 MCP 服务器、以可流式 HTTP 方式托管,并保留 STDIO 以兼容旧客户端。它会处理通过 Smithery 传入的会话配置,并可通过环境变量切换传输方式。README 未列出任何具体工具,因此其能力仅限于示例实现所暴露的内容。
- 适用场景
- 适合希望获得可运行参考的开发者,用于搭建、运行并在 Smithery 上部署自己的 TypeScript MCP 服务器,或用于测试 Smithery 演练场和会话配置流程。它并非面向通用助手用途的工具。
- 运行要求
- 连接 server.smithery.ai 的远程端点,需要在 Authorization 请求头中携带 bearer 令牌。本地运行或修改示例需要 Node.js 22 或更高版本及 npm;STDIO 模式使用 API_KEY 环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Smithery Ai Cookbook Ts Smithery Cli,将其添加到工作区。
- 连接 Authorization token 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/ai.smithery%2Fsmithery-ai-cookbook-ts-smithery-cli/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"smithery-ai-cookbook-ts-smithery-cli": {
"type": "http",
"url": "https://server.smithery.ai/@smithery-ai/cookbook-ts-smithery-cli/mcp",
"headers": {
"Authorization": "Bearer <YOUR_TOKEN>"
}
}
}
}README
TypeScript MCP Server with Smithery CLI
A simple Typescript MCP server built using the official MCP Typescript SDK and smithery/cli. This example demonstrates how you can host streamable HTTP servers on Smithery using smithery/cli, with STDIO support for backwards compatibility.
See the complete guide: https://smithery.ai/docs/migrations/typescript-with-smithery-cli
Features:
- Smithery CLI: Uses
@smithery/clifor compiling your server and launching interactive playground - Smithery Session Configuration: handles user's session configuration passed via Smithery
- HTTP Transport: Can run with both STDIO and HTTP transports using TRANSPORT env variable
Prerequisites
- Node.js 22 or higher
- npm package manager
Project Structure
src/index.ts- Main server implementation with MCP tools and session configurationpackage.json- Node.js dependencies and scriptssmithery.yaml- Smithery deployment configuration
Quick Start
-
Install dependencies:
-
Run the development server:
HTTP Mode (automatically launches Smithery playground for interactive testing):
[Smithery Playground]Optional - STDIO Mode: If you prefer to run in STDIO mode, you can use:
-
Deploy your own version: To deploy your own MCP server:
- Connect your repository at https://smithery.ai/new
来源:servers/typescript/migrate_stdio_to_http/server_with_smithery_cli/README.md,提交 2bf1e95
工具
0版本历史
1- v1.0.0最新Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具必需15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Smithery 集成

222wcnm Bilistalkermcp
ai.smithery官方发布者
Bilibili 创作者分析服务器,让助手查询指定用户的资料、视频、动态、专栏、字幕、关注列表和评论。

Zwldarren Akshare One Mcp
ai.smithery官方发布者
远程 MCP 服务器,让助手以只读方式获取中国股市数据:历史与实时行情、新闻和财务报表。

Zhaoganghao Hellomcp
ai.smithery官方发布者
一个小型远程 MCP 服务器,让助手按名字向人问候,并介绍“Hello, World”的由来。

Zeta Chain Cli
ai.smithery官方发布者
一个远程 MCP 服务器,让助手为任意姓名或受众生成友好、可定制的问候语。

Yuna0x0 Hackmd Mcp
ai.smithery官方发布者
一个连接 HackMD API 的 MCP 服务器,让助手读取、创建、更新和删除 HackMD 笔记并管理团队。