📦
Fastmcp Blog
No description available
0 installs
Trust: 30 — Low
Devtools
Ask AI about Fastmcp Blog
Powered by Claude · Grounded in docs
I know everything about Fastmcp Blog. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Loading tools...
Reviews
Documentation
FastMCP Sample: Dice Roller & Greet Server
This repository contains a sample Model Context Protocol (MCP) server and client built using FastMCP.
Project Structure
server.py: A "Dice Roller" MCP server that provides aroll_dicetool.myserver.py: A simple "Greet" MCP server that provides agreettool.my_client.py: A client to interact with the MCP server.
Getting Started
Prerequisites
- Python 3.10+
fastmcplibrary
Running Locally
To run the Dice Roller server:
fastmcp run server.py
To run the Greet server:
fastmcp run myserver.py
Deployment to Prefect Horizon
This server is designed to be deployed to Prefect Horizon, the context layer for AI agents.
To deploy your MCP server to Prefect Horizon:
- Push this repository to GitHub.
- Connect your repository to your Prefect Horizon account.
- Configure the entrypoint (e.g.,
server.py).
