kitsune-browser-mcp 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- kitsune_browser_mcp-0.1.0/.gitignore +5 -0
- kitsune_browser_mcp-0.1.0/LICENSE +22 -0
- kitsune_browser_mcp-0.1.0/PKG-INFO +88 -0
- kitsune_browser_mcp-0.1.0/README.md +61 -0
- kitsune_browser_mcp-0.1.0/pyproject.toml +45 -0
- kitsune_browser_mcp-0.1.0/src/kitsune/__init__.py +1 -0
- kitsune_browser_mcp-0.1.0/src/kitsune/bridge.py +2307 -0
- kitsune_browser_mcp-0.1.0/src/kitsune/bridge_control.py +133 -0
- kitsune_browser_mcp-0.1.0/src/kitsune/server.py +1560 -0
- kitsune_browser_mcp-0.1.0/src/kitsune/version.py +49 -0
- kitsune_browser_mcp-0.1.0/src/kitsune/workflows/gmail-template-draft.md +49 -0
- kitsune_browser_mcp-0.1.0/src/kitsune/workflows/test.md +24 -0
- kitsune_browser_mcp-0.1.0/src/kitsune/workflows/wp-html.md +34 -0
- kitsune_browser_mcp-0.1.0/tests/click_events.cjs +107 -0
- kitsune_browser_mcp-0.1.0/tests/form_fill.cjs +73 -0
- kitsune_browser_mcp-0.1.0/tests/password_redaction.cjs +199 -0
- kitsune_browser_mcp-0.1.0/tests/scroll_page.cjs +136 -0
- kitsune_browser_mcp-0.1.0/tests/snapshot_refs.cjs +381 -0
- kitsune_browser_mcp-0.1.0/tests/test_bridge_lifecycle.py +294 -0
- kitsune_browser_mcp-0.1.0/tests/test_snapshot_tools.py +181 -0
- kitsune_browser_mcp-0.1.0/tests/test_tool_surface.py +183 -0
- kitsune_browser_mcp-0.1.0/tests/test_wait_for_navigation.py +63 -0
- kitsune_browser_mcp-0.1.0/tests/wait_for_navigation.cjs +173 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Jay-Quan (ZenLink, ZenLink-MCP)
|
|
4
|
+
Copyright (c) 2026 junyeong-nero (Kitsune)
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
SOFTWARE.
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: kitsune-browser-mcp
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: MCP server that lets AI agents drive your running Firefox or Zen browser through an extension.
|
|
5
|
+
Project-URL: Homepage, https://github.com/junyeong-nero/kitsune
|
|
6
|
+
Project-URL: Documentation, https://github.com/junyeong-nero/kitsune/blob/main/docs/guide.md
|
|
7
|
+
Project-URL: Issues, https://github.com/junyeong-nero/kitsune/issues
|
|
8
|
+
Project-URL: Changelog, https://github.com/junyeong-nero/kitsune/releases
|
|
9
|
+
Author: junyeong-nero
|
|
10
|
+
License-Expression: MIT
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
Keywords: ai-agents,browser-automation,firefox,mcp,zen-browser
|
|
13
|
+
Classifier: Development Status :: 3 - Alpha
|
|
14
|
+
Classifier: Environment :: Console
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: Operating System :: MacOS
|
|
17
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
18
|
+
Classifier: Programming Language :: Python :: 3
|
|
19
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
20
|
+
Classifier: Topic :: Internet :: WWW/HTTP :: Browsers
|
|
21
|
+
Classifier: Topic :: Software Development :: Testing
|
|
22
|
+
Requires-Python: >=3.10
|
|
23
|
+
Requires-Dist: httpx>=0.27.0
|
|
24
|
+
Requires-Dist: mcp[cli]<2,>=1.2.0
|
|
25
|
+
Requires-Dist: websockets>=12
|
|
26
|
+
Description-Content-Type: text/markdown
|
|
27
|
+
|
|
28
|
+
# Kitsune
|
|
29
|
+
|
|
30
|
+

|
|
31
|
+
|
|
32
|
+
**Your browser. Your agent. One clever bridge.**
|
|
33
|
+
|
|
34
|
+
Kitsune lets AI agents like Claude Code, Codex, and Pi use the **Firefox, Zen,
|
|
35
|
+
or LibreWolf browser you already have open**. Your sessions, cookies, and
|
|
36
|
+
extensions stay in place. No Playwright, Chromium, or WebDriver required.
|
|
37
|
+
|
|
38
|
+
## What can it do?
|
|
39
|
+
|
|
40
|
+
- **Research the web.** Search, read pages, and summarize findings with links.
|
|
41
|
+
- **Interact with websites.** Click, type, select options, and fill forms—even
|
|
42
|
+
on sites you're already signed into.
|
|
43
|
+
- **Capture and extract.** Take screenshots or turn page content into text
|
|
44
|
+
and Markdown.
|
|
45
|
+
- **Work across tabs.** Keep research and tasks in separate tabs without
|
|
46
|
+
replacing the page you're using.
|
|
47
|
+
|
|
48
|
+

