Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

HTTP Server

БесплатноНе проверен

An MCP server that enables AI assistants to fetch public GitHub repository lists for any username via HTTP or stdio transports. It provides a specialized tool f

GitHubEmbed

Описание

An MCP server that enables AI assistants to fetch public GitHub repository lists for any username via HTTP or stdio transports. It provides a specialized tool for repository retrieval and supports both remote web server and local integration modes.

README

A Model Context Protocol (MCP) server that provides GitHub repository information via both HTTP and stdio transports. This server enables AI assistants and other MCP clients to fetch GitHub repositories for any user.

🚀 Features

  • GitHub Repository Fetcher: Retrieve all repositories for any GitHub username
  • Dual Transport Modes:
    • HTTP Mode: Run as a web server for remote access
    • stdio Mode: Run locally for MCP client integration
  • Type-Safe: Built with TypeScript and Zod for schema validation
  • Express Integration: Modern HTTP server with JSON support

📋 Prerequisites

  • Node.js (v18 or higher)
  • npm or yarn

🔧 Installation

  1. Clone the repository:
git clone https://github.com/kh-mahmoud/streamable-mcp.git
cd streamable-mcp
  1. Install dependencies:
npm install
  1. Build the project:
npm run build

🎯 Usage

HTTP Mode (Web Server)

Start the server in HTTP mode:

npm run server

The server will start on http://localhost:3000 (or the port specified in PORT environment variable).

API Endpoint:

  • POST /mcp - MCP JSON-RPC endpoint

stdio Mode (Local MCP Client)

For local MCP client integration:

node build/index.js stdio

Development Mode

Run with hot-reload during development:

npm run server

MCP Inspector

Inspect the MCP server:

npm run inspect

🛠️ Available Tools

get_repos

Fetches all public repositories for a given GitHub username.

Parameters:

  • username (string): GitHub username to fetch repositories for

Returns:

  • List of all repositories with their names

## 📁 Project Structure

```bash
http_mcp/
├── src/
│   └── index.ts          # Main server implementation
├── build/
│   └── index.js          # Compiled JavaScript
├── package.json          # Dependencies and scripts
├── tsconfig.json         # TypeScript configuration
└── Readme.md            # This file

🛠️ Technologies Used

📝 Scripts

  • npm run build: Compile TypeScript to JavaScript
  • npm start: Start the HTTP server
  • npm run server: Start development server with hot-reload
  • npm run inspect: Inspect MCP server with MCP Inspector

🔌 MCP Client Integration

To use this server with an MCP client, configure it in your MCP client settings:

For stdio mode:

{
  "mcpServers": {
    "http_mcp": {
      "command": "node",
      "args": ["path/to/build/index.js"]
    }
  }
}

For HTTP mode:

npm i mcp-remote
"http-mcp": {
      "command": "mcp-remote",
      "args": [
        "http://localhost:3000/mcp" or "your/deployment/link/mcp"
      ],
      "env":{
        "NODE_OPTIONS":"--no-deprecation"
      }
    }

🔗 Resources

⭐ If you find this project useful, please consider giving it a star!

from github.com/kh-mahmoud/streamable-mcp

Установка HTTP Server

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/kh-mahmoud/streamable-mcp

FAQ

HTTP Server MCP бесплатный?

Да, HTTP Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для HTTP Server?

Нет, HTTP Server работает без API-ключей и переменных окружения.

HTTP Server — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить HTTP Server в Claude Desktop, Claude Code или Cursor?

Открой HTTP Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare HTTP Server with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development