@boostyourleads/mcp-server 1.0.1 → 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 (2) hide show
  1. package/dist/index.js +15 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -58,6 +58,14 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
58
58
  endDate: { type: 'string', description: 'End date filter' }
59
59
  }
60
60
  }
61
+ },
62
+ {
63
+ name: 'get_connected_channels',
64
+ description: 'Checks which marketing integrations and CRMs (Google Ads, Meta Ads, Microsoft Ads, HubSpot CRM, Stripe, Shopify, TikTok, etc.) are connected and active for this user.',
65
+ inputSchema: {
66
+ type: 'object',
67
+ properties: {}
68
+ }
61
69
  }
62
70
  ]
63
71
  };
@@ -69,7 +77,13 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
69
77
  'Content-Type': 'application/json'
70
78
  };
71
79
  try {
72
- if (name === 'audit_revenue_integrity') {
80
+ if (name === 'get_connected_channels') {
81
+ const res = await axios.get(`${BACKEND_URL}/api/agent/connections`, { headers });
82
+ return {
83
+ content: [{ type: 'text', text: JSON.stringify(res.data, null, 2) }]
84
+ };
85
+ }
86
+ else if (name === 'audit_revenue_integrity') {
73
87
  const res = await axios.post(`${BACKEND_URL}/api/agent/revenue-integrity`, args || {}, { headers });
74
88
  return {
75
89
  content: [{ type: 'text', text: JSON.stringify(res.data, null, 2) }]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boostyourleads/mcp-server",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "BoostYourLeads Model Context Protocol Server",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",