restless-mcp-server 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -2
- package/bin.js +21 -0
- package/package.json +41 -4
package/README.md
CHANGED
|
@@ -1,3 +1,38 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `restless-mcp-server`
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Restless-branded MCP server for AI agents. Connects Cursor (and other MCP hosts) to a Restless instance so agents can read and modify collections, requests, and environments.
|
|
4
|
+
|
|
5
|
+
## Usage (Cursor)
|
|
6
|
+
|
|
7
|
+
```json
|
|
8
|
+
{
|
|
9
|
+
"mcpServers": {
|
|
10
|
+
"restless/mcp-server": {
|
|
11
|
+
"command": "npx",
|
|
12
|
+
"args": ["-y", "restless-mcp-server"],
|
|
13
|
+
"env": {
|
|
14
|
+
"HOPPSCOTCH_SERVER_URL": "https://your-restless.example.com",
|
|
15
|
+
"HOPPSCOTCH_API_URL": "https://your-restless.example.com/backend",
|
|
16
|
+
"HOPPSCOTCH_TOOL_PROFILE": "full"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
`HOPPSCOTCH_*` env keys are required by the upstream protocol client this package wraps.
|
|
24
|
+
|
|
25
|
+
## Local
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
pnpm --filter restless-mcp-server start
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Or point Cursor at the workspace package:
|
|
32
|
+
|
|
33
|
+
```json
|
|
34
|
+
{
|
|
35
|
+
"command": "node",
|
|
36
|
+
"args": ["packages/restless-mcp-server/bin.js"]
|
|
37
|
+
}
|
|
38
|
+
```
|
package/bin.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { spawn } from "node:child_process"
|
|
3
|
+
import { createRequire } from "node:module"
|
|
4
|
+
import { dirname, join } from "node:path"
|
|
5
|
+
|
|
6
|
+
const require = createRequire(import.meta.url)
|
|
7
|
+
const hoppPkgDir = dirname(require.resolve("@hoppscotch/mcp-server/package.json"))
|
|
8
|
+
const entry = join(hoppPkgDir, "dist", "index.js")
|
|
9
|
+
|
|
10
|
+
const child = spawn(process.execPath, [entry, ...process.argv.slice(2)], {
|
|
11
|
+
stdio: "inherit",
|
|
12
|
+
env: process.env,
|
|
13
|
+
})
|
|
14
|
+
|
|
15
|
+
child.on("exit", (code, signal) => {
|
|
16
|
+
if (signal) {
|
|
17
|
+
process.kill(process.pid, signal)
|
|
18
|
+
return
|
|
19
|
+
}
|
|
20
|
+
process.exit(code ?? 1)
|
|
21
|
+
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "restless-mcp-server",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Restless MCP server \u2014 AI agent access to Restless collections, requests, and environments",
|
|
5
|
+
"author": "Uphead Strategy",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"private": false,
|
|
9
|
+
"bin": {
|
|
10
|
+
"restless-mcp": "bin.js",
|
|
11
|
+
"restless-mcp-server": "bin.js"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"bin.js",
|
|
15
|
+
"README.md"
|
|
16
|
+
],
|
|
17
|
+
"scripts": {
|
|
18
|
+
"start": "node ./bin.js",
|
|
19
|
+
"prepublishOnly": "node -e \"require('fs').accessSync('./bin.js')\""
|
|
20
|
+
},
|
|
21
|
+
"engines": {
|
|
22
|
+
"node": ">=22"
|
|
23
|
+
},
|
|
24
|
+
"publishConfig": {
|
|
25
|
+
"access": "public",
|
|
26
|
+
"registry": "https://registry.npmjs.org/"
|
|
27
|
+
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@hoppscotch/mcp-server": "^1.0.2"
|
|
30
|
+
},
|
|
31
|
+
"keywords": [
|
|
32
|
+
"restless",
|
|
33
|
+
"mcp",
|
|
34
|
+
"model-context-protocol",
|
|
35
|
+
"api",
|
|
36
|
+
"collections"
|
|
37
|
+
],
|
|
38
|
+
"repository": {
|
|
39
|
+
"type": "git",
|
|
40
|
+
"url": "git+https://github.com/UpheadStrategy/RestLess.git",
|
|
41
|
+
"directory": "packages/restless-mcp-server"
|
|
42
|
+
}
|
|
43
|
+
}
|