okirmio-create/create-mcp-server
CLI scaffolding tool for creating MCP (Model Context Protocol) servers
Platform-specific configuration:
{
"mcpServers": {
"create-mcp-server": {
"command": "npx",
"args": [
"-y",
"create-mcp-server"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
CLI scaffolding tool for creating Model Context Protocol (MCP) servers. Think create-next-app but for MCP servers.
npx create-mcp-server my-server# Interactive mode
npx create-mcp-server my-server
# Non-interactive with defaults
npx create-mcp-server my-server --yes
# Fully specified
npx create-mcp-server my-server \
--name my-server \
--description "My custom MCP server" \
--transport stdio \
--template full \
--pm pnpm| Option | Description | Choices | |--------|-------------|---------| | --name | Server name | any string | | --description | Server description | any string | | --transport | Transport type | stdio, sse, http | | --template | Project template | minimal, with-tools, with-resources, full | | --pm | Package manager | npm, pnpm, yarn | | --yes | Skip prompts, use defaults | - |
A bare MCP server with a single ping tool. Good starting point for custom servers.
Includes example tools demonstrating:
Includes example resources demonstrating:
Everything: tools, resources, and prompts. Includes all examples from other templates plus:
my-server/
├── package.json
├── tsconfig.json
├── .gitignore
├── README.md
├── src/
│ ├── index.ts
│ ├── tools/ (with-tools, full)
│ │ └── example.ts
│ ├── resources/ (with-resources, full)
│ │ └── example.ts
│ └── prompts/ (full only)
│ Loading reviews...