- Home
- MCP servers
- MCP Demo
MCP Demo
- python
0
GitHub Stars
python
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"tatocode-mcp-demo": {
"command": "uv",
"args": [
"run",
"main.py",
"mcp_server.py"
],
"env": {
"API-KEY": "YOUR_API_KEY"
}
}
}
}You can run a minimal MCP server that demonstrates basic MCP client–server interactions using uv to manage dependencies and a Python-based setup. This server exposes a lightweight workflow you can extend as you integrate your own MCP clients and endpoints.
How to use
Start the server locally, then connect an MCP client to interact with it. Ensure your API key is loaded from the environment file so the server can access the qwen API. You will use the runtime command to launch the server, and your client will send requests through the MCP interface implemented by this demo.
How to install
Prerequisites you need before installation: Python 3.10 or higher and the uv package manager.
git clone https://github.com/tatocode/MCP-Demo.git
cd MCP-Demo
uv sync
API-KEY=YOUR_API_KEY
Save this in a file named .env in the project root to provide your access key for the qwen API.
uv run main.py mcp_server.py
## Additional sections
Security note: keep your API key private. Do not share the `.env` file or expose its contents publicly. The `.env` file is required for the server to access the qwen API during operation.
Environment and usage details: this demo uses Python and uv for dependency management and runs a minimal MCP server that demonstrates the essential client–server interactions within the MCP ecosystem.