This adds a new CLI argument, --transport, with the following values: http-first (the default), http-only, sse-first, and sse-only. Any of the -first tags attempts to connect to the URL as either an HTTP or SSE server and falls back to the other.
60 lines
1.2 KiB
JSON
60 lines
1.2 KiB
JSON
{
|
|
"name": "mcp-remote",
|
|
"version": "0.1.0-2",
|
|
"description": "Remote proxy for Model Context Protocol, allowing local-only clients to connect to remote servers using oAuth",
|
|
"keywords": [
|
|
"mcp",
|
|
"stdio",
|
|
"sse",
|
|
"remote",
|
|
"oauth"
|
|
],
|
|
"author": "Glen Maddern <glen@cloudflare.com>",
|
|
"repository": "https://github.com/geelen/mcp-remote",
|
|
"type": "module",
|
|
"files": [
|
|
"dist",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"main": "dist/index.js",
|
|
"bin": {
|
|
"mcp-remote": "dist/proxy.js",
|
|
"mcp-remote-client": "dist/client.js"
|
|
},
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"build:watch": "tsup --watch",
|
|
"check": "prettier --check . && tsc"
|
|
},
|
|
"dependencies": {
|
|
"express": "^4.21.2",
|
|
"open": "^10.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@modelcontextprotocol/sdk": "^1.10.2",
|
|
"@types/express": "^5.0.0",
|
|
"@types/node": "^22.13.10",
|
|
"@types/react": "^19.0.12",
|
|
"prettier": "^3.5.3",
|
|
"react": "^19.0.0",
|
|
"tsup": "^8.4.0",
|
|
"tsx": "^4.19.3",
|
|
"typescript": "^5.8.2"
|
|
},
|
|
"tsup": {
|
|
"entry": [
|
|
"src/client.ts",
|
|
"src/proxy.ts"
|
|
],
|
|
"format": [
|
|
"esm"
|
|
],
|
|
"dts": true,
|
|
"clean": true,
|
|
"outDir": "dist",
|
|
"external": [
|
|
"react"
|
|
]
|
|
}
|
|
}
|