@trylighthouse/mcp-server 0.2.10 → 0.2.11

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 +3 -3
  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.10",
88
+ version: "0.2.11",
89
89
  });
90
90
  const originalRegister = server.registerTool.bind(server);
91
91
  server.registerTool = (name, schemaOrConfig, handler) => {
@@ -1960,10 +1960,10 @@ export function createServer(apiKey, options = {}) {
1960
1960
  return err(`Failed: ${e instanceof Error ? e.message : String(e)}`);
1961
1961
  }
1962
1962
  });
1963
- const WEBHOOK_SUBSCRIPTION_SHAPE = "Each subscription: id, url, record_type, events ('record.created' and/or 'record.updated'), header_names (the names of the custom headers sent with every delivery, never their values), description, " +
1963
+ const WEBHOOK_SUBSCRIPTION_SHAPE = "Each subscription: id, url, record_type, events ('record.created' and/or 'record.updated'), watched_fields (the field permalinks record.updated is limited to, [] when every update is sent), header_names (the names of the custom headers sent with every delivery, never their values), description, " +
1964
1964
  "status ('active' or 'disabled'), disabled_reason (null, 'endpoint_gone' when the address answered 410 Gone, 'failing' after many failed tries in a row, 'access_lost' when the owner lost developer access or access to the record type), disabled_at, " +
1965
1965
  "last_delivery (null before the first try, else { attempted_at, status: 'delivered' or 'failed', response_status }), owner (the member it belongs to), created_at and updated_at. The signing secret is never returned.";
1966
- const WEBHOOK_SUBSCRIPTION_WRITES = "This tool only reads: creating and deleting webhook subscriptions is done with the REST API (POST /v1/webhook-subscriptions and DELETE /v1/webhook-subscriptions/{id}) or the SDKs, with an API key, and a subscription can also be deleted in the app, under Settings > Developer > Webhook Subscriptions. A turned-off subscription is not turned back on: delete it and create a new one.";
1966
+ const WEBHOOK_SUBSCRIPTION_WRITES = "This tool only reads: creating and deleting webhook subscriptions is done with the REST API (POST /v1/webhook-subscriptions and DELETE /v1/webhook-subscriptions/{id}) or the SDKs, with an API key, and a subscription can also be created or deleted in the app, under Settings > Developer > Webhooks. A turned-off subscription is not turned back on: delete it and create a new one.";
1967
1967
  server.registerTool("lighthouse_workspace_list_webhook_subscriptions", {
1968
1968
  title: "List Webhook Subscriptions",
1969
1969
  description: "List the webhook subscriptions of the user this key acts as (only their own), newest first, active and turned off alike: each one sends a signed POST to its url whenever a record of its record_type is created or updated. " +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trylighthouse/mcp-server",
3
- "version": "0.2.10",
3
+ "version": "0.2.11",
4
4
  "description": "MCP server for the Lighthouse CRM API",
5
5
  "homepage": "https://trylighthouse.vc",
6
6
  "type": "module",