mirror of
https://github.com/facebook/react.git
synced 2026-02-23 20:23:02 +00:00
Uses https://github.com/modelcontextprotocol/inspector to inspect and debug the mcp server. `yarn workspace react-mcp-server dev` will build the server in watch mode and launch the inspector. Default address is http://127.0.0.1:6274. --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/32928). * #32932 * #32931 * #32930 * #32929 * __->__ #32928
36 lines
1022 B
JSON
36 lines
1022 B
JSON
{
|
|
"name": "react-mcp-server",
|
|
"version": "0.0.0",
|
|
"description": "React MCP Server (experimental)",
|
|
"bin": {
|
|
"react-mcp-server": "./dist/index.js"
|
|
},
|
|
"scripts": {
|
|
"build": "rimraf dist && tsup",
|
|
"test": "echo 'no tests'",
|
|
"dev": "concurrently --kill-others -n build,inspect \"yarn run watch\" \"wait-on dist/index.js && yarn run inspect\"",
|
|
"inspect": "npx @modelcontextprotocol/inspector node dist/index.js",
|
|
"watch": "yarn build --watch"
|
|
},
|
|
"dependencies": {
|
|
"@babel/core": "^7.26.0",
|
|
"@babel/parser": "^7.26",
|
|
"@babel/plugin-syntax-typescript": "^7.25.9",
|
|
"@modelcontextprotocol/sdk": "^1.9.0",
|
|
"algoliasearch": "^5.23.3",
|
|
"cheerio": "^1.0.0",
|
|
"prettier": "^3.3.3",
|
|
"turndown": "^7.2.0",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/turndown": "^5.0.5"
|
|
},
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/facebook/react.git",
|
|
"directory": "compiler/packages/react-mcp-server"
|
|
}
|
|
}
|