sbb-mcp-server

sbb-mcp-server

3.4

A starter project for building Model Context Protocol (MCP) servers in TypeScript, featuring a simple echo server implementation.

The MCP TypeScript Server Starter is a foundational project designed to help developers create Model Context Protocol (MCP) servers using TypeScript. It includes a basic echo server implementation to demonstrate the core functionalities of MCP. The project supports both STDIO and SSE communication modes, making it suitable for local development and production deployments. It comes with built-in tools, resources, and prompts that can be customized to fit specific AI interaction needs. The server is equipped with a development server that supports hot reloading and an inspector for testing and debugging. The project is structured to facilitate easy integration with various platforms and includes detailed instructions for deployment, particularly with Coolify. The server's architecture allows for the addition of custom tools and resources, making it a versatile starting point for MCP server development.

Features

  • Simple echo server implementation
  • Support for tools, resources, and prompts
  • TypeScript support
  • Development server with hot reloading
  • Built-in inspector for testing and debugging

MCP Tools

  • {'Echo Tool': 'A simple tool that echoes back the input message.'}

MCP Resources

  • {'Echo Resource': 'A resource that can be accessed via URI to echo messages.'}

Usage with Different Platforms

STDIO Mode

bash
pnpm build
node dist/index.cjs

SSE Mode

bash
pnpm dev

Connecting to Deployed Server

bash
npx -y mcp-remote https://subdomain.yourdomain.com/sse