diff --git a/README.md b/README.md index a85af20..bb8952a 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Browser MCP is an MCP server + Chrome extension that allows you to automate your ## Contributing -This repo contains all the core MCP code for Browser MCP, but currently cannot yet be built on its own due to dependencies on utils and types from the monorepo where it's developed. +This repo contains all the core MCP code for Browser MCP. ## Credits diff --git a/package.json b/package.json index ac22b68..1341c69 100644 --- a/package.json +++ b/package.json @@ -14,10 +14,11 @@ ], "scripts": { "typecheck": "tsc --noEmit", - "build": "tsup src/index.ts --format esm && shx chmod +x dist/*.js", + "build": "tsc && tsup src/index.ts --format esm && shx chmod +x dist/*.js", "prepare": "npm run build", "watch": "tsup src/index.ts --format esm --watch ", - "inspector": "CLIENT_PORT=9001 SERVER_PORT=9002 pnpx @modelcontextprotocol/inspector node dist/index.js" + "inspector": "CLIENT_PORT=9001 SERVER_PORT=9002 pnpx @modelcontextprotocol/inspector node dist/index.js", + "postinstall": "npm run build" }, "dependencies": { "@modelcontextprotocol/sdk": "^1.8.0",