707-command-center-mcp 1.0.2 → 1.0.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.
Files changed (2) hide show
  1. package/dist/server.js +7 -2
  2. package/package.json +1 -1
package/dist/server.js CHANGED
@@ -21055,6 +21055,7 @@ function register2(server, api) {
21055
21055
  "needs_attention",
21056
21056
  "get",
21057
21057
  "get_by_deal_id",
21058
+ "search",
21058
21059
  "update",
21059
21060
  "add_property",
21060
21061
  "get_properties",
@@ -21067,11 +21068,11 @@ function register2(server, api) {
21067
21068
  "allocation_table",
21068
21069
  "generate_allocation_table"
21069
21070
  ]).describe(
21070
- "list: all deals + stats. stats: aggregate counts. needs_attention: deals needing work. get: single deal by id. get_by_deal_id: lookup by STABLE-xxx. update: PUT deal fields. add_property: POST property to deal. get_properties: properties for deal. hubspot_status: sync status. hubspot_owners: list owners. hubspot_set_owner: set active owner. hubspot_sync: trigger manual sync. hubspot_search: search HubSpot directly (query param). allocation_csv: generate CSV (body: deal data). allocation_table: generate Excel (body: alloc data). generate_allocation_table: generate from database for deal id."
21071
+ "list: all deals + stats. stats: aggregate counts. needs_attention: deals needing work. get: single deal by id. get_by_deal_id: lookup by STABLE-xxx. search: search CC deals by name (query param, case-insensitive). update: PUT deal fields. add_property: POST property to deal. get_properties: properties for deal. hubspot_status: sync status. hubspot_owners: list owners. hubspot_set_owner: set active owner. hubspot_sync: trigger manual sync. hubspot_search: search HubSpot directly (query param). allocation_csv: generate CSV (body: deal data). allocation_table: generate Excel (body: alloc data). generate_allocation_table: generate from database for deal id."
21071
21072
  ),
21072
21073
  id: external_exports.string().optional().describe("Deal HubSpot ID (for get, update, add_property, get_properties, generate_allocation_table)"),
21073
21074
  dealId: external_exports.string().optional().describe("Deal portal ID / STABLE-xxx (for get_by_deal_id)"),
21074
- query: external_exports.string().optional().describe("Search query (for hubspot_search)"),
21075
+ query: external_exports.string().optional().describe("Search query (for search, hubspot_search)"),
21075
21076
  body: external_exports.record(external_exports.unknown()).optional().describe("Request body for write actions")
21076
21077
  })
21077
21078
  }, async (args) => {
@@ -21095,6 +21096,10 @@ function register2(server, api) {
21095
21096
  if (!dealId) return formatError2("dealId required");
21096
21097
  res = await api("GET", `/api/deals/by-deal-id/${dealId}`);
21097
21098
  break;
21099
+ case "search":
21100
+ if (!query) return formatError2("query required");
21101
+ res = await api("GET", "/api/deals/search", { query: { q: query } });
21102
+ break;
21098
21103
  case "update":
21099
21104
  if (!id) return formatError2("id required");
21100
21105
  res = await api("PUT", `/api/deals/${id}`, { body });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "707-command-center-mcp",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "MCP server for 707 Command Center — deal management, valuation, and mineral data tools",
5
5
  "type": "module",
6
6
  "bin": {