install-mcpcat-python

Installation
SKILL.md

Integrate MCPCat into a Python MCP Server

MCPCat is a one-line SDK integration. It automatically tracks all tool calls, sessions, and user intent. You do NOT add tracking code inside tool functions — MCPCat hooks into the server at the protocol level.

Step 1: Find the MCP server

Search all .py files for these import patterns (check in order):

  1. from mcp.server.fastmcp import FastMCP or from mcp.server import FastMCPOfficial FastMCP
  2. from fastmcp import FastMCPCommunity FastMCP (different package, needs mcpcat[community])
  3. from mcp.server.lowlevel import Server or from mcp.server import ServerLow-level Server

In the matched file, find the server variable assignment (e.g., server = FastMCP(...) or app = Server(...)). Store the variable name.

If mcpcat.track is already present in the file, tell the user MCPCat is already integrated and stop.

If multiple server instantiations exist, ask the user which one to instrument.

Step 2: Get the project ID

Installs
4
Repository
mcpcat/skills
First Seen
Feb 6, 2026
install-mcpcat-python — mcpcat/skills