File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " @browserbasehq/mcp-server-browserbase " ,
3
- "version" : " 1.0.0 " ,
2
+ "name" : " @browserbasehq/mcp" ,
3
+ "version" : " 1.0.2 " ,
4
4
"description" : " MCP server for browser automation using browserbase" ,
5
5
"license" : " MIT" ,
6
6
"author" : " Browserbase, Inc. (https://browserbase.com)" ,
7
7
"homepage" : " https://browserbase.com" ,
8
8
"type" : " module" ,
9
+ "main" : " ./cli.js" ,
9
10
"engines" : {
10
11
"node" : " >=18"
11
12
},
28
29
"./package.json" : " ./package.json" ,
29
30
"." : {
30
31
"types" : " ./index.d.ts" ,
31
- "default" : " ./index .js"
32
+ "default" : " ./cli .js"
32
33
}
33
34
},
34
35
"dependencies" : {
49
50
},
50
51
"bin" : {
51
52
"mcp-server-browserbase" : " cli.js"
53
+ },
54
+ "publishConfig" : {
55
+ "access" : " public"
52
56
}
53
57
}
Original file line number Diff line number Diff line change @@ -44,10 +44,6 @@ const defaultConfig: Config = {
44
44
browserbaseApiKey : process . env . BROWSERBASE_API_KEY ,
45
45
browserbaseProjectId : process . env . BROWSERBASE_PROJECT_ID ,
46
46
proxies : false ,
47
- context : {
48
- contextId : undefined ,
49
- persist : true ,
50
- } ,
51
47
server : {
52
48
port : undefined ,
53
49
host : undefined ,
Original file line number Diff line number Diff line change @@ -96,10 +96,10 @@ export async function createNewBrowserSession(
96
96
width : config . viewPort ?. browserWidth ?? 1024 ,
97
97
height : config . viewPort ?. browserHeight ?? 768 ,
98
98
} ,
99
- context : {
100
- id : config . context ?. contextId ?? "" ,
99
+ context : config . context ?. contextId ? {
100
+ id : config . context ?. contextId ,
101
101
persist : config . context ?. persist ?? true ,
102
- }
102
+ } : undefined ,
103
103
}
104
104
} ;
105
105
You can’t perform that action at this time.
0 commit comments