@codespar/mcp-take-blip 0.2.0 → 0.2.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 CHANGED
@@ -51,10 +51,10 @@ Add to `.cursor/mcp.json` or `.vscode/mcp.json`:
51
51
  }
52
52
  ```
53
53
 
54
- ## Tools
54
+ ## Tools (18)
55
55
 
56
- | Tool | Description |
57
- |------|-------------|
56
+ | Tool | Purpose |
57
+ |---|---|
58
58
  | `send_message` | Send a message to a contact via Take Blip |
59
59
  | `get_contacts` | List contacts in Take Blip |
60
60
  | `create_contact` | Create a contact in Take Blip |
@@ -63,6 +63,16 @@ Add to `.cursor/mcp.json` or `.vscode/mcp.json`:
63
63
  | `get_analytics` | Get chatbot analytics and metrics |
64
64
  | `create_broadcast` | Create a broadcast distribution list and send messages |
65
65
  | `get_chatbot_flow` | Get chatbot flow/builder configuration |
66
+ | `update_contact` | Merge/update fields on an existing contact |
67
+ | `delete_contact` | Delete a contact by identity |
68
+ | `get_contact` | Get a single contact by identity |
69
+ | `get_thread` | Get the message thread between the bot and a specific identity |
70
+ | `create_ticket` | Open a support ticket / human handoff for a contact |
71
+ | `close_ticket` | Close an open support ticket |
72
+ | `list_tickets` | List tickets, optionally filtering by status |
73
+ | `track_event` | Track a custom analytics event in the bot event tracker |
74
+ | `set_bot_resource` | Set a bot resource value (used as bot variables / state via /resources bucket) |
75
+ | `get_bot_resource` | Get a bot resource value by name (variable / state) |
66
76
 
67
77
  ## Authentication
68
78
 
package/dist/index.js CHANGED
@@ -76,7 +76,7 @@ async function blipMessage(to, type, content) {
76
76
  }
77
77
  return res.json();
78
78
  }
79
- const server = new Server({ name: "mcp-take-blip", version: "0.2.0" }, { capabilities: { tools: {} } });
79
+ const server = new Server({ name: "mcp-take-blip", version: "0.2.1" }, { capabilities: { tools: {} } });
80
80
  server.setRequestHandler(ListToolsRequestSchema, async () => ({
81
81
  tools: [
82
82
  {
@@ -455,7 +455,7 @@ async function main() {
455
455
  const t = new StreamableHTTPServerTransport({ sessionIdGenerator: () => randomUUID(), onsessioninitialized: (id) => { transports.set(id, t); } });
456
456
  t.onclose = () => { if (t.sessionId)
457
457
  transports.delete(t.sessionId); };
458
- const s = new Server({ name: "mcp-take-blip", version: "0.2.0" }, { capabilities: { tools: {} } });
458
+ const s = new Server({ name: "mcp-take-blip", version: "0.2.1" }, { capabilities: { tools: {} } });
459
459
  server._requestHandlers.forEach((v, k) => s._requestHandlers.set(k, v));
460
460
  server._notificationHandlers?.forEach((v, k) => s._notificationHandlers.set(k, v));
461
461
  await s.connect(t);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@codespar/mcp-take-blip",
3
- "version": "0.2.0",
4
- "description": "MCP server for Take Blip chatbots, messaging, contacts, broadcasts",
3
+ "version": "0.2.1",
4
+ "description": "MCP server for Take Blip \u2014 chatbots, messaging, contacts, broadcasts",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "bin": {
package/server.json CHANGED
@@ -7,12 +7,12 @@
7
7
  "source": "github",
8
8
  "subfolder": "packages/communication/take-blip"
9
9
  },
10
- "version": "0.2.0",
10
+ "version": "0.2.1",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "npm",
14
14
  "identifier": "@codespar/mcp-take-blip",
15
- "version": "0.2.0",
15
+ "version": "0.2.1",
16
16
  "transport": {
17
17
  "type": "stdio"
18
18
  },
package/src/index.ts CHANGED
@@ -86,7 +86,7 @@ async function blipMessage(to: string, type: string, content: unknown): Promise<
86
86
  }
87
87
 
88
88
  const server = new Server(
89
- { name: "mcp-take-blip", version: "0.2.0" },
89
+ { name: "mcp-take-blip", version: "0.2.1" },
90
90
  { capabilities: { tools: {} } }
91
91
  );
92
92
 
@@ -456,7 +456,7 @@ async function main() {
456
456
  if (!sid && isInitializeRequest(req.body)) {
457
457
  const t = new StreamableHTTPServerTransport({ sessionIdGenerator: () => randomUUID(), onsessioninitialized: (id) => { transports.set(id, t); } });
458
458
  t.onclose = () => { if (t.sessionId) transports.delete(t.sessionId); };
459
- const s = new Server({ name: "mcp-take-blip", version: "0.2.0" }, { capabilities: { tools: {} } }); (server as any)._requestHandlers.forEach((v: any, k: any) => (s as any)._requestHandlers.set(k, v)); (server as any)._notificationHandlers?.forEach((v: any, k: any) => (s as any)._notificationHandlers.set(k, v)); await s.connect(t);
459
+ const s = new Server({ name: "mcp-take-blip", version: "0.2.1" }, { capabilities: { tools: {} } }); (server as any)._requestHandlers.forEach((v: any, k: any) => (s as any)._requestHandlers.set(k, v)); (server as any)._notificationHandlers?.forEach((v: any, k: any) => (s as any)._notificationHandlers.set(k, v)); await s.connect(t);
460
460
  await t.handleRequest(req, res, req.body); return;
461
461
  }
462
462
  res.status(400).json({ jsonrpc: "2.0", error: { code: -32000, message: "Bad Request" }, id: null });