📦
Test Fastmcp V3
No description available
0 installs
Trust: 30 — Low
Devtools
Ask AI about Test Fastmcp V3
Powered by Claude · Grounded in docs
I know everything about Test Fastmcp V3. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Loading tools...
Reviews
Documentation
MCP FastMCP Greet Server
Minimal MCP server (FastMCP 3 beta) with a greet tool and a UI resource that returns https://example.com as text/uri-list.
Setup
Create and activate a virtualenv, then install dependencies:
python3 -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install -r requirements.txt
Run
Stdio (default):
python server.py
Or with the FastMCP CLI:
fastmcp run server.py:mcp
HTTP (optional):
fastmcp run server.py:mcp --transport http --port 8000
Usage
- The
greettool accepts anameand returns a greeting. MCP Apps–capable clients will also show the linked UI resource. - The UI resource
ui://greet/view.htmlreturns MIME typetext/uri-listwithhttps://example.com; the client may show or open it.
