Smithery Ai Cookbook Ts Smithery Cli

ai.smitheryPublished by smithery.aiOfficial publisherv1.0.0Updated Oct 24, 2026

A simple Typescript MCP server built using the official MCP Typescript SDK and smithery/cli. This…

The publisher's own server: 222wcnm Bilistalkermcp

VerifiedStreamable HTTPWeb executableCloud & InfrastructureDeveloper Tools

Overview

AI-generated overview

A template TypeScript MCP server built with the official MCP SDK and Smithery CLI, showing how to host a streamable HTTP server on Smithery.

What you can do
  • Serves as a starter project for building an MCP server in TypeScript with the official SDK.
  • Demonstrates hosting a streamable HTTP server on Smithery via smithery/cli, with STDIO support for backwards compatibility.
  • Handles user session configuration passed through Smithery.
  • Runs in either HTTP or STDIO mode depending on the TRANSPORT environment variable.
  • Includes a development mode that launches the Smithery playground for interactive testing.
When to use it
Useful if you want a working reference for writing and deploying your own TypeScript MCP server on Smithery, or want to fork the example and add your own tools. Not intended for end users looking for ready-made capabilities.
Requirements
Remote endpoint at server.smithery.ai with a required bearer token in the Authorization header. To run or modify the code locally: Node.js 22 or higher and npm; STDIO mode uses an API_KEY environment variable.
Before you install
The remote endpoint requires a Smithery bearer token in the Authorization header, so treat it as a secret. The example is a scaffold with no documented tools, so its behavior depends on the code you deploy; review any fork before exposing it.

Installation

In SourceWeft

  1. Open Smithery Ai Cookbook Ts Smithery Cli in the dashboard and add it to a workspace.
  2. Connect Authorization token credentials. They are stored privately and never shown on public pages.
  3. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/ai.smithery%2Fsmithery-ai-cookbook-ts-smithery-cli/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "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

Try it live on Smithery

Features:

  • Smithery CLI: Uses @smithery/cli for 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 configuration
  • package.json - Node.js dependencies and scripts
  • smithery.yaml - Smithery deployment configuration

Quick Start

  1. Install dependencies:

    bash
    npm install
  2. Run the development server:

    HTTP Mode (automatically launches Smithery playground for interactive testing):

    bash
    npm run dev
    [Smithery Playground]

    Optional - STDIO Mode: If you prefer to run in STDIO mode, you can use:

    bash
    API_KEY=your-api-key npm run start:stdio
  3. Deploy your own version: To deploy your own MCP server:

Source: servers/typescript/migrate_stdio_to_http/server_with_smithery_cli/README.md at commit 2bf1e95

Tools

0
SourceWeft has not read this server's tools yet.

Version history

1
  1. v1.0.0LatestSep 16, 2026

Score

85% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Smithery integrations