
antarikshc/perfetto-mcp
Productivity workflowこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
antarikshc/perfetto-mcpは、https://github.com/antarikshc/perfetto-mcp.からインポートされたMCPサーバー候補です。
概要
antarikshc/perfetto-mcpは、https://github.com/antarikshc/perfetto-mcp.からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
自然言語を強力なPerfettoトレース分析に変える
自然言語プロンプトを集中したPerfetto解析に変換するモデルコンテキストプロトコル(MCP)サーバーです。ジャンクを素早く説明し、ANRを診断し、CPUホットスレッドを見つけ、ロック競合を発見し、メモリリークを発見できます。すべてSQLを書かずに。
✨ 特徴
- 自然言語→SQL:平易な英語で質問をし、正確なPerfettoクエリを得られます
- ANR検出:アプリケーション応答しないイベントを自動的に特定・解析
- パフォーマンス解析:CPUプロファイリング、フレームの不安定検出、メモリリーク検出
- スレッド競合:同期ボトルネックとロック競合の検出
- バインダープロファイリング:IPC性能とシステム相互作用の遅延を分析
📋 前提条件
-
Python 3.13+(macOS/Homebrew):
-
uv(推奨):
🚀 始めて
カーソル
または、~/.cursor/mcp.json(グローバル)または.cursor/mcp.json(プロジェクト)に追加する:
クロード符号
このコマンドを実行してください。詳細はClaude Code MCPのドキュメントをご覧ください。
または、~/claude.json(macOS)または%APPDATA%\Claude\claude.json(Windows)を編集してください:
VSコード
または.vscode/mcp.json(プロジェクト)に追加するか、「MCP: Add Server」コマンドを実行します。
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Perfetto MCP
Turn natural language into powerful Perfetto trace analysis
A Model Context Protocol (MCP) server that transforms natural-language prompts into focused Perfetto analyses. Quickly explain jank, diagnose ANRs, spot CPU hot threads, uncover lock contention, and find memory leaks – all without writing SQL.
✨ Features
- Natural Language → SQL: Ask questions in plain English, get precise Perfetto queries
- ANR Detection: Automatically identify and analyze Application Not Responding events
- Performance Analysis: CPU profiling, frame jank detection, memory leak detection
- Thread Contention: Find synchronization bottlenecks and lock contention
- Binder Profiling: Analyze IPC performance and slow system interactions
📋 Prerequisites
- Python 3.13+ (macOS/Homebrew):
brew install [email protected] - uv (recommended):
brew install uv
🚀 Getting Started
Optional: Use a Local trace_processor_shell Binary
If your network environment blocks downloads, set
PERFETTO_MCP_TRACE_PROCESSOR_BIN_PATH to an absolute path of a local
trace_processor_shell binary.
インストール
uvx perfetto-mcp設定
{
"mcpServers": {
"perfetto-mcp": {
"command": "uvx",
"args": ["perfetto-mcp"]
}
}
}