About Fastmcp Sentry Demo
Fastmcp Sentry Demo is an MCP server in the Analytics category: sample FastMCP server with Sentry MCP tracing.
Install
git clone https://github.com/obostjancic/fastmcp-sentry-demoThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (2)
Prompt`summarize_book`
Parameters not published.
Resource`bookshelf://stats`
Parameters not published.
Ask AI
Ask AI about Fastmcp Sentry Demo
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
fastmcp-sentry
A sample FastMCP server with Sentry MCP tracing.
Setup
Requires Python 3.13+, uv, and Node.js (for the MCP Inspector).
git clone https://github.com/obostjancic/fastmcp-sentry-demo.git
cd fastmcp-sentry-demo
uv sync
Create a .env file with your Sentry DSN:
SENTRY_DSN=https://your-key@your-org.ingest.sentry.io/your-project
Run
source .env && uv run python server.py
Starts the MCP server on http://localhost:8000 (streamable-http transport).
To also launch the MCP Inspector:
./dev.sh
What's inside
| Type | Name | Description |
|---|---|---|
| Tool | search_books |
Search books by title/author, optional min_rating filter |
| Tool | add_book |
Add a new book (ISBN, title, author, year, optional rating) |
| Prompt | recommend_books |
Ask an LLM to recommend books in a genre |
| Prompt | summarize_book |
Ask for a concise summary of a book |
| Resource | bookshelf://catalog |
Full JSON catalog |
| Resource | bookshelf://stats |
Aggregate stats (count, avg rating, year range) |
Sentry integration

The Sentry SDK is initialized with MCPIntegration() — every tool call, prompt render, and resource read is traced automatically. The DSN comes from the SENTRY_DSN env var.
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.