|
|
49
|
+
|
|
50
|
+
<sub>A real browser session, captured with Kitsune and sped up.</sub>
|
|
51
|
+
|
|
52
|
+
## How do I use it?
|
|
53
|
+
|
|
54
|
+
1. **Connect once.** Register Kitsune with your agent—for Claude Code, one line:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
claude mcp add --scope user kitsune -- uvx --from git+https://github.com/junyeong-nero/kitsune.git kitsune
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Then [load the browser extension](https://github.com/junyeong-nero/kitsune/blob/main/docs/installation.md#2-install-the-browser-extension).
|
|
61
|
+
You'll need a supported Firefox-family browser, uv, and Git. For other
|
|
62
|
+
agents, version pinning, and upgrades, see [Installation](https://github.com/junyeong-nero/kitsune/blob/main/docs/installation.md).
|
|
63
|
+
2. **Keep your browser open.** Kitsune starts its shared bridge automatically.
|
|
64
|
+
Ask your agent to check the connection before your first task.
|
|
65
|
+
3. **Ask in plain language.** For example:
|
|
66
|
+
|
|
67
|
+
> Open a new tab, search for today's weather near Suseong Lake in Daegu,
|
|
68
|
+
> and summarize the forecast with a link to the source.
|
|
69
|
+
|
|
70
|
+
> Inspect this page's form and fill a draft. Don't submit it yet.
|
|
71
|
+
|
|
72
|
+
> Open Hacker News and summarize the top three stories with links.
|
|
73
|
+
|
|
74
|
+
Use a dedicated browser profile and only give access to accounts the agent
|
|
75
|
+
needs. Ask for confirmation before sending, purchasing, or deleting anything.
|
|
76
|
+
Read the [security guidance](https://github.com/junyeong-nero/kitsune/blob/main/docs/guide.md#security) before using sensitive accounts.
|
|
77
|
+
|
|
78
|
+
For the details: [Tools](https://github.com/junyeong-nero/kitsune/blob/main/docs/guide.md#tools) ·
|
|
79
|
+
[Configuration](https://github.com/junyeong-nero/kitsune/blob/main/docs/guide.md#configuration) ·
|
|
80
|
+
[Troubleshooting](https://github.com/junyeong-nero/kitsune/blob/main/docs/guide.md#troubleshooting) ·
|
|
81
|
+
[Updating](https://github.com/junyeong-nero/kitsune/blob/main/docs/guide.md#updating-kitsune) ·
|
|
82
|
+
[API reference](https://github.com/junyeong-nero/kitsune/blob/main/docs/api-reference.md) ·
|
|
83
|
+
[Development](https://github.com/junyeong-nero/kitsune/blob/main/docs/guide.md#development)
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
MIT · Based on ZenLink and ZenLink-MCP by Jay-Quan.
|
|
88
|
+
[Credits](https://github.com/junyeong-nero/kitsune/blob/main/docs/guide.md#credits) · [License](https://github.com/junyeong-nero/kitsune/blob/main/LICENSE)
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Kitsune
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
**Your browser. Your agent. One clever bridge.**
|
|
6
|
+
|
|
7
|
+
Kitsune lets AI agents like Claude Code, Codex, and Pi use the **Firefox, Zen,
|
|
8
|
+
or LibreWolf browser you already have open**. Your sessions, cookies, and
|
|
9
|
+
extensions stay in place. No Playwright, Chromium, or WebDriver required.
|
|
10
|
+
|
|
11
|
+
## What can it do?
|
|
12
|
+
|
|
13
|
+
- **Research the web.** Search, read pages, and summarize findings with links.
|
|
14
|
+
- **Interact with websites.** Click, type, select options, and fill forms—even
|
|
15
|
+
on sites you're already signed into.
|
|
16
|
+
- **Capture and extract.** Take screenshots or turn page content into text
|
|
17
|
+
and Markdown.
|
|
18
|
+
- **Work across tabs.** Keep research and tasks in separate tabs without
|
|
19
|
+
replacing the page you're using.
|
|
20
|
+
|
|
21
|
+

|
|
22
|
+
|
|
23
|
+
<sub>A real browser session, captured with Kitsune and sped up.</sub>
|
|
24
|
+
|
|
25
|
+
## How do I use it?
|
|
26
|
+
|
|
27
|
+
1. **Connect once.** Register Kitsune with your agent—for Claude Code, one line:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
claude mcp add --scope user kitsune -- uvx --from git+https://github.com/junyeong-nero/kitsune.git kitsune
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Then [load the browser extension](https://github.com/junyeong-nero/kitsune/blob/main/docs/installation.md#2-install-the-browser-extension).
|
|
34
|
+
You'll need a supported Firefox-family browser, uv, and Git. For other
|
|
35
|
+
agents, version pinning, and upgrades, see [Installation](https://github.com/junyeong-nero/kitsune/blob/main/docs/installation.md).
|
|
36
|
+
2. **Keep your browser open.** Kitsune starts its shared bridge automatically.
|
|
37
|
+
Ask your agent to check the connection before your first task.
|
|
38
|
+
3. **Ask in plain language.** For example:
|
|
39
|
+
|
|
40
|
+
> Open a new tab, search for today's weather near Suseong Lake in Daegu,
|
|
41
|
+
> and summarize the forecast with a link to the source.
|
|
42
|
+
|
|
43
|
+
> Inspect this page's form and fill a draft. Don't submit it yet.
|
|
44
|
+
|
|
45
|
+
> Open Hacker News and summarize the top three stories with links.
|
|
46
|
+
|
|
47
|
+
Use a dedicated browser profile and only give access to accounts the agent
|
|
48
|
+
needs. Ask for confirmation before sending, purchasing, or deleting anything.
|
|
49
|
+
Read the [security guidance](https://github.com/junyeong-nero/kitsune/blob/main/docs/guide.md#security) before using sensitive accounts.
|
|
50
|
+
|
|
51
|
+
For the details: [Tools](https://github.com/junyeong-nero/kitsune/blob/main/docs/guide.md#tools) ·
|
|
52
|
+
[Configuration](https://github.com/junyeong-nero/kitsune/blob/main/docs/guide.md#configuration) ·
|
|
53
|
+
[Troubleshooting](https://github.com/junyeong-nero/kitsune/blob/main/docs/guide.md#troubleshooting) ·
|
|
54
|
+
[Updating](https://github.com/junyeong-nero/kitsune/blob/main/docs/guide.md#updating-kitsune) ·
|
|
55
|
+
[API reference](https://github.com/junyeong-nero/kitsune/blob/main/docs/api-reference.md) ·
|
|
56
|
+
[Development](https://github.com/junyeong-nero/kitsune/blob/main/docs/guide.md#development)
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
MIT · Based on ZenLink and ZenLink-MCP by Jay-Quan.
|
|
61
|
+
[Credits](https://github.com/junyeong-nero/kitsune/blob/main/docs/guide.md#credits) · [License](https://github.com/junyeong-nero/kitsune/blob/main/LICENSE)
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "kitsune-browser-mcp"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "MCP server that lets AI agents drive your running Firefox or Zen browser through an extension."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = "MIT"
|
|
11
|
+
requires-python = ">=3.10"
|
|
12
|
+
authors = [{ name = "junyeong-nero" }]
|
|
13
|
+
keywords = ["mcp", "firefox", "zen-browser", "browser-automation", "ai-agents"]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Development Status :: 3 - Alpha",
|
|
16
|
+
"Environment :: Console",
|
|
17
|
+
"Intended Audience :: Developers",
|
|
18
|
+
"Operating System :: MacOS",
|
|
19
|
+
"Operating System :: POSIX :: Linux",
|
|
20
|
+
"Programming Language :: Python :: 3",
|
|
21
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
22
|
+
"Topic :: Internet :: WWW/HTTP :: Browsers",
|
|
23
|
+
"Topic :: Software Development :: Testing",
|
|
24
|
+
]
|
|
25
|
+
dependencies = [
|
|
26
|
+
"mcp[cli]>=1.2.0,<2", # mcp 2.x renamed FastMCP to MCPServer
|
|
27
|
+
"httpx>=0.27.0",
|
|
28
|
+
"websockets>=12",
|
|
29
|
+
]
|
|
30
|
+
|
|
31
|
+
[project.urls]
|
|
32
|
+
Homepage = "https://github.com/junyeong-nero/kitsune"
|
|
33
|
+
Documentation = "https://github.com/junyeong-nero/kitsune/blob/main/docs/guide.md"
|
|
34
|
+
Issues = "https://github.com/junyeong-nero/kitsune/issues"
|
|
35
|
+
Changelog = "https://github.com/junyeong-nero/kitsune/releases"
|
|
36
|
+
|
|
37
|
+
[project.scripts]
|
|
38
|
+
kitsune = "kitsune.server:main"
|
|
39
|
+
kitsune-bridge = "kitsune.bridge:run"
|
|
40
|
+
|
|
41
|
+
[tool.hatch.build.targets.wheel]
|
|
42
|
+
packages = ["src/kitsune"]
|
|
43
|
+
|
|
44
|
+
[tool.hatch.build.targets.sdist]
|
|
45
|
+
include = ["/src/kitsune", "/tests", "/README.md", "/LICENSE"]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.0"
|