@trylighthouse/mcp-server 0.2.14 → 0.2.16

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/build/server.js +5 -5
  2. package/package.json +1 -1
package/build/server.js CHANGED
@@ -85,7 +85,7 @@ export function createServer(apiKey, options = {}) {
85
85
  const api = new LighthouseAPI(apiKey);
86
86
  const server = new McpServer({
87
87
  name: "lighthouse",
88
- version: "0.2.14",
88
+ version: "0.2.16",
89
89
  });
90
90
  const originalRegister = server.registerTool.bind(server);
91
91
  server.registerTool = (name, schemaOrConfig, handler) => {
@@ -1536,7 +1536,7 @@ export function createServer(apiKey, options = {}) {
1536
1536
  });
1537
1537
  server.registerTool("lighthouse_documents_update_folder", {
1538
1538
  title: "Update Folder",
1539
- description: "Rename, move, or change sharing on a folder. Editors can rename the folder; only owners can move it, change its sharing, or grant team access. " +
1539
+ description: "Rename, move, or change sharing on a folder. Editors can rename the folder; only owners can move it, change its sharing, or grant team access. A folder that holds files or folders other people own can only be moved down, into a folder below where it is now that you own, with every folder in between yours too; any other move of it answers 403 forbidden. " +
1540
1540
  "Pass team_ids as the full desired list, anything not in the list is revoked. " +
1541
1541
  "Note the two meanings of folder_id across the document tools: here it is the folder being changed, while on lighthouse_documents_update_file it is the folder the file is moved INTO. " +
1542
1542
  "Returns the folder row: owner, is_owner, my_role, sharing, shared_with_teams[] (each { team_id, team_name, role, granted_at }), linked_records_count, created_at, updated_at.",
@@ -1691,13 +1691,13 @@ export function createServer(apiKey, options = {}) {
1691
1691
  });
1692
1692
  server.registerTool("lighthouse_documents_update_file", {
1693
1693
  title: "Update File",
1694
- description: "Rename, move, or change sharing on a file. Editors can rename/move-between-folders and delete; only the owner can move to root, change sharing, or grant team access. " +
1694
+ description: "Rename, move, or change sharing on a file. Editors can rename and delete it. Only the owner can move it (into another folder or to the root), change sharing, or grant team access, with one exception: the owner of the folder the file is in can also move it down into a sub-folder of that folder, when they own that sub-folder and every folder in between. " +
1695
1695
  "team_ids replaces the current set when supplied. " +
1696
1696
  "Returns the file row: owner, is_owner, my_role, sharing, shared_with_teams[] (each { team_id, team_name, role, granted_at }), linked_records_count, size_bytes, content_type, created_at, updated_at.",
1697
1697
  inputSchema: {
1698
1698
  file_id: z.string().uuid().describe("File UUID, the file being changed"),
1699
1699
  name: z.string().optional().describe("New name"),
1700
- folder_id: z.string().uuid().optional().describe("New parent folder UUID, the folder the file is moved INTO (on lighthouse_documents_update_folder the same name means the folder being changed)"),
1700
+ folder_id: z.string().uuid().optional().describe("New parent folder UUID, the folder the file is moved INTO (on lighthouse_documents_update_folder the same name means the folder being changed). The file's owner moves it into any folder they can edit; the owner of the folder it is in can also move it, but only down into a sub-folder of that folder that they own, with every folder in between theirs too; anyone else gets 403 forbidden. Naming the folder the file is already in also counts as a move, so to rename a file send only name."),
1701
1701
  clear_folder: z.boolean().optional().describe("Move to workspace root (owner-only)"),
1702
1702
  sharing: z.enum(["private", "workspace"]).optional().describe("Explicit override (null clears to inherit). The same word every other sharing tool takes, and the one a file answers."),
1703
1703
  sharing_status: z.enum(["PRIVATE", "WORKSPACE"]).optional().describe("Legacy name for sharing. Kept forever; sharing wins when both are sent."),
@@ -2602,7 +2602,7 @@ export function createServer(apiKey, options = {}) {
2602
2602
  "FUNNEL: {report_type:'funnel', entity_type:'company'|'deal'|'person' (custom objects are NOT supported for funnel), data_source:'companies'|'deals'|'people' (plural form of entity_type; ALWAYS include it or the widget opens with the wrong data source in the in-app editor; sending record_type instead fills both), stage_field:'<status field_key>', stage_field_is_custom:boolean (true when stage_field is a custom status field), " +
2603
2603
  "included_stages?:['stage1','stage2'], date_range?:{...}, filter?:{...} (same format and field support as the standard filter above, including relation fields like list_entries and custom fields; it restricts which records the funnel counts)}. " +
2604
2604
  "HISTORICAL: {report_type:'stage_changes', entity_type:'company'|'deal'|'person' (custom objects are NOT supported for historical), data_source:'companies'|'deals'|'people' (plural form of entity_type; ALWAYS include it; sending record_type instead fills both), " +
2605
- "field_permalink:'<status field_key>', time_grouping?:'day'|'week'|'month'|'quarter'|'year', included_stages?:['stage1','stage2'], date_range?:{...}}. " +
2605
+ "field_permalink:'<status or select field_key>' (one value at a time, standard or custom, such as a deal's stage; a multi-select field, or a field Lighthouse computes such as relationship_status, is refused), time_grouping?:'day'|'week'|'month'|'quarter'|'year', included_stages?:['stage1','stage2'], date_range?:{...}}. " +
2606
2606
  "included_stages values must be the option VALUES from lighthouse_crm_list_attributes (not display labels). " +
2607
2607
  "ALWAYS call lighthouse_crm_list_attributes first to discover valid field keys for dimension, measure, and stage_field.";
2608
2608
  server.registerTool("lighthouse_reports_list_dashboards", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trylighthouse/mcp-server",
3
- "version": "0.2.14",
3
+ "version": "0.2.16",
4
4
  "description": "MCP server for the Lighthouse CRM API",
5
5
  "homepage": "https://trylighthouse.vc",
6
6
  "type": "module",