{
  "manifest_version": 3,
  "name": "MCP Browser",
  "version": "1.0.0",
  "description": "Captures browser console logs and sends them to local MCP server",
  "permissions": [
    "activeTab",
    "tabs",
    "storage",
    "scripting"
  ],
  "host_permissions": [
    "http://localhost/*",
    "https://localhost/*",
    "ws://localhost/*",
    "wss://localhost/*",
    "http://127.0.0.1/*",
    "https://127.0.0.1/*",
    "ws://127.0.0.1/*",
    "wss://127.0.0.1/*",
    "http://[::1]/*",
    "https://[::1]/*",
    "ws://[::1]/*",
    "wss://[::1]/*",
    "<all_urls>"
  ],
  "background": {
    "service_worker": "background.js"
  },
  "content_scripts": [
    {
      "matches": ["<all_urls>"],
      "js": ["content.js"],
      "run_at": "document_start",
      "all_frames": true
    }
  ],
  "action": {
    "default_popup": "popup.html",
    "default_icon": {
      "16": "icon-16.png",
      "48": "icon-48.png",
      "128": "icon-128.png"
    }
  },
  "icons": {
    "16": "icon-16.png",
    "48": "icon-48.png",
    "128": "icon-128.png"
  }
}