P
Perfetto
Query Perfetto performance trace files using PerfettoSQL with tools for loading traces, inspecting schemas, and executing SQL analysis.
Share:
About
Query Perfetto performance trace files using PerfettoSQL with tools for loading traces, inspecting schemas, and executing SQL analysis.
Example tools
Illustrative tool names — the actual tool set is defined by the server at runtime.
query
Run a read-only SQL query
list_tables
List tables in the connected database
describe_table
Return column info for a table
Screenshots
No screenshots yet.
Frequently Asked Questions
Common questions about Perfetto.
- What is the Perfetto MCP designed for?
- The Perfetto MCP enables querying Perfetto trace files using PerfettoSQL. It provides capabilities for loading traces, inspecting their schemas, and executing SQL analysis directly against the trace data.
- How can I install the Perfetto MCP in a client like Cline?
- Installation in a client like Cline typically involves adding the MCP's slug, 'perfetto', to your client's configuration. The transport mechanism is 'stdio', which means it runs as a local process. Specific steps depend on your client's user interface for adding MCPs.
- Does the Perfetto MCP require any authentication or API keys?
- No, the Perfetto MCP uses 'none' as its authentication type. It does not require API keys, OAuth tokens, or other credentials to operate. Access is generally controlled by the system's file permissions for the trace files.
- What are the primary capabilities exposed by the Perfetto MCP?
- This MCP exposes capabilities for loading Perfetto trace files, examining their internal schema structure, and executing PerfettoSQL queries. These tools allow for in-depth analysis of performance data within the traces.
- What are the licensing terms for the Perfetto MCP?
- The Perfetto MCP's licensing is determined by its repository, which indicates it is open-source. For specific terms, refer to the license file within the official GitHub repository at https://github.com/tooluse-labs/perfetto-mcp-rs.
- What is a potential limitation or prerequisite for using the Perfetto MCP?
- A key prerequisite is having Perfetto trace files to query; the MCP does not generate these files itself. Performance may vary significantly with very large trace files due to local processing and system resource constraints.
Install Perfetto
Claude Desktop
Add this to claude_desktop_config.json.
{
"mcpServers": {
"perfetto": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-perfetto"
]
}
}
}Cursor
Add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"perfetto": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-perfetto"
]
}
}
}VS Code
Add this to your workspace settings.json.
{
"mcp.servers": {
"perfetto": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-perfetto"
]
}
}
}Reviews
Sign in to leave a review.
No reviews yet. Be the first!
Discussion(0)
No comments yet.