Command Palette

Search for a command to run...

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

Remote Suite

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

A production-ready Model Context Protocol suite over Streamable HTTP providing a sandboxed file server with tools, resources, prompts, and both manual and AI-dr

GitHubEmbed

Описание

A production-ready Model Context Protocol suite over Streamable HTTP providing a sandboxed file server with tools, resources, prompts, and both manual and AI-driven clients.

README

A production-ready Model Context Protocol (MCP) suite over Streamable HTTP, demonstrating remote connectivity, a filesystem roots security boundary, and where sampling (server-initiated LLM requests) fits in.

It ships three runnable apps on top of one transport layer:

Component Role Default URL
Server (mcp-server) FastMCP file server: tools, resources, prompts, sandboxed to a workspace root http://127.0.0.1:8000
GUI client (mcp-gui) Manual Gradio UI to discover/run tools, read resources, render prompts http://127.0.0.1:7861
AI host (mcp-host) Gradio chat where an OpenAI model drives the MCP tools http://127.0.0.1:7862

Architecture

src/mcp_remote_suite/
├── config.py            # env-driven settings (pydantic-settings)
├── logging_config.py    # shared logging setup
├── _content.py          # unwrap MCP result objects -> text/dicts
├── server/
│   ├── security.py      # WorkspaceGuard — path-traversal protection
│   ├── files.py         # WorkspaceFiles — testable file operations
│   ├── app.py           # FastMCP factory + entry point
│   └── __main__.py      # python -m mcp_remote_suite.server
├── client/
│   └── base.py          # MCPHTTPClient — transport only, no UI/LLM deps
└── apps/
    ├── gui.py           # MCPHTTPClientApp (manual)
    └── host.py          # MCPHTTPHostApp (LLM-driven, multi-round tool loop)
tests/                   # pytest unit tests for the security boundary + files

Layering: apps depend on client and _content; server depends on security + files. Nothing hardcodes ports/URLs/models — all configuration flows from config.py.

Setup

python -m venv .venv
# Windows: .venv\Scripts\activate    |    Unix: source .venv/bin/activate
pip install -e ".[dev]"
cp .env.example .env   # optional — adjust ports, model, OpenAI creds

Run

Start the server, then either app (each in its own terminal):

mcp-server          # http://127.0.0.1:8000
mcp-gui             # http://127.0.0.1:7861  (manual)
mcp-host            # http://127.0.0.1:7862  (AI chat; needs OpenAI creds)

Equivalent module form: python -m mcp_remote_suite.server, etc.

Configuration

All settings come from environment variables or .env (see .env.example). Key ones: SERVER_HOST/SERVER_PORT, WORKSPACE_DIR, SERVER_URL, GUI_PORT/HOST_PORT, LOG_LEVEL, and OPENAI_API_KEY / OPENAI_BASE_URL / OPENAI_MODEL for the AI host.

Security boundary

Every server-side path goes through WorkspaceGuard.resolve(), which resolves the path and rejects anything escaping the workspace root (.., absolute paths, symlink escapes) with AccessDeniedError. This is the "roots" enforcement that makes the server safe to expose remotely.

Tests

pytest

from github.com/TanvirIslam-BD/mcp-remote-suite

Установка Remote Suite

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

▸ github.com/TanvirIslam-BD/mcp-remote-suite

FAQ

Remote Suite MCP бесплатный?

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

Нужен ли API-ключ для Remote Suite?

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

Remote Suite — hosted или self-hosted?

Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.

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

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

Похожие MCP

Compare Remote Suite with

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

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

Автор?

Embed-бейдж для README

Похожее

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