{"title":"Proxy navigateur","slug":"browser","category":"api","summary":"Service d'automatisation de navigateur — conteneur Docker distinct sur le port 13000 pour le contrôle de navigateur headless.","audience":["human","llm"],"tags":["api","browser","automation","playwright"],"difficulty":"advanced","updated":"2026-06-27","word_count":242,"read_minutes":1,"llm_context":"Browser Proxy is a SEPARATE Docker service (port 13000), NOT a Synapse endpoint.\nSynapse endpoints do NOT include /browser/* paths.\nFor browser automation, use the MCP browser_new tool OR connect to the browser-proxy service directly.\nSynapse MCP exposes browser tools (browser_new, browser_navigate, browser_click, etc.)\n","lang":"fr","translated":true,"requested_lang":"fr","content_markdown":"\n# Proxy navigateur\n\nLe Proxy navigateur est un **service Docker distinct** qui fournit de l'automatisation\nde navigateur headless via Playwright. Il ne fait PAS partie intégrante de l'API Synapse —\nles endpoints Synapse n'incluent pas les chemins `/browser/*`.\n\n## Architecture\n\n```\n┌──────────────┐                ┌──────────────────┐\n│  Synapse API │                │  Browser Proxy   │\n│  port 12800  │                │  port 13000      │\n│              │                │  (Playwright)    │\n└──────────────┘                └──────────────────┘\n       ▲                                ▲\n       │                                │\n       └──────────┌─────────────┐──────┘\n                  │  MCP Server │\n                  │  port 13100 │\n                  └─────────────┘\n```\n\n## Méthodes d'accès\n\n### Méthode 1 : via le serveur MCP Synapse (recommandé)\n\nLe serveur MCP Synapse expose les outils navigateur en tant qu'outils MCP. Utilisez\ncette méthode pour l'automatisation de navigateur pilotée par LLM :\n\n```json\n// Configuration Claude Desktop\n{\n  \"mcpServers\": {\n    \"synapse\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"synapse-mcp-api@latest\"],\n      \"env\": {\n        \"SYNAPSE_MIND_KEY\": \"mk_...\",\n        \"SYNAPSE_URL\": \"https://synapse.schaefer.zone\"\n      }\n    }\n  }\n}\n```\n\nOutils MCP navigateur disponibles :\n\n- `browser_new` — ouvrir un nouvel onglet de navigateur\n- `browser_navigate` — naviguer vers une URL\n- `browser_click` — cliquer sur un élément\n- `browser_type` — saisir du texte dans un champ\n- `browser_screenshot` — capturer une capture d'écran\n- `browser_close` — fermer l'onglet\n- (et plus — voir [Intégration MCP](/docs/mcp/what-is-mcp))\n\n### Méthode 2 : accès direct au Proxy navigateur\n\nPour les intégrations hors MCP, connectez-vous directement au service browser-proxy :\n\n```bash\n# Vérification de santé\ncurl http://browser-proxy.schaefer.zone:13000/health\n\n# Ouvrir une page\ncurl -X POST http://browser-proxy.schaefer.zone:13000/navigate \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"url\": \"https://example.com\"}'\n```\n\n## Cas d'usage courants\n\n### Web scraping\n\n```python\n# Via MCP (Claude Desktop)\n\"Use browser_navigate to open https://news.ycombinator.com, \n then extract the top 10 story titles.\"\n```\n\n### Automatisation de formulaires\n\n```python\n# Via MCP\n\"Use browser_navigate to open the login page,\n browser_type to fill username and password,\n browser_click to submit the form.\"\n```\n\n### Capture d'écran\n\n```python\n# Via MCP\n\"Take a screenshot of https://example.com and save it.\"\n```\n\n## Services associés\n\n| Service | Port | Rôle |\n|---------|------|---------|\n| Synapse API | 12800 | Memory, chat, tasks |\n| Synapse MCP | 13100 | Serveur MCP (79 outils) |\n| Proxy navigateur | 13000 | Automatisation de navigateur headless |\n| Proxy SSH | 12900 | Accès SSH aux machines distantes |\n\n## Prochaines étapes\n\n- [Intégration MCP](/docs/mcp/what-is-mcp) — comment utiliser les outils navigateur via MCP\n- [API Computer Control](/docs/api/computers) — pour l'automatisation d'interface graphique sur machines enregistrées\n","content_html":"<h1>Proxy navigateur</h1>\n<p>Le Proxy navigateur est un <strong>service Docker distinct</strong> qui fournit de l&#39;automatisation\nde navigateur headless via Playwright. Il ne fait PAS partie intégrante de l&#39;API Synapse —\nles endpoints Synapse n&#39;incluent pas les chemins <code>/browser/*</code>.</p>\n<h2>Architecture</h2>\n<pre><code class=\"hljs language-plaintext\">┌──────────────┐                ┌──────────────────┐\n│  Synapse API │                │  Browser Proxy   │\n│  port 12800  │                │  port 13000      │\n│              │                │  (Playwright)    │\n└──────────────┘                └──────────────────┘\n       ▲                                ▲\n       │                                │\n       └──────────┌─────────────┐──────┘\n                  │  MCP Server │\n                  │  port 13100 │\n                  └─────────────┘</code></pre><h2>Méthodes d&#39;accès</h2>\n<h3>Méthode 1 : via le serveur MCP Synapse (recommandé)</h3>\n<p>Le serveur MCP Synapse expose les outils navigateur en tant qu&#39;outils MCP. Utilisez\ncette méthode pour l&#39;automatisation de navigateur pilotée par LLM :</p>\n<pre><code class=\"hljs language-json\"><span class=\"hljs-comment\">// Configuration Claude Desktop</span>\n<span class=\"hljs-punctuation\">{</span>\n  <span class=\"hljs-attr\">&quot;mcpServers&quot;</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-punctuation\">{</span>\n    <span class=\"hljs-attr\">&quot;synapse&quot;</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-punctuation\">{</span>\n      <span class=\"hljs-attr\">&quot;command&quot;</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">&quot;npx&quot;</span><span class=\"hljs-punctuation\">,</span>\n      <span class=\"hljs-attr\">&quot;args&quot;</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-punctuation\">[</span><span class=\"hljs-string\">&quot;-y&quot;</span><span class=\"hljs-punctuation\">,</span> <span class=\"hljs-string\">&quot;synapse-mcp-api@latest&quot;</span><span class=\"hljs-punctuation\">]</span><span class=\"hljs-punctuation\">,</span>\n      <span class=\"hljs-attr\">&quot;env&quot;</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-punctuation\">{</span>\n        <span class=\"hljs-attr\">&quot;SYNAPSE_MIND_KEY&quot;</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">&quot;mk_...&quot;</span><span class=\"hljs-punctuation\">,</span>\n        <span class=\"hljs-attr\">&quot;SYNAPSE_URL&quot;</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">&quot;https://synapse.schaefer.zone&quot;</span>\n      <span class=\"hljs-punctuation\">}</span>\n    <span class=\"hljs-punctuation\">}</span>\n  <span class=\"hljs-punctuation\">}</span>\n<span class=\"hljs-punctuation\">}</span></code></pre><p>Outils MCP navigateur disponibles :</p>\n<ul>\n<li><code>browser_new</code> — ouvrir un nouvel onglet de navigateur</li>\n<li><code>browser_navigate</code> — naviguer vers une URL</li>\n<li><code>browser_click</code> — cliquer sur un élément</li>\n<li><code>browser_type</code> — saisir du texte dans un champ</li>\n<li><code>browser_screenshot</code> — capturer une capture d&#39;écran</li>\n<li><code>browser_close</code> — fermer l&#39;onglet</li>\n<li>(et plus — voir <a href=\"/docs/mcp/what-is-mcp\">Intégration MCP</a>)</li>\n</ul>\n<h3>Méthode 2 : accès direct au Proxy navigateur</h3>\n<p>Pour les intégrations hors MCP, connectez-vous directement au service browser-proxy :</p>\n<pre><code class=\"hljs language-bash\"><span class=\"hljs-comment\"># Vérification de santé</span>\ncurl http://browser-proxy.schaefer.zone:13000/health\n\n<span class=\"hljs-comment\"># Ouvrir une page</span>\ncurl -X POST http://browser-proxy.schaefer.zone:13000/navigate \\\n  -H <span class=\"hljs-string\">&quot;Content-Type: application/json&quot;</span> \\\n  -d <span class=\"hljs-string\">&#x27;{&quot;url&quot;: &quot;https://example.com&quot;}&#x27;</span></code></pre><h2>Cas d&#39;usage courants</h2>\n<h3>Web scraping</h3>\n<pre><code class=\"hljs language-python\"><span class=\"hljs-comment\"># Via MCP (Claude Desktop)</span>\n<span class=\"hljs-string\">&quot;Use browser_navigate to open https://news.ycombinator.com, \n then extract the top 10 story titles.&quot;</span></code></pre><h3>Automatisation de formulaires</h3>\n<pre><code class=\"hljs language-python\"><span class=\"hljs-comment\"># Via MCP</span>\n<span class=\"hljs-string\">&quot;Use browser_navigate to open the login page,\n browser_type to fill username and password,\n browser_click to submit the form.&quot;</span></code></pre><h3>Capture d&#39;écran</h3>\n<pre><code class=\"hljs language-python\"><span class=\"hljs-comment\"># Via MCP</span>\n<span class=\"hljs-string\">&quot;Take a screenshot of https://example.com and save it.&quot;</span></code></pre><h2>Services associés</h2>\n<table>\n<thead>\n<tr>\n<th>Service</th>\n<th>Port</th>\n<th>Rôle</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>Synapse API</td>\n<td>12800</td>\n<td>Memory, chat, tasks</td>\n</tr>\n<tr>\n<td>Synapse MCP</td>\n<td>13100</td>\n<td>Serveur MCP (79 outils)</td>\n</tr>\n<tr>\n<td>Proxy navigateur</td>\n<td>13000</td>\n<td>Automatisation de navigateur headless</td>\n</tr>\n<tr>\n<td>Proxy SSH</td>\n<td>12900</td>\n<td>Accès SSH aux machines distantes</td>\n</tr>\n</tbody></table>\n<h2>Prochaines étapes</h2>\n<ul>\n<li><a href=\"/docs/mcp/what-is-mcp\">Intégration MCP</a> — comment utiliser les outils navigateur via MCP</li>\n<li><a href=\"/docs/api/computers\">API Computer Control</a> — pour l&#39;automatisation d&#39;interface graphique sur machines enregistrées</li>\n</ul>\n","urls":{"html":"/docs/api/browser","text":"/docs/api/browser?format=text","json":"/docs/api/browser?format=json","llm":"/docs/api/browser?format=llm"},"translations_available":["en","zh","hi","es","fr","ar","pt","ru","ja","de","it","ko","nl","pl","tr","sv","vi","th","id","uk"]}