Skip to content

Commit ed82d14

Browse files
committed
Initial commit
0 parents  commit ed82d14

14 files changed

+2732
-0
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock.json linguist-generated=true

.gitignore

+302
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,302 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
.pnpm-debug.log*
9+
10+
# Diagnostic reports (https://nodejs.org/api/report.html)
11+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
12+
13+
# Runtime data
14+
pids
15+
*.pid
16+
*.seed
17+
*.pid.lock
18+
19+
# Directory for instrumented libs generated by jscoverage/JSCover
20+
lib-cov
21+
22+
# Coverage directory used by tools like istanbul
23+
coverage
24+
*.lcov
25+
26+
# nyc test coverage
27+
.nyc_output
28+
29+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
30+
.grunt
31+
32+
# Bower dependency directory (https://bower.io/)
33+
bower_components
34+
35+
# node-waf configuration
36+
.lock-wscript
37+
38+
# Compiled binary addons (https://nodejs.org/api/addons.html)
39+
build/Release
40+
41+
# Dependency directories
42+
node_modules/
43+
jspm_packages/
44+
45+
# Snowpack dependency directory (https://snowpack.dev/)
46+
web_modules/
47+
48+
# TypeScript cache
49+
*.tsbuildinfo
50+
51+
# Optional npm cache directory
52+
.npm
53+
54+
# Optional eslint cache
55+
.eslintcache
56+
57+
# Optional stylelint cache
58+
.stylelintcache
59+
60+
# Microbundle cache
61+
.rpt2_cache/
62+
.rts2_cache_cjs/
63+
.rts2_cache_es/
64+
.rts2_cache_umd/
65+
66+
# Optional REPL history
67+
.node_repl_history
68+
69+
# Output of 'npm pack'
70+
*.tgz
71+
72+
# Yarn Integrity file
73+
.yarn-integrity
74+
75+
# dotenv environment variable files
76+
.env
77+
.env.development.local
78+
.env.test.local
79+
.env.production.local
80+
.env.local
81+
82+
# parcel-bundler cache (https://parceljs.org/)
83+
.cache
84+
.parcel-cache
85+
86+
# Next.js build output
87+
.next
88+
out
89+
90+
# Nuxt.js build / generate output
91+
.nuxt
92+
dist
93+
94+
# Gatsby files
95+
.cache/
96+
# Comment in the public line in if your project uses Gatsby and not Next.js
97+
# https://nextjs.org/blog/next-9-1#public-directory-support
98+
# public
99+
100+
# vuepress build output
101+
.vuepress/dist
102+
103+
# vuepress v2.x temp and cache directory
104+
.temp
105+
.cache
106+
107+
# Docusaurus cache and generated files
108+
.docusaurus
109+
110+
# Serverless directories
111+
.serverless/
112+
113+
# FuseBox cache
114+
.fusebox/
115+
116+
# DynamoDB Local files
117+
.dynamodb/
118+
119+
# TernJS port file
120+
.tern-port
121+
122+
# Stores VSCode versions used for testing VSCode extensions
123+
.vscode-test
124+
125+
# yarn v2
126+
.yarn/cache
127+
.yarn/unplugged
128+
.yarn/build-state.yml
129+
.yarn/install-state.gz
130+
.pnp.*
131+
132+
build/
133+
134+
gcp-oauth.keys.json
135+
.*-server-credentials.json
136+
137+
# Byte-compiled / optimized / DLL files
138+
__pycache__/
139+
*.py[cod]
140+
*$py.class
141+
142+
# C extensions
143+
*.so
144+
145+
# Distribution / packaging
146+
.Python
147+
build/
148+
develop-eggs/
149+
dist/
150+
downloads/
151+
eggs/
152+
.eggs/
153+
lib/
154+
lib64/
155+
parts/
156+
sdist/
157+
var/
158+
wheels/
159+
share/python-wheels/
160+
*.egg-info/
161+
.installed.cfg
162+
*.egg
163+
MANIFEST
164+
165+
# PyInstaller
166+
# Usually these files are written by a python script from a template
167+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
168+
*.manifest
169+
*.spec
170+
171+
# Installer logs
172+
pip-log.txt
173+
pip-delete-this-directory.txt
174+
175+
# Unit test / coverage reports
176+
htmlcov/
177+
.tox/
178+
.nox/
179+
.coverage
180+
.coverage.*
181+
.cache
182+
nosetests.xml
183+
coverage.xml
184+
*.cover
185+
*.py,cover
186+
.hypothesis/
187+
.pytest_cache/
188+
cover/
189+
190+
# Translations
191+
*.mo
192+
*.pot
193+
194+
# Django stuff:
195+
*.log
196+
local_settings.py
197+
db.sqlite3
198+
db.sqlite3-journal
199+
200+
# Flask stuff:
201+
instance/
202+
.webassets-cache
203+
204+
# Scrapy stuff:
205+
.scrapy
206+
207+
# Sphinx documentation
208+
docs/_build/
209+
210+
# PyBuilder
211+
.pybuilder/
212+
target/
213+
214+
# Jupyter Notebook
215+
.ipynb_checkpoints
216+
217+
# IPython
218+
profile_default/
219+
ipython_config.py
220+
221+
# pyenv
222+
# For a library or package, you might want to ignore these files since the code is
223+
# intended to run in multiple environments; otherwise, check them in:
224+
# .python-version
225+
226+
# pipenv
227+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
228+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
229+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
230+
# install all needed dependencies.
231+
#Pipfile.lock
232+
233+
# poetry
234+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
235+
# This is especially recommended for binary packages to ensure reproducibility, and is more
236+
# commonly ignored for libraries.
237+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
238+
#poetry.lock
239+
240+
# pdm
241+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
242+
#pdm.lock
243+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
244+
# in version control.
245+
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
246+
.pdm.toml
247+
.pdm-python
248+
.pdm-build/
249+
250+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
251+
__pypackages__/
252+
253+
# Celery stuff
254+
celerybeat-schedule
255+
celerybeat.pid
256+
257+
# SageMath parsed files
258+
*.sage.py
259+
260+
# Environments
261+
.env
262+
.venv
263+
env/
264+
venv/
265+
ENV/
266+
env.bak/
267+
venv.bak/
268+
269+
# Spyder project settings
270+
.spyderproject
271+
.spyproject
272+
273+
# Rope project settings
274+
.ropeproject
275+
276+
# mkdocs documentation
277+
/site
278+
279+
# mypy
280+
.mypy_cache/
281+
.dmypy.json
282+
dmypy.json
283+
284+
# Pyre type checker
285+
.pyre/
286+
287+
# pytype static type analyzer
288+
.pytype/
289+
290+
# Cython debug symbols
291+
cython_debug/
292+
293+
.DS_Store
294+
295+
# PyCharm
296+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
297+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
298+
# and can be added to the global gitignore or merged into this file. For a more nuclear
299+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
300+
#.idea/
301+
302+

README.md

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Browserbase MCP Server
2+
3+
![cover](assets/cover-mcp.png)
4+
5+
[The Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction) is an open protocol that enables seamless integration between LLM applications and external data sources and tools. Whether you’re building an AI-powered IDE, enhancing a chat interface, or creating custom AI workflows, MCP provides a standardized way to connect LLMs with the context they need.
6+
7+
This server provides cloud browser automation capabilities using [Browserbase](https://www.browserbase.com/), [Puppeteer](https://pptr.dev/), and [Stagehand](https://github.com/browserbase/stagehand) (Coming Soon). This server enables LLMs to interact with web pages, take screenshots, and execute JavaScript in a cloud browser environment.
8+
9+
## Getting Started with available MCPs
10+
11+
🌐 **Browserbase MCP** - Located in [`browserbase/`](./browserbase/)
12+
13+
| Feature | Description |
14+
|---------|-------------|
15+
| Browser Automation | Control and orchestrate cloud browsers |
16+
| Data Extraction | Extract structured data from any webpage |
17+
| Console Monitoring | Track and analyze browser console logs |
18+
| Screenshots | Capture full-page and element screenshots |
19+
| JavaScript | Execute custom JS in the browser context |
20+
| Web Interaction | Navigate, click, and fill forms with ease |
21+
22+
23+
🤘 **Stagehand MCP** - Located in [`stagehand/`](./stagehand/) *(Coming Soon)*
24+
25+
| Feature | Description |
26+
|---------|-------------|
27+
| Atomic Instructions | Execute precise actions like `act("click the login button")` or `extract("find the red shoes")` |
28+
| Model Flexibility | Supports multiple models, including OpenAI's GPT-4 and Anthropic's Claude-3.5 Sonnet |
29+
| Modular Design | Easily integrate new models with minimal changes |
30+
| Vision Support | Use annotated screenshots for complex DOMs |
31+
| Open Source | Contribute to the project and join the [Slack community](https://join.slack.com/t/stagehand-dev/shared_invite/zt-2uvuobu50-~wVSx2Si75CPa3332hwVEw) for support |

assets/browserbase-demo.png

471 KB
Loading

assets/browserbase-mcp.png

361 KB
Loading

assets/cover-mcp.png

572 KB
Loading

assets/cover.png

572 KB
Loading

assets/session.png

471 KB
Loading

assets/stagehand-mcp.png

560 KB
Loading

0 commit comments

Comments
 (0)