MCP Servers Monorepo

December 31, 2024 ยท View on GitHub

This monorepo contains MCP (Model Context Protocol) server implementations for various purposes, managed using pnpm workspaces.

Packages

Development Setup

  1. Install pnpm if not already installed:

    npm install -g pnpm
    
  2. Install dependencies:

    pnpm install
    
  3. Build all packages:

    pnpm run build
    
  4. For development with auto-rebuild:

    pnpm run watch
    

Installation

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

It can also be used with Cline, a VSCode extension that makes it easy to use MCP servers right from the editor. Just tell Cline the route to your cloned repo with this MCP and it should handle everything or at least tell you what to do.

{
  "mcpServers": {
    "svelte-docs-server": {
      "command": "/path/to/svelte-docs-server/build/index.js"
    }
  }
}

Usage

Each package contains its own README with specific usage instructions. Refer to the package's documentation for details.

Debugging

For debugging MCP servers, we recommend using the MCP Inspector. You can run it using:

pnpm run inspector

The Inspector will provide a URL to access debugging tools in your browser.