yodakeisuke/vibe-ready-mcp-server-template
3.2
If you are the rightful owner of vibe-ready-mcp-server-template and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This document provides a structured overview of a Model Context Protocol (MCP) server template designed for building efficient and organized MCP servers using TypeScript.
Tools
example
Demonstrates the integration of new tools.
MCP Server Template
A minimal typescript template for building MCP (Model Context Protocol) servers.
Features
- Vibe Coding Ready: Pre-organized directory structure with complete rules and samples
- Implementation Guide: Complete CLAUDE.md with patterns and examples
Quick Start
# Install dependencies
npm install
# Build the server
npm run build
# Start the server
npm run start
Example Tool
The template includes an example
tool that demonstrates:
Adding New Tools
- Create a new directory in
src/mcp/tool/your-tool/
- Add these files:
schema.ts
- Input/output schemashandler.ts
- Tool logicindex.ts
- Tool export
- Register the tool in
src/mcp/Server.ts
File Structure
src/
āāā index.ts # Server entry point
āāā mcp/ # MCP server layer
ā āāā Server.ts # MCP server setup
ā āāā tool/
ā āāā util.ts # Response utilities
ā āāā example/ # Example tool
ā ā āāā schema.ts # Zod schemas
ā ā āāā handler.ts # Tool handler
ā ā āāā index.ts # Tool export
ā āāā CLAUDE.md # Implementation guide
āāā domain/ # Domain layer (optional)
ā āāā command/ # Command aggregates
ā ā āāā your-aggregate/
ā ā āāā aggregate.ts # Business logic
ā ā āāā events.ts # Domain events
ā āāā read/ # Read models
ā ā āāā your-view/
ā ā āāā index.ts # Query functions
ā ā āāā types.ts # View types
ā āāā term/ # Domain terms
ā āāā types.ts # Shared domain types
āāā effect/ # Effect layer (optional)
āāā storage/
āāā your-storage.ts # Side effects