mcp-pickaxe 1.0.0 → 1.0.2

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.
Files changed (3) hide show
  1. package/README.md +141 -7
  2. package/dist/index.js +1 -1
  3. package/package.json +6 -5
package/README.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # MCP Pickaxe Server
2
2
 
3
+ <p align="center">
4
+ <img src="docs/mcp-pickaxe-logo.png" alt="MCP Pickaxe Server" width="400">
5
+ </p>
6
+
7
+ [![npm version](https://img.shields.io/npm/v/mcp-pickaxe.svg)](https://www.npmjs.com/package/mcp-pickaxe)
8
+ [![CI](https://github.com/aplaceforallmystuff/mcp-pickaxe/actions/workflows/ci.yml/badge.svg)](https://github.com/aplaceforallmystuff/mcp-pickaxe/actions/workflows/ci.yml)
3
9
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4
10
  [![MCP](https://img.shields.io/badge/MCP-Compatible-blue)](https://modelcontextprotocol.io)
5
11
 
@@ -34,21 +40,27 @@ If you're building AI agents on Pickaxe, this MCP server lets you:
34
40
 
35
41
  ## Installation
36
42
 
37
- ### Option 1: Clone and Build
43
+ ### Option 1: Install from npm (recommended)
38
44
 
39
45
  ```bash
40
- git clone https://github.com/YOUR_USERNAME/mcp-pickaxe.git
41
- cd mcp-pickaxe
42
- npm install
43
- npm run build
46
+ npx mcp-pickaxe
44
47
  ```
45
48
 
46
- ### Option 2: Install from npm (coming soon)
49
+ Or install globally:
47
50
 
48
51
  ```bash
49
52
  npm install -g mcp-pickaxe
50
53
  ```
51
54
 
55
+ ### Option 2: Clone and Build
56
+
57
+ ```bash
58
+ git clone https://github.com/aplaceforallmystuff/mcp-pickaxe.git
59
+ cd mcp-pickaxe
60
+ npm install
61
+ npm run build
62
+ ```
63
+
52
64
  ## Configuration
53
65
 
54
66
  ### 1. Get Your Pickaxe API Key
@@ -64,6 +76,7 @@ npm install -g mcp-pickaxe
64
76
  Add to your Claude Desktop config file:
65
77
 
66
78
  **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
79
+
67
80
  **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
68
81
 
69
82
  ```json
@@ -118,7 +131,128 @@ Then specify which studio to use in your requests:
118
131
  - If only one studio is configured, it's used automatically
119
132
  - Otherwise, pass `studio="STAGING"` (or similar) to any tool
120
133
 
121
- ## Usage Examples
134
+ ## Use Cases
135
+
136
+ These are real workflows built with mcp-pickaxe in production environments.
137
+
138
+ ### 1. Security Monitoring with n8n
139
+
140
+ **Scenario:** Detect prompt injection attempts across 29+ AI agents in real-time.
141
+
142
+ **Implementation:**
143
+ An n8n workflow polls `chat_history` hourly for all agents, runs messages against injection detection patterns (stored in Notion), and routes alerts by severity:
144
+ - HIGH/CRITICAL → Telegram alert + Notion log
145
+ - LOW/MEDIUM → Notion log only
146
+
147
+ ```
148
+ n8n Schedule (hourly)
149
+ → Fetch patterns from Notion
150
+ → Loop through 29 pickaxe IDs
151
+ → Fetch chat_history for each
152
+ → Detect injections (regex patterns)
153
+ → Route by severity → Alert/Log
154
+ ```
155
+
156
+ **Tools used:** `chat_history`, `studios_list`
157
+
158
+ **Result:** Real-time security monitoring across an entire studio with dynamic pattern management and severity-based alerting.
159
+
160
+ ### 2. Knowledge Base Auto-Research Pipeline
161
+
162
+ **Scenario:** Automatically fact-check and maintain 31+ knowledge base articles.
163
+
164
+ **Implementation:**
165
+ An n8n workflow queries KB articles from Notion, extracts key claims, fact-checks via Perplexity API, classifies changes by risk level, and routes to auto-update or human review.
166
+
167
+ ```
168
+ Daily Schedule (2am)
169
+ → Query KB articles from Notion
170
+ → Filter by day (hash-based, ~1/7th daily)
171
+ → Extract key claims
172
+ → Perplexity fact-check
173
+ → Classify: none/low/major risk
174
+ → Route: auto-update or create review task
175
+ ```
176
+
177
+ **Tools used:** `doc_list`, `doc_get`, `doc_create`, `doc_connect`
178
+
179
+ **Result:** KB content stays current with automated fact-checking and human-in-the-loop for major changes.
180
+
181
+ ### 3. Agent Performance Review
182
+
183
+ **Scenario:** Quarterly review of a training studio to identify KB gaps and user pain points.
184
+
185
+ **Workflow:**
186
+ ```
187
+ 1. "Fetch chat history from my training agents"
188
+ 2. "Analyze: which questions got unclear or uncertain responses?"
189
+ 3. "List all KB documents - which topics are missing?"
190
+ 4. "Check user stats - who's most active, who's churning?"
191
+ 5. "Create KB documents addressing the top 3 gaps"
192
+ 6. "Connect new documents to the relevant agents"
193
+ ```
194
+
195
+ **Tools used:** `chat_history`, `doc_list`, `doc_create`, `doc_connect`, `user_list`
196
+
197
+ **Result:** Data-driven KB improvements based on actual user conversations rather than guesswork.
198
+
199
+ ### 4. Multi-Studio Operations
200
+
201
+ **Scenario:** Managing multiple Pickaxe studios from a single Claude session.
202
+
203
+ **Configuration:**
204
+ ```json
205
+ {
206
+ "env": {
207
+ "PICKAXE_STUDIO_PRODUCTION": "studio-xxx",
208
+ "PICKAXE_STUDIO_STAGING": "studio-yyy",
209
+ "PICKAXE_STUDIO_DEV": "studio-zzz",
210
+ "PICKAXE_DEFAULT_STUDIO": "PRODUCTION"
211
+ }
212
+ }
213
+ ```
214
+
215
+ **Workflow:**
216
+ ```
217
+ 1. "List users in PRODUCTION - how many signups this month?"
218
+ 2. "Switch to STAGING - list products"
219
+ 3. "Compare KB document counts across all studios"
220
+ 4. "Find which studio has the most chat activity"
221
+ ```
222
+
223
+ **Tools used:** `studios_list`, `user_list`, `doc_list`, `products_list`
224
+
225
+ **Result:** Cross-studio visibility without switching contexts or API keys manually.
226
+
227
+ ### 5. User Memory Auditing
228
+
229
+ **Scenario:** Review what your agents remember about users for personalization and privacy compliance.
230
+
231
+ **Workflow:**
232
+ ```
233
+ 1. "List all memory schemas defined in the studio"
234
+ 2. "Get memories for user@example.com"
235
+ 3. "What does the system know about this user's situation?"
236
+ 4. "Which memory fields are most populated across users?"
237
+ ```
238
+
239
+ **Example output:**
240
+ ```
241
+ User: maria.example@email.com
242
+ Nickname: "Cautious Educator from Madrid"
243
+ Summary: "Teaching [language] for [platform] at low hourly rate,
244
+ considering self-employment status due to
245
+ uncertain income"
246
+ Memories: 1 stored
247
+ ```
248
+
249
+ **Tools used:** `memory_list`, `memory_get_user`, `user_list`
250
+
251
+ **Result:** Visibility into personalization data for both product improvement and GDPR compliance.
252
+
253
+ ---
254
+
255
+ ## Quick Start Examples
122
256
 
123
257
  Once configured, you can interact with Pickaxe through natural language:
124
258
 
package/dist/index.js CHANGED
@@ -555,7 +555,7 @@ async function executeTool(name, args) {
555
555
  // Create and run the server
556
556
  const server = new Server({
557
557
  name: "mcp-pickaxe",
558
- version: "1.1.0",
558
+ version: "1.0.0",
559
559
  }, {
560
560
  capabilities: {
561
561
  tools: {},
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "mcp-pickaxe",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
+ "mcpName": "io.github.aplaceforallmystuff/mcp-pickaxe",
4
5
  "description": "MCP server for Pickaxe API - manage AI agents, knowledge bases, users, and analytics",
5
6
  "type": "module",
6
7
  "main": "dist/index.js",
@@ -21,7 +22,7 @@
21
22
  "anthropic",
22
23
  "knowledge-base"
23
24
  ],
24
- "author": "",
25
+ "author": "Jim Christian",
25
26
  "license": "MIT",
26
27
  "repository": {
27
28
  "type": "git",
@@ -40,11 +41,11 @@
40
41
  "LICENSE"
41
42
  ],
42
43
  "dependencies": {
43
- "@modelcontextprotocol/sdk": "^1.0.0"
44
+ "@modelcontextprotocol/sdk": "^1.25.2"
44
45
  },
45
46
  "devDependencies": {
46
- "@types/node": "^20.10.0",
47
- "tsx": "^4.7.0",
47
+ "@types/node": "^20.19.29",
48
+ "tsx": "^4.21.0",
48
49
  "typescript": "^5.3.0"
49
50
  }
50
51
  }