partychen/remote-mcp-server-python
3.1
If you are the rightful owner of remote-mcp-server-python and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This project implements a remote Model Context Protocol (MCP) server in Python, designed for easy configuration and extension.
Remote MCP Server (Python)
This project implements a remote Model Context Protocol (MCP) server in Python.
Features
- Remote MCP server implementation
- Python-based, easy to extend
- Simple to run and configure
Requirements
- Python 3.8+
- (Optional) See
pyproject.toml
for dependencies
Installation & Configuration
- Clone this repository:
git clone <repo-url> cd remote-mcp-server-python
- (Optional) Create and activate a virtual environment:
python3 -m venv venv source venv/bin/activate
- Install dependencies using uv:
Or, with pip:
uv install .
pip install .
Project Configuration
- All dependencies are managed in
pyproject.toml
under the[project]
section. - The main dependency is
mcp[cli]>=1.9.3
. - Python version required: 3.13 or above (see
requires-python
inpyproject.toml
). - The entry point is
main.py
, which starts the MCP server.
You can customize the server by editing main.py
and adjusting the FastMCP
initialization or adding new tools.
Usage
Run the server with uv:
uv run main.py
Or, directly with Python:
python main.py
By default, the server runs in stateless HTTP mode and responds with JSON. You can change the transport or server options in main.py
.
Project Structure
main.py
— Main entry point for the server, defines tools and server configpyproject.toml
— Project metadata and dependenciesREADME.md
— This file
License
MIT