Real MCP System
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Real MCP SystemGet weather in London and convert 50 GBP to USD"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Real MCP System (mcp-use + OpenAI + dynamic Web UI)
Prepared by Muhammad Khalil — 21 August 2026.
End-to-end university/demo deliverable:
MCP Server (
server.py) — live tools over streamable-HTTPOpenAI Agent (
agent_core.py/agent.py) — discovers tools and calls themWeb UI (
web.py+static/) — chat + dynamic widgets
Live demo
GitHub (public): https://github.com/NaveedUrRehman787/real-mcp-system
Related MCP server: mcp-server-demo
Tools
Tool | Source |
| Live Open-Meteo geocoding + forecast |
| Live currency-api FX (USD/EUR/PKR/…) |
| Local safe math |
| Local random |
Setup (local)
python3 -m venv .venv
source .venv/bin/activate
cp .env.example .env # set OPENAI_API_KEY
pip install -r requirements.txtPin
mcp>=1.28,<2— mcp 2.x breaks mcp-use 1.7.0.
Run locally (2 terminals)
# Terminal 1 — MCP server
python server.py
# MCP: http://127.0.0.1:8000/mcp
# Inspector: http://127.0.0.1:8000/inspector
# Terminal 2 — Web UI
python web.py
# Chat UI: http://127.0.0.1:3010CLI agent
python agent.py --list-tools
python agent.py "Live weather in Tokyo and convert 50 EUR to USD"Hosted demo (Vercel)
On Vercel the chat UI runs as a single FastAPI app. Because serverless cannot keep a companion MCP process, production uses the same tools in-process (AGENT_BACKEND=direct). Local two-process MCP mode is unchanged.
Set OPENAI_API_KEY in the Vercel project environment variables (already configured for this demo).
Documentation
Project documentation (PDF):
docs/Real_MCP_System_Documentation.pdfStudent learning guide (PDF):
docs/Student_Learning_Guide.pdf
Architecture
Browser chat
→ FastAPI (/api/chat)
→ OpenAI (gpt-4o-mini)
→ tools via MCP (local) or in-process (Vercel)
→ live APIs / local tools
→ reply + dynamic widgetsThis server cannot be deployed
Maintenance
Related MCP Connectors
Live crypto prices, conversion, gas tracker, portfolio tools, and calculators for AI agents.
Loan & mortgage calculator, compound interest, ROI, crypto prices, FX conversion for AI agents.
7 utility tools in here: exchange rate, UUID, hash, Base64, timestamp, calculator, unit conversion.
Weather, code search, currency & Solana trust scoring as MCP tools. Free, no API key needed.
Related MCP Servers
- AlicenseAqualityCmaintenanceProvides utility tools including random jokes, current weather, and name-based age prediction.3MIT
- FlicenseNot gradedqualityDmaintenanceProvides tools for calculating math expressions and querying weather, demonstrating how to build an MCP server using FastMCP or raw SDK.-
- FlicenseNot gradedqualityDmaintenanceProvides five utility tools: weather information, calculator, currency converter, timezone information, and unit converter.-
- FlicenseNot gradedqualityDmaintenanceProvides weather data tools using the WeatherAPI.com service, including current conditions, forecasts, location search, astronomy, and air quality.-