Node.jsとnpmのインストール
Puppeteer MCP Serverを動作させるには、Node.jsとnpmが必要です。以下のコマンドでインストール済みか確認してください:
node -v npm -v
npxを使用して直接実行:
npx -y @modelcontextprotocol/server-puppeteer
設定ファイルを開く
Claude Desktopの設定ファイルは以下の場所にあります:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
追記する
windowsの場合
"mcpServers": {
"puppeteer": {
"command": "node",
"args": [
"C:\\Users\\<user名>\\AppData\\Roaming\\npm\\node_modules\\@modelcontextprotocol\\server-puppeteer\\dist\\index.js"
]
},...Macの場合
"mcpServers": {
"puppeteer": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-puppeteer"]
}
}
Claude Desktop再起動
タスクトレイからちゃんと落とすこと