https://github.com/modelcontextprotocol/create-typescript-server
CLI tool to create a new TypeScript MCP server
https://github.com/modelcontextprotocol/create-typescript-server
Last synced: about 1 year ago
JSON representation
CLI tool to create a new TypeScript MCP server
- Host: GitHub
- URL: https://github.com/modelcontextprotocol/create-typescript-server
- Owner: modelcontextprotocol
- License: mit
- Created: 2024-11-18T13:05:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-25T18:37:30.000Z (over 1 year ago)
- Last Synced: 2025-03-22T15:10:00.183Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://modelcontextprotocol.io
- Size: 60.5 KB
- Stars: 134
- Watchers: 5
- Forks: 38
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# create-typescript-server 
A command line tool for quickly scaffolding new MCP (Model Context Protocol) servers.
## Getting Started
```bash
# 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:
```bash
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](LICENSE) file for details.