Content
# MCP Client-Server
The simplest example of MCP client-server architecture.
The server can be run as a remote MCP server serving HTTP requests.
Client consumes the remote server over HTTP.
### Commands
One-time setup
```
# Setup virtualenv
python3 -m venv venv
source venv/bin/activate
# Download all dependencies using uv
uv install
```
---
First, activate the virtual environment:
```
source venv/bin/activate
```
Then proceed with the following:
1. Start mcp server in dev mode to test out tools
```
mcp dev server.py
```
2. Run the MCP server
```
python server.py
```
Accessible at http://0.0.0.0:8000/mcp by default
3. Run the MCP client that calls a tool on server
```
python client.py
```
You Might Also Like
Ollama
Ollama enables easy access to large language models on various platforms.

n8n
n8n is a secure workflow automation platform for technical teams with 400+...
OpenWebUI
Open WebUI is an extensible web interface for customizable applications.

Dify
Dify is a platform for AI workflows, enabling file uploads and self-hosting.

Zed
Zed is a high-performance multiplayer code editor from the creators of Atom.
MarkItDown MCP
markitdown-mcp is a lightweight MCP server for converting various URIs to Markdown.