# mcp-server-and-gw

> MCP Server

This repository provides a bridge, server, and client for connecting Claude Desktop to remote servers via HTTP SSE, enabling independent server development and faster iteration cycles. This repository provides a

## Overview

- **Category:** Communication
- **Language:** TypeScript
- **Stars:** 91
- **Forks:** 5
- **Owner:** boilingdata
- **GitHub:** https://github.com/boilingdata/mcp-server-and-gw
- **Created:** 2024-11-28T10:28:48+00:00
- **Updated:** 2025-03-28T04:30:17+00:00
- **Source:** https://model-context-protocol.com/servers/mcp-http-sse-gateway-server-client

## Setup

## Setup

1.  **Install `claude_gateway`:** Globally using `npm install -g mcp-server-and-gw` or directly with `npx claude_gateway http://localhost:9999`.
2.  **Configure Claude:**
    *   Build: `yarn install` and `yarn build`.
    *   Copy `build/claude_gateway.js` to `/tmp` or update `claude_desktop_config.json` to match the script location.
    *   Update `~/Library/Application\ Support/Claude/claude_desktop_config.json` with the provided configuration.
3.  **Start the server:** Run `node build/server.js`.
4.  **Start Claude Desktop:** After the server is running.

## Tools

## Available Tools

1.  **MCP Gateway:** A gateway from stdio to HTTP SSE transport.
2.  **Example Server:** An SSE server for independent development.
3.  **Example Client:** A client to interact with the SSE server.
4.  **query:** Run a read-only SQL query on a DuckDB database.
5.  **visualise:** Visualise SQL query results as an Apache ECharts chart.
