@promptingbox/mcp 0.1.0 → 0.1.3

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 CHANGED
@@ -8,7 +8,13 @@ MCP (Model Context Protocol) server for [PromptingBox](https://www.promptingbox.
8
8
 
9
9
  Go to [PromptingBox Settings → MCP Integration](https://www.promptingbox.com/workspace/settings?view=mcp) and create an API key.
10
10
 
11
- ### 2. Configure your AI tool
11
+ ### 2. Install the server (run once)
12
+
13
+ ```bash
14
+ npm install -g @promptingbox/mcp
15
+ ```
16
+
17
+ ### 3. Configure your AI tool
12
18
 
13
19
  > **Tip:** Name the server `pbox` so you can naturally say things like *"save this to pbox"* or *"list my pbox prompts"*.
14
20
 
@@ -20,8 +26,7 @@ Edit `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) o
20
26
  {
21
27
  "mcpServers": {
22
28
  "pbox": {
23
- "command": "npx",
24
- "args": ["-y", "@promptingbox/mcp"],
29
+ "command": "promptingbox-mcp",
25
30
  "env": {
26
31
  "PROMPTINGBOX_API_KEY": "pb_your_key_here"
27
32
  }
@@ -38,8 +43,7 @@ Add to `.cursor/mcp.json` in your project (or global config):
38
43
  {
39
44
  "mcpServers": {
40
45
  "pbox": {
41
- "command": "npx",
42
- "args": ["-y", "@promptingbox/mcp"],
46
+ "command": "promptingbox-mcp",
43
47
  "env": {
44
48
  "PROMPTINGBOX_API_KEY": "pb_your_key_here"
45
49
  }
@@ -56,8 +60,7 @@ Add to `.claude/mcp.json` in your project:
56
60
  {
57
61
  "mcpServers": {
58
62
  "pbox": {
59
- "command": "npx",
60
- "args": ["-y", "@promptingbox/mcp"],
63
+ "command": "promptingbox-mcp",
61
64
  "env": {
62
65
  "PROMPTINGBOX_API_KEY": "pb_your_key_here"
63
66
  }
@@ -66,7 +69,7 @@ Add to `.claude/mcp.json` in your project:
66
69
  }
67
70
  ```
68
71
 
69
- ### 3. Restart your AI tool
72
+ ### 4. Restart your AI tool
70
73
 
71
74
  Restart Claude Desktop or Cursor for the MCP server to be detected.
72
75
 
package/dist/index.js CHANGED
@@ -89,11 +89,12 @@ server.tool('list_prompts', 'List all prompts in the user\'s PromptingBox accoun
89
89
  return -1;
90
90
  return a.localeCompare(b);
91
91
  });
92
+ const baseUrl = BASE_URL ?? 'https://www.promptingbox.com';
92
93
  const lines = [`Your PromptingBox prompts (${prompts.length} total):\n`];
93
94
  for (const key of sortedKeys) {
94
95
  lines.push(`📁 ${key}`);
95
96
  for (const p of grouped.get(key)) {
96
- lines.push(` • ${p.title} [id: ${p.id}]`);
97
+ lines.push(` • [${p.title}](${baseUrl}/workspace/prompts/${p.id}) \`${p.id}\``);
97
98
  }
98
99
  lines.push('');
99
100
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptingbox/mcp",
3
- "version": "0.1.0",
3
+ "version": "0.1.3",
4
4
  "description": "MCP server for PromptingBox — save prompts from Claude, Cursor, and ChatGPT",
5
5
  "license": "MIT",
6
6
  "type": "module",