mcpField
C
callmybot-cookbook-mcp-server

callmybot-cookbook-mcp-server

Remote
github.com/callmybotDeveloper Tools0Updated 58w ago
Repository

About callmybot-cookbook-mcp-server

A TypeScript MCP server example built with the official MCP TypeScript SDK and Express. It demonstrates a custom-container HTTP server with STDIO compatibility, session configuration, and request logging.

Key features

  1. 01HTTP and STDIO transports
  2. 02CORS headers for browser clients
  3. 03Smithery session configuration
  4. 04Request logging middleware
  5. 05Custom Docker container

Use cases

  1. 01Trying HTTP and STDIO MCP transports
  2. 02Hosting an MCP server in a custom container
  3. 03Debugging HTTP requests and responses

MCP support

Provides an MCP server over HTTP or STDIO, selectable with the `TRANSPORT` environment variable. It includes CORS support and handles session configuration passed through Smithery.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://server.smithery.ai/@callmybot/cookbook-mcp-server/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

All endpoints
Streamable HTTPhttps://server.smithery.ai/@callmybot/cookbook-mcp-server/mcpAuth required

Tools

Details

From the project README

TypeScript MCP Server with Custom Container

A simple TypeScript MCP server built using the official MCP TypeScript SDK, Express, and custom Docker container. This example demonstrates how you can host HTTP servers on Smithery using custom containers, with STDIO support for backwards compatibility.

See the complete guide: https://smithery.ai/docs/migrations/typescript-custom-container

Try it live on Smithery

Features:

  • CORS: CORS headers for browser-based MCP clients
  • Smithery Session Configuration: handles user's session configuration passed via Smithery (learn more)
  • Request Logging Middleware: Custom middleware for debugging HTTP requests and responses
  • Server 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 Express server with MCP HTTP transport
  • package.json - Node.js dependencies and scripts
  • smithery.yaml - Smithery deployment and session configuration
  • Dockerfile - Dockerfile to host server in Smithery

Quick Start

  1. Install dependencies:

    npm install
    
  2. Run the development server:

    HTTP Mode:

    npm run dev
    

    This will start the server on port 8081.

  3. Test interactively: Once your server is running in HTTP mode, you can test it interactively using the Smithery playground:

    npx -y @smithery/cli playground --port 8081
    
    Smithery Playground
  4. Deploy your own version: To deploy your own MCP server:

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.