{"type":"mcp_server","name":"template-mcp-server","description":"This repository provides a CLI tool for quickly building MCP servers with TypeScript, offering dual transport support (stdio/HTTP), an MCP SDK, and an extensible structure for custom tools and resources.","category":"Developer Tools","language":"TypeScript","stars":76,"forks":6,"owner":"mcpdotdirect","github_url":"https://github.com/mcpdotdirect/template-mcp-server","homepage":null,"setup":"## Setup\n\n1.  Create a new project using the CLI tool:\n   ```bash\n   # with npx\n   npx @mcpdotdirect/create-mcp-server\n\n   # Or with npm\n   npm init @mcpdotdirect/create-mcp-server\n   ```\n2.  Install dependencies using your preferred package manager:\n   ```bash\n   # Using npm\n   npm install\n   \n   # Using yarn\n   yarn\n   \n   # Using pnpm\n   pnpm install\n   \n   # Using bun\n   bun install\n   ```\n3.  Start the server:\n   ```bash\n   # Start the stdio server\n   npm start\n   \n   # Or start the HTTP server\n   npm run start:http\n   ```\n4.  For development with auto-reload:\n   ```bash\n   # Development mode with stdio\n   npm run dev\n   \n   # Development mode with HTTP\n   npm run dev:http\n   ```\n5.  When adding custom tools, resources, or prompts to your MCP server, use underscores (`_`) instead of hyphens (`-`) in all resource, tool, and prompt names.","tools":"## Available Tools\n\n1.  Dual Transport Support (Run your MCP server over stdio or HTTP)\n2.  TypeScript (Full TypeScript support for type safety)\n3.  MCP SDK (Built on the official Model Context Protocol SDK)\n4.  Extensible (Easy to add custom tools, resources, and prompts)","faq":null,"created_at":"2025-03-10T21:29:20+00:00","updated_at":"2025-03-26T19:31:51+00:00","source_url":"https://model-context-protocol.com/servers/mcp-server-typescript-cli-template","related_articles":[]}