@trylighthouse/mcp-server 0.2.15 → 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 +4 -4
  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.15",
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 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 into another folder they own. " +
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). 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 into a folder they own; 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."),
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."),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trylighthouse/mcp-server",
3
- "version": "0.2.15",
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",