UNPKG

create-strawberry-toolserver

Version:

Create a new Strawberry Tool Server project

56 lines (40 loc) 1.25 kB
# create-strawberry-toolserver A minimal CLI tool to scaffold Strawberry Tool Server applications with zero configuration. Get started building your own MCP-compatible tool server in seconds. ## Usage You can create a new Strawberry Tool Server with your preferred package manager: ```sh # npm npx create-strawberry-toolserver@latest my-toolserver # pnpm pnpm dlx create-strawberry-toolserver@latest my-toolserver # yarn yarn create strawberry-toolserver my-toolserver ``` ## Command Line Arguments - `--name`: Name of the template to use (default: "strawberry") - `--dir`: Directory where the project will be created (default: current directory) - `--registry`: Custom registry URL for templates ## Getting Started Once your project is created: 1. Navigate to the project directory: ```bash cd my-toolserver ``` 2. Install dependencies: ```bash npm install ``` 3. Start the development server: ```bash npm start ``` 4. Test the server: ```bash npx @strawberryprotocol/mcp-cli --sse http://localhost:3000/sse ``` ## Features - Zero configuration setup - TypeScript support out of the box - Built-in MCP (Model Context Protocol) compatibility - Docker support - Example tool implementation included