@trycompai/mcp-server 0.0.2 → 0.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 (33) hide show
  1. package/README.md +2 -2
  2. package/bin/mcp-server.js +13 -10
  3. package/bin/mcp-server.js.map +11 -11
  4. package/esm/funcs/policiesPoliciesControllerGetAllPoliciesV1.d.ts +1 -1
  5. package/esm/funcs/policiesPoliciesControllerGetAllPoliciesV1.js +2 -1
  6. package/esm/funcs/policiesPoliciesControllerGetAllPoliciesV1.js.map +1 -1
  7. package/esm/landing-page.js +1 -1
  8. package/esm/lib/config.d.ts +3 -3
  9. package/esm/lib/config.js +3 -3
  10. package/esm/mcp-server/mcp-server.js +1 -1
  11. package/esm/mcp-server/server.js +1 -1
  12. package/esm/mcp-server/tools/policiesPoliciesControllerGetAllPoliciesV1.js +1 -1
  13. package/esm/mcp-server/tools/policiesPoliciesControllerGetAllPoliciesV1.js.map +1 -1
  14. package/esm/models/policiescontrollergetallpoliciesv1op.d.ts +1 -0
  15. package/esm/models/policiescontrollergetallpoliciesv1op.d.ts.map +1 -1
  16. package/esm/models/policiescontrollergetallpoliciesv1op.js +1 -0
  17. package/esm/models/policiescontrollergetallpoliciesv1op.js.map +1 -1
  18. package/esm/models/policyresponsedto.d.ts +1 -0
  19. package/esm/models/policyresponsedto.d.ts.map +1 -1
  20. package/esm/models/policyresponsedto.js +1 -0
  21. package/esm/models/policyresponsedto.js.map +1 -1
  22. package/esm/tool-names.js +1 -1
  23. package/esm/tool-names.js.map +1 -1
  24. package/package.json +1 -1
  25. package/src/funcs/policiesPoliciesControllerGetAllPoliciesV1.ts +2 -1
  26. package/src/landing-page.ts +1 -1
  27. package/src/lib/config.ts +3 -3
  28. package/src/mcp-server/mcp-server.ts +1 -1
  29. package/src/mcp-server/server.ts +1 -1
  30. package/src/mcp-server/tools/policiesPoliciesControllerGetAllPoliciesV1.ts +1 -1
  31. package/src/models/policiescontrollergetallpoliciesv1op.ts +4 -0
  32. package/src/models/policyresponsedto.ts +4 -0
  33. package/src/tool-names.ts +1 -1
package/README.md CHANGED
@@ -30,9 +30,9 @@ Comp AI API: Compliance automation API for SOC 2, ISO 27001, HIPAA, GDPR, eviden
30
30
  <details>
31
31
  <summary>Claude Desktop</summary>
32
32
 
33
- Install the MCP server as a Desktop Extension using the pre-built [`mcp-server.mcpb`](https://github.com/trycompai/comp/releases/download/v0.0.2/mcp-server.mcpb) file:
33
+ Install the MCP server as a Desktop Extension using the pre-built [`mcp-server.mcpb`](https://github.com/trycompai/comp/releases/download/v0.0.3/mcp-server.mcpb) file:
34
34
 
35
- Simply drag and drop the [`mcp-server.mcpb`](https://github.com/trycompai/comp/releases/download/v0.0.2/mcp-server.mcpb) file onto Claude Desktop to install the extension.
35
+ Simply drag and drop the [`mcp-server.mcpb`](https://github.com/trycompai/comp/releases/download/v0.0.3/mcp-server.mcpb) file onto Claude Desktop to install the extension.
36
36
 
37
37
  The MCP bundle package includes the MCP server and all necessary configuration. Once installed, the server will be available without additional setup.
38
38
 
package/bin/mcp-server.js CHANGED
@@ -51123,9 +51123,9 @@ var init_config = __esm(() => {
51123
51123
  SDK_METADATA = {
51124
51124
  language: "typescript",
51125
51125
  openapiDocVersion: "1.0",
51126
- sdkVersion: "0.0.2",
51127
- genVersion: "2.889.1",
51128
- userAgent: "speakeasy-sdk/mcp-typescript 0.0.2 2.889.1 1.0 @trycompai/mcp-server"
51126
+ sdkVersion: "0.0.3",
51127
+ genVersion: "2.893.0",
51128
+ userAgent: "speakeasy-sdk/mcp-typescript 0.0.3 2.893.0 1.0 @trycompai/mcp-server"
51129
51129
  };
51130
51130
  });
51131
51131
 
@@ -74236,6 +74236,7 @@ var init_policyresponsedto = __esm(() => {
74236
74236
  ]).describe("Department this policy applies to");
74237
74237
  PolicyResponseDto$zodSchema = object({
74238
74238
  approverId: string2().nullable().describe("ID of the user who approved this policy"),
74239
+ archivedAt: exports_iso.datetime({ offset: true }).nullable().describe("When the policy was archived by framework sync"),
74239
74240
  assigneeId: string2().nullable().describe("ID of the user assigned to this policy"),
74240
74241
  content: array(record(string2(), any())).describe("Content of the policy as TipTap JSON (array of nodes)"),
74241
74242
  createdAt: exports_iso.datetime({ offset: true }).describe("When the policy was created"),
@@ -75217,6 +75218,7 @@ var init_policiescontrollergetallpoliciesv1op = __esm(() => {
75217
75218
  init_policyresponsedto();
75218
75219
  PoliciesControllerGetAllPoliciesV1Request$zodSchema = object({
75219
75220
  excludeContent: boolean2().describe("When true, omits `content` and `draftContent` from each policy in the response. Use this when listing policies to find one by name/ID — fetch the full content via GET /v1/policies/{id} after.").optional(),
75221
+ includeArchived: boolean2().describe("When true, includes user-archived and framework-sync-archived policies in the response. Defaults to false.").optional(),
75220
75222
  xOrganizationId: string2().describe("Organization ID (required for session auth, optional for API key auth)").optional()
75221
75223
  });
75222
75224
  PoliciesControllerGetAllPoliciesV1UnauthorizedResponseBody$zodSchema = object({
@@ -75254,7 +75256,8 @@ async function $do184(client$, request, options) {
75254
75256
  const body$ = null;
75255
75257
  const path$ = pathToFunc("/v1/policies")();
75256
75258
  const query$ = encodeFormQuery({
75257
- excludeContent: payload$?.excludeContent
75259
+ excludeContent: payload$?.excludeContent,
75260
+ includeArchived: payload$?.includeArchived
75258
75261
  });
75259
75262
  const headers$ = new Headers(compactMap({
75260
75263
  Accept: "application/json",
@@ -75331,7 +75334,7 @@ var init_policiesPoliciesControllerGetAllPoliciesV12 = __esm(() => {
75331
75334
  name: "list-policies",
75332
75335
  description: `List compliance policies
75333
75336
 
75334
- Lists compliance policies for the organization. Use this to find a policy by name, look up a policy ID, browse drafts, or get an overview of all policies for SOC 2, ISO 27001, HIPAA, and GDPR workflows. Returns id, name, status, department, and other metadata for each policy. Pass excludeContent=true to skip the heavy TipTap content fields — recommended when you only need to identify a policy. To read or edit a single policy in detail, fetch it by ID via get-compliance-policy.`,
75337
+ Lists active compliance policies by default. Use includeArchived=true to include archived rows and excludeContent=true when you only need policy metadata.`,
75335
75338
  annotations: {
75336
75339
  title: "",
75337
75340
  destructiveHint: false,
@@ -94756,7 +94759,7 @@ Update vendor ownership, risk attributes, review metadata, and third-party compl
94756
94759
  function createMCPServer(deps) {
94757
94760
  const server = new McpServer({
94758
94761
  name: "CompAi",
94759
- version: "0.0.2"
94762
+ version: "0.0.3"
94760
94763
  });
94761
94764
  const getClient = deps.getSDK || (() => new CompAiCore({
94762
94765
  security: deps.security,
@@ -95825,7 +95828,7 @@ Delete device in Comp AI. Read and manage employee device inventory and Fleet co
95825
95828
  name: "list-policies",
95826
95829
  description: `List compliance policies
95827
95830
 
95828
- Lists compliance policies for the organization. Use this to find a policy by name, look up a policy ID, browse drafts, or get an overview of all policies for SOC 2, ISO 27001, HIPAA, and GDPR workflows. Returns id, name, status, department, and other metadata for each policy. Pass excludeContent=true to skip the heavy TipTap content fields — recommended when you only need to identify a policy. To read or edit a single policy in detail, fetch it by ID via get-compliance-policy.`
95831
+ Lists active compliance policies by default. Use includeArchived=true to include archived rows and excludeContent=true when you only need policy metadata.`
95829
95832
  },
95830
95833
  {
95831
95834
  name: "create-policy",
@@ -98377,7 +98380,7 @@ http_headers = { "apikey" = "YOUR_APIKEY" }`;
98377
98380
  <h1>Instructions</h1>
98378
98381
  <p>One-click installation for Claude Desktop users</p>
98379
98382
  <div class="instruction-item">
98380
- <a href="https://github.com/trycompai/comp/releases/download/v0.0.2/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
98383
+ <a href="https://github.com/trycompai/comp/releases/download/v0.0.3/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
98381
98384
  \uD83D\uDCE5 Download MCP Bundle
98382
98385
  </a>
98383
98386
  </div>
@@ -101002,7 +101005,7 @@ var routes = buildRouteMap({
101002
101005
  var app = buildApplication(routes, {
101003
101006
  name: "mcp",
101004
101007
  versionInfo: {
101005
- currentVersion: "0.0.2"
101008
+ currentVersion: "0.0.3"
101006
101009
  }
101007
101010
  });
101008
101011
  run(app, process4.argv.slice(2), buildContext(process4));
@@ -101010,5 +101013,5 @@ export {
101010
101013
  app
101011
101014
  };
101012
101015
 
101013
- //# debugId=98A7CCB0E765D55064756E2164756E21
101016
+ //# debugId=7163E1638F712B6464756E2164756E21
101014
101017
  //# sourceMappingURL=mcp-server.js.map