mcp-remote-suite
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP Remote Suite
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 ( | FastMCP file server: tools, resources, prompts, sandboxed to a workspace root |
|
GUI client ( | Manual Gradio UI to discover/run tools, read resources, render prompts |
|
AI host ( | Gradio chat where an OpenAI model drives the MCP tools |
|
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 + filesLayering: apps depend on client and _content; server depends on
security + files. Nothing hardcodes ports/URLs/models — all configuration
flows from config.py.
Related MCP server: anthropic_skill
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 credsRun
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
pytestThis server cannot be deployed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
A Model Context Protocol server for Wix AI tools
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceA secure Model Context Protocol server providing HTTP endpoints for AI agent tool execution, including file system operations, shell commands, and LLM-based code generation.1-
- AlicenseNot gradedqualityDmaintenanceA robust, lightweight Model Context Protocol (MCP) server designed to empower your AI Agents with context-awareness, safe execution sandboxes, and dedicated thought logs.ISC
- AlicenseCqualityCmaintenanceA full-featured secure MCP server for local file system operations, with built-in image processing, OCR and media tools. Fully compliant with the official Model Context Protocol specification, offering standardized request/response schemas, large-file streaming I/O, multi-transport remote deployment, and comprehensive text search & replace functionality for LLM agent integration.22Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables developers to build and deploy secure, typed Model Context Protocol servers with tools, resources, prompts, bearer-token authentication, per-tool scopes, rate limiting, and health probes over Streamable HTTP.MIT