Fastmcp Server Demo
No description available
Ask AI about Fastmcp Server Demo
Powered by Claude · Grounded in docs
I know everything about Fastmcp Server Demo. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
FastMCP Server Demo
This is a simple FastMCP client-server implemenation demo. Server can be also hosted in any remote server. FastMCP Cloud provide free, fast and easy server deployemnt service.
About
- Tools: add(), get_weather().
- Resources: get_config(), personalized_greeting().
- Prompts: summarize_text().
Set up
Pre-requisites are python<=3.13 and uv package manger, instructions to set up can be found here.
-
Clone this repository
Either by download as zip option or by
git clone https://github.com/lukmanulhakeem97/fastmcp-server-demo.gitcommand in CLI tool. -
Create an python environment and install dependencies
create environment:
uv venv [name], name is optional.install dependency given in
pyproject.tomlfile:uv sync. -
Activate
venvby.\.venv\Scripts\activate
Run MCP Server
- Either
server.pyin a terminal locally at127.0.0.1local host byuv run server.pyor, - at any remote server. Can set up server at FastMCP Cloud using intruction given it their website.
Run MCP Client
Run mcp client.py in a sepate terminal: uv run client.py
