← Discover MCPs and Agents
c
MCPDeveloper toolsMCP Registry

create-typescript-server

CLI tool to create a new TypeScript MCP server

Links

README

From the repo.

create-typescript-server NPM Version

A command line tool for quickly scaffolding new MCP (Model Context Protocol) servers.

Getting Started

# Create a new server in the directory `my-server`
npx @modelcontextprotocol/create-server my-server

# With options
npx @modelcontextprotocol/create-server my-server --name "My MCP Server" --description "A custom MCP server"

After creating your server:

cd my-server     # Navigate to server directory
npm install      # Install dependencies

npm run build    # Build once
# or...
npm run watch    # Start TypeScript compiler in watch mode

# optional
npm link         # Make your server binary globally available

License

This project is licensed under the MIT License—see the LICENSE file for details.

Collected info

  • 171 stars
  • 69 forks
  • Language: JavaScript
  • Source updated: 11/25/2024

Config for your environment

Replace {MCP_ENDPOINT_URL} with this MCP’s endpoint URL (from its repo or docs above). No API key — you connect directly.

Tool

OS

Config file: ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server": {
      "url": "{MCP_ENDPOINT_URL}"
    }
  }
}

Paste into mcpServers in the config file. Restart Cursor after saving.

If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.