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):
from mcp.server.fastmcp import FastMCPorfrom mcp.server import FastMCP— Official FastMCPfrom fastmcp import FastMCP— Community FastMCP (different package, needsmcpcat[community])from mcp.server.lowlevel import Serverorfrom mcp.server import Server— Low-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.