ai.smithery/smithery-ai-cookbook-ts-smithery-cli

Official registry Archived Developer tools

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

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

Remote (streamable-http)
Claude Code
claude mcp add --transport http smithery-ai-cookbook-ts-smithery-cli 'https://server.smithery.ai/@smithery-ai/cookbook-ts-smithery-cli/mcp' --header 'Authorization: <Bearer token for Smithery authentication>'
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "smithery-ai-cookbook-ts-smithery-cli": {
            "type": "http",
            "url": "https://server.smithery.ai/@smithery-ai/cookbook-ts-smithery-cli/mcp",
            "headers": {
                "Authorization": "<Bearer token for Smithery authentication>"
            }
        }
    }
}

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. Smithery Cookbook
  2. Prerequisites
  3. Quick Start
  4. Table of Recipes
  5. Development Workflow
  6. Explore Further
  7. License

Smithery Cookbook

The Smithery Cookbook provides code examples and guides designed to help developers build MCP (Model Context Protocol) servers and clients, offering copy-able code snippets that you can easily integrate into your own projects.

Prerequisites

To make the most of the examples in this cookbook, you'll need:

  • Smithery CLI: Install with npm install -g @smithery/cli to access the interactive playground and development tools
  • Programming language runtimes for the examples you want to explore (Python 3.12+, Node.js 18+, etc.)
  • Basic understanding of the Model Context Protocol (MCP)

Quick Start

  1. Clone this repository:
     git clone https://github.com/smithery-ai/smithery-cookbook.git
     cd smithery-cookbook
  2. Choose an example and follow its README:
     cd servers/python/quickstart
     # Follow the README.md instructions
  3. Test with Smithery Playground:

     npx @smithery/cli playground --port 8081

    Note: Replace 8081 with the port your server is running on

  4. Deploy to Smithery (optional): Ready to share your MCP server? Deploy it here to host it on Smithery's platform.

Table of Recipes

Python Servers
TypeScript Servers

Development Workflow

Build and distribute your MCP servers with Smithery:

  1. Build your MCP server using the language and framework of your choice
  2. Test interactively with npx @smithery/cli playground
  3. Debug with real-time request/response inspection
  4. Deploy to Smithery's hosted platform - Deploy here
  5. Distribute your server gets its own page at smithery.ai/server/{name} for others to discover and use

Explore Further

Looking for more resources to enhance your MCP development experience?

If you have ideas for new examples or guides, share them on the issues page.

License

MIT License

Frequently asked questions

What is ai.smithery/smithery-ai-cookbook-ts-smithery-cli?

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

How do I install ai.smithery/smithery-ai-cookbook-ts-smithery-cli?

It runs as a remote server. In Claude Code: claude mcp add --transport http smithery-ai-cookbook-ts-smithery-cli 'https://server.smithery.ai/@smithery-ai/cookbook-ts-smithery-cli/mcp' --header 'Authorization: <Bearer token for Smithery authentication>'. For other clients, paste the JSON configuration from this page into their MCP settings.

Does ai.smithery/smithery-ai-cookbook-ts-smithery-cli need an API key?

Yes. It expects Authorization, which you set in its configuration.

Is ai.smithery/smithery-ai-cookbook-ts-smithery-cli open source?

Yes. Its code is on GitHub under the MIT license.

Who maintains ai.smithery/smithery-ai-cookbook-ts-smithery-cli?

It is published by smithery-ai. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.