📦
Rpc Fastmcp Demo
No description available
0 installs
Trust: 30 — Low
Devtools
Ask AI about Rpc Fastmcp Demo
Powered by Claude · Grounded in docs
I know everything about Rpc Fastmcp Demo. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Loading tools...
Reviews
Documentation
AdventureWorks MCP Demo using FASTMCP
A minimal MCP-compliant server & client for querying AdventureWorksLT2019 via natural language.
Features
- MCP Prompts: first-class prompt primitive for NL→T-SQL templates
- MCP Resources:
schema://sqlserverexposing your DB schema - MCP Tools:
query_data&nl_queryfor SQL execution - Streaming JSON-RPC over HTTP/SSE
- FASTMCP 2.0
Prerequisites
- Python 3.9+
- Microsoft ODBC Driver 17 for SQL Server installed
- A running SQL Server instance with AdventureWorksLT2019
- An OpenAI API key
Setup
-
Copy and edit the env file:
cp .env.example .env -
Clone and enter the folder:
python -m venv .venv .\.venv\Scripts\Activate.ps1 pip install -r requirements.txt
Run
-
Run MCP Server
python rpc_server.py -
Run Client
python rpc_client.py
