# How Blender MCP Registers and Decorates Tools with the Telemetry Decorator

> Learn how Blender MCP registers and decorates tools with the telemetry_decorator. Discover automatic metric capture for tool execution in src/blender_mcp/server.py.

- Repository: [ahujasid/blender-mcp](https://github.com/ahujasid/blender-mcp)
- Tags: internals
- Published: 2026-04-13

---

**Blender MCP registers tools using the `@mcp.tool()` decorator from FastMCP and wraps them with `@telemetry_tool()` to automatically capture execution metrics, with both decorators applied in [`src/blender_mcp/server.py`](https://github.com/ahujasid/blender-mcp/blob/main/src/blender_mcp/server.py).**

The **ahujasid/blender-mcp** repository implements a Model Context Protocol (MCP) server that exposes Blender functionality through RPC-callable tools. Understanding how MCP tools are registered and decorated with the telemetry decorator reveals how the server automatically tracks performance and error rates without requiring instrumentation code inside each tool function.

## FastMCP Tool