
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 筆記並管理團隊。