0nmcp 1.2.0 → 1.2.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/crm/index.js +20 -1
  2. package/index.js +1 -1
  3. package/package.json +5 -1
package/crm/index.js CHANGED
@@ -11,7 +11,7 @@
11
11
  // crm/index.js — This file (wires everything together)
12
12
  // ============================================================
13
13
 
14
- import { registerTools } from "./helpers.js";
14
+ import { registerTools, crmHeaders, CRM_API_BASE, API_VERSION } from "./helpers.js";
15
15
  import { registerAuthTools } from "./auth.js";
16
16
 
17
17
  // Category modules — each exports a default array of tool definitions
@@ -27,6 +27,25 @@ import social from "./social.js";
27
27
  import users from "./users.js";
28
28
  import objects from "./objects.js";
29
29
 
30
+ // Re-export definitions + helpers for external consumers (e.g. CRM bridges)
31
+ export {
32
+ contacts,
33
+ conversations,
34
+ calendars,
35
+ opportunities,
36
+ invoices,
37
+ payments,
38
+ products,
39
+ locations,
40
+ social,
41
+ users,
42
+ objects,
43
+ crmHeaders,
44
+ CRM_API_BASE,
45
+ API_VERSION,
46
+ registerTools,
47
+ };
48
+
30
49
  /**
31
50
  * Register ALL CRM tools on the MCP server.
32
51
  * @param {import("@modelcontextprotocol/sdk/server/mcp.js").McpServer} server
package/index.js CHANGED
@@ -34,7 +34,7 @@ const orchestrator = new Orchestrator(connections);
34
34
 
35
35
  const server = new McpServer({
36
36
  name: "0nMCP",
37
- version: "1.1.0",
37
+ version: "1.2.1",
38
38
  });
39
39
 
40
40
  // ============================================================
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "0nmcp",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
+ "mcpName": "io.github.0nork/0nMCP",
4
5
  "description": "Universal AI API Orchestrator — 252 tools, 17 services, natural language interface. The most comprehensive MCP server available. Free and open source from 0nORK.",
5
6
  "type": "module",
6
7
  "main": "index.js",
@@ -22,6 +23,9 @@
22
23
  "./crm": {
23
24
  "import": "./crm/index.js"
24
25
  },
26
+ "./crm/*": {
27
+ "import": "./crm/*"
28
+ },
25
29
  "./webhooks": {
26
30
  "import": "./webhooks.js"
27
31
  },