Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
168 changes: 84 additions & 84 deletions apps/mcp-server/.speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/mcp-server/.speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: false
mcp-typescript:
version: 0.0.1
version: 0.0.2
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand Down
124 changes: 98 additions & 26 deletions apps/mcp-server/.speakeasy/out.openapi.yaml

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions apps/mcp-server/.speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ speakeasyVersion: 1.768.2
sources:
Comp AI API:
sourceNamespace: comp-ai-api
sourceRevisionDigest: sha256:b302e5300e40d0fab3877a0e5b05f1f6e2cb6e8f49feb04bf63ceae6ca1cad2e
sourceBlobDigest: sha256:52e0508a584fd65b385c007c981b9a37de6d514edbb7fa29be203c7c944c197c
sourceRevisionDigest: sha256:3678269f476c4d11c58ede057372813c93c98576bfbf500f1a1d8fd2cbb4ca87
sourceBlobDigest: sha256:c4762701cbb74fa26feb130e88dd5ef7354ca495d27e4c17dea71535b6c94f30
tags:
- latest
- "1.0"
targets:
comp-ai:
source: Comp AI API
sourceNamespace: comp-ai-api
sourceRevisionDigest: sha256:b302e5300e40d0fab3877a0e5b05f1f6e2cb6e8f49feb04bf63ceae6ca1cad2e
sourceBlobDigest: sha256:52e0508a584fd65b385c007c981b9a37de6d514edbb7fa29be203c7c944c197c
sourceRevisionDigest: sha256:3678269f476c4d11c58ede057372813c93c98576bfbf500f1a1d8fd2cbb4ca87
sourceBlobDigest: sha256:c4762701cbb74fa26feb130e88dd5ef7354ca495d27e4c17dea71535b6c94f30
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
4 changes: 2 additions & 2 deletions apps/mcp-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ Comp AI API: Compliance automation API for SOC 2, ISO 27001, HIPAA, GDPR, eviden
<details>
<summary>Claude Desktop</summary>

Install the MCP server as a Desktop Extension using the pre-built [`mcp-server.mcpb`](https://github.com/trycompai/comp/releases/download/v0.0.1/mcp-server.mcpb) file:
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:

Simply drag and drop the [`mcp-server.mcpb`](https://github.com/trycompai/comp/releases/download/v0.0.1/mcp-server.mcpb) file onto Claude Desktop to install the extension.
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.

The MCP bundle package includes the MCP server and all necessary configuration. Once installed, the server will be available without additional setup.

Expand Down
10 changes: 9 additions & 1 deletion apps/mcp-server/RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,12 @@ Based on:
- OpenAPI Doc
- Speakeasy CLI 1.768.2 (2.889.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [mcp-typescript v0.0.1] apps/mcp-server
- [mcp-typescript v0.0.1] apps/mcp-server

## 2026-05-29 01:16:45
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.768.2 (2.889.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [mcp-typescript v0.0.2] apps/mcp-server
32 changes: 16 additions & 16 deletions apps/mcp-server/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": "0.3",
"name": "@trycompai/mcp-server",
"version": "0.0.1",
"version": "0.0.2",
"description": "",
"long_description": "Comp AI API: Compliance automation API for SOC 2, ISO 27001, HIPAA, GDPR, evidence collection, policy workflows, Trust Access, security questionnaires, integrations, cloud checks, and device compliance.",
"author": {
Expand Down Expand Up @@ -1322,63 +1322,63 @@
},
{
"name": "get-pending-offboardings",
"description": "Get members with pending offboarding checklists\n\nGet members with pending offboarding checklists in Comp AI."
"description": "Get members with pending offboarding checklists\n\nLists members whose offboarding checklist is still incomplete, with their outstanding items, so you can track and finish departing-employee offboarding."
},
{
"name": "get-template",
"description": ""
"description": "Get the offboarding checklist template\n\nReturns the organization's offboarding checklist template: the ordered set of items every departing member must complete during their offboarding."
},
{
"name": "create-template-item",
"description": ""
"description": "Add an offboarding checklist template item\n\nCreates a new item in the organization's offboarding checklist template so it appears on every member's offboarding checklist from now on."
},
{
"name": "update-template-item",
"description": ""
"description": "Update an offboarding checklist template item\n\nUpdates an existing offboarding checklist template item by id, changing its label, description, or settings on the organization's offboarding template."
},
{
"name": "delete-template-item",
"description": ""
"description": "Delete an offboarding checklist template item\n\nRemoves an item from the organization's offboarding checklist template by id so it no longer appears on members' offboarding checklists."
},
{
"name": "get-member-checklist",
"description": ""
"description": "Get a member's offboarding checklist\n\nReturns the offboarding checklist for a specific member, including each item and whether it has been completed, to track that person's offboarding progress."
},
{
"name": "offboarding-checklist-export-all-evidence",
"description": "Export all offboarding evidence as a zip file\n\nExport all offboarding evidence as a zip file in Comp AI."
"description": "Export all offboarding evidence as a zip file\n\nExports a zip archive containing the offboarding checklist evidence for every member in the organization, for audits, handovers, or record-keeping."
},
{
"name": "export-evidence",
"description": "Export offboarding evidence as a zip file\n\nExport offboarding evidence as a zip file in Comp AI."
"description": "Export offboarding evidence as a zip file\n\nExports a zip archive of the offboarding checklist evidence collected for a single member, for audit, handover, or record-keeping purposes."
},
{
"name": "complete-item",
"description": ""
"description": "Complete an offboarding checklist item\n\nMarks a specific offboarding checklist item complete for a member, recording who completed it and when, as part of finishing that member's offboarding."
},
{
"name": "uncomplete-item",
"description": ""
"description": "Reopen an offboarding checklist item\n\nReverts a previously completed offboarding checklist item back to incomplete for a member, in case the step was marked done by mistake."
},
{
"name": "upload-evidence",
"description": ""
"description": "Upload evidence for an offboarding checklist item\n\nAttaches a supporting evidence file to a member's completed offboarding checklist item, documenting that the offboarding step was actually carried out."
},
{
"name": "get-access-revocations",
"description": "Get vendor access revocation status for a member\n\nGet vendor access revocation status for a member in Comp AI."
"description": "Get vendor access revocation status for a member\n\nLists the vendors a departing member had access to and whether each has been revoked, so you can confirm all vendor access is removed during offboarding."
},
{
"name": "revoke-all-vendor-access",
"description": "Confirm all vendor access as revoked\n\nConfirm all vendor access as revoked in Comp AI."
"description": "Confirm all vendor access as revoked\n\nMarks every vendor access record for a departing member as revoked in one step, recording who confirmed it, to complete access removal during offboarding."
},
{
"name": "revoke-vendor-access",
"description": "Mark vendor access as revoked\n\nMark vendor access as revoked in Comp AI."
"description": "Mark vendor access as revoked\n\nMarks a single vendor's access for a departing member as revoked, optionally attaching evidence and notes, as part of offboarding access removal."
},
{
"name": "undo-vendor-revocation",
"description": "Undo vendor access revocation\n\nUndo vendor access revocation in Comp AI."
"description": "Undo vendor access revocation\n\nReverses a vendor access revocation for a member, marking that vendor's access as not revoked again, in case it was confirmed by mistake during offboarding."
}
]
}
4 changes: 2 additions & 2 deletions apps/mcp-server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/mcp-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@trycompai/mcp-server",
"version": "0.0.1",
"version": "0.0.2",
"author": "Comp AI",
"type": "module",
"sideEffects": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ import { APICall, APIPromise } from "../types/async.js";
import { Result } from "../types/fp.js";

/**
* Complete an offboarding checklist item
*
* @remarks
* Marks a specific offboarding checklist item complete for a member, recording who completed it and when, as part of finishing that member's offboarding.
*
* If set, this operation will use {@link Security.apikey} from the global security.
*/
export function offboardingChecklistOffboardingChecklistControllerCompleteItemV1(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ import { APICall, APIPromise } from "../types/async.js";
import { Result } from "../types/fp.js";

/**
* Add an offboarding checklist template item
*
* @remarks
* Creates a new item in the organization's offboarding checklist template so it appears on every member's offboarding checklist from now on.
*
* If set, this operation will use {@link Security.apikey} from the global security.
*/
export function offboardingChecklistOffboardingChecklistControllerCreateTemplateItemV1(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ import { APICall, APIPromise } from "../types/async.js";
import { Result } from "../types/fp.js";

/**
* Delete an offboarding checklist template item
*
* @remarks
* Removes an item from the organization's offboarding checklist template by id so it no longer appears on members' offboarding checklists.
*
* If set, this operation will use {@link Security.apikey} from the global security.
*/
export function offboardingChecklistOffboardingChecklistControllerDeleteTemplateItemV1(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { Result } from "../types/fp.js";
* Export all offboarding evidence as a zip file
*
* @remarks
* Export all offboarding evidence as a zip file in Comp AI.
* Exports a zip archive containing the offboarding checklist evidence for every member in the organization, for audits, handovers, or record-keeping.
*
* If set, this operation will use {@link Security.apikey} from the global security.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
* Export offboarding evidence as a zip file
*
* @remarks
* Export offboarding evidence as a zip file in Comp AI.
* Exports a zip archive of the offboarding checklist evidence collected for a single member, for audit, handover, or record-keeping purposes.
*
* If set, this operation will use {@link Security.apikey} from the global security.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
* Get vendor access revocation status for a member
*
* @remarks
* Get vendor access revocation status for a member in Comp AI.
* Lists the vendors a departing member had access to and whether each has been revoked, so you can confirm all vendor access is removed during offboarding.
*
* If set, this operation will use {@link Security.apikey} from the global security.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ import { APICall, APIPromise } from "../types/async.js";
import { Result } from "../types/fp.js";

/**
* Get a member's offboarding checklist
*
* @remarks
* Returns the offboarding checklist for a specific member, including each item and whether it has been completed, to track that person's offboarding progress.
*
* If set, this operation will use {@link Security.apikey} from the global security.
*/
export function offboardingChecklistOffboardingChecklistControllerGetMemberChecklistV1(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { Result } from "../types/fp.js";
* Get members with pending offboarding checklists
*
* @remarks
* Get members with pending offboarding checklists in Comp AI.
* Lists members whose offboarding checklist is still incomplete, with their outstanding items, so you can track and finish departing-employee offboarding.
*
* If set, this operation will use {@link Security.apikey} from the global security.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ import { APICall, APIPromise } from "../types/async.js";
import { Result } from "../types/fp.js";

/**
* Get the offboarding checklist template
*
* @remarks
* Returns the organization's offboarding checklist template: the ordered set of items every departing member must complete during their offboarding.
*
* If set, this operation will use {@link Security.apikey} from the global security.
*/
export function offboardingChecklistOffboardingChecklistControllerGetTemplateV1(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
* Confirm all vendor access as revoked
*
* @remarks
* Confirm all vendor access as revoked in Comp AI.
* Marks every vendor access record for a departing member as revoked in one step, recording who confirmed it, to complete access removal during offboarding.
*
* If set, this operation will use {@link Security.apikey} from the global security.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
* Mark vendor access as revoked
*
* @remarks
* Mark vendor access as revoked in Comp AI.
* Marks a single vendor's access for a departing member as revoked, optionally attaching evidence and notes, as part of offboarding access removal.
*
* If set, this operation will use {@link Security.apikey} from the global security.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ import { APICall, APIPromise } from "../types/async.js";
import { Result } from "../types/fp.js";

/**
* Reopen an offboarding checklist item
*
* @remarks
* Reverts a previously completed offboarding checklist item back to incomplete for a member, in case the step was marked done by mistake.
*
* If set, this operation will use {@link Security.apikey} from the global security.
*/
export function offboardingChecklistOffboardingChecklistControllerUncompleteItemV1(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
* Undo vendor access revocation
*
* @remarks
* Undo vendor access revocation in Comp AI.
* Reverses a vendor access revocation for a member, marking that vendor's access as not revoked again, in case it was confirmed by mistake during offboarding.
*
* If set, this operation will use {@link Security.apikey} from the global security.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ import { APICall, APIPromise } from "../types/async.js";
import { Result } from "../types/fp.js";

/**
* Update an offboarding checklist template item
*
* @remarks
* Updates an existing offboarding checklist template item by id, changing its label, description, or settings on the organization's offboarding template.
*
* If set, this operation will use {@link Security.apikey} from the global security.
*/
export function offboardingChecklistOffboardingChecklistControllerUpdateTemplateItemV1(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ import { APICall, APIPromise } from "../types/async.js";
import { Result } from "../types/fp.js";

/**
* Upload evidence for an offboarding checklist item
*
* @remarks
* Attaches a supporting evidence file to a member's completed offboarding checklist item, documenting that the offboarding step was actually carried out.
*
* If set, this operation will use {@link Security.apikey} from the global security.
*/
export function offboardingChecklistOffboardingChecklistControllerUploadEvidenceV1(
Expand Down
2 changes: 2 additions & 0 deletions apps/mcp-server/src/hooks/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/

import { initHooks } from "./registration.js";
import {
AfterErrorContext,
AfterErrorHook,
Expand Down Expand Up @@ -46,6 +47,7 @@ export class SDKHooks implements Hooks {
this.registerAfterErrorHook(hook);
}
}
initHooks(this);
}

registerSDKInitHook(hook: SDKInitHook) {
Expand Down
14 changes: 14 additions & 0 deletions apps/mcp-server/src/hooks/registration.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { Hooks } from "./types.js";

/*
* This file is only ever generated once on the first generation and then is free to be modified.
* Any hooks you wish to add should be registered in the initHooks function. Feel free to define them
* in this file or in separate files in the hooks folder.
*/

// @ts-expect-error remove this line when you add your first hook and hooks is used
export function initHooks(hooks: Hooks) {
// Add hooks by calling hooks.register{ClientInit/BeforeCreateRequest/BeforeRequest/AfterSuccess/AfterError}Hook
// with an instance of a hook that implements that specific Hook interface
// Hooks are registered per SDK instance, and are valid for the lifetime of the SDK instance
}
2 changes: 1 addition & 1 deletion apps/mcp-server/src/landing-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ http_headers = { "apikey" = "YOUR_APIKEY" }`;
<h1>Instructions</h1>
<p>One-click installation for Claude Desktop users</p>
<div class="instruction-item">
<a href="https://github.com/trycompai/comp/releases/download/v0.0.1/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
<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;">
πŸ“₯ Download MCP Bundle
</a>
</div>
Expand Down
4 changes: 2 additions & 2 deletions apps/mcp-server/src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
export const SDK_METADATA = {
language: "typescript",
openapiDocVersion: "1.0",
sdkVersion: "0.0.1",
sdkVersion: "0.0.2",
genVersion: "2.889.1",
userAgent:
"speakeasy-sdk/mcp-typescript 0.0.1 2.889.1 1.0 @trycompai/mcp-server",
"speakeasy-sdk/mcp-typescript 0.0.2 2.889.1 1.0 @trycompai/mcp-server",
} as const;
2 changes: 1 addition & 1 deletion apps/mcp-server/src/mcp-server/mcp-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const routes = buildRouteMap({
export const app = buildApplication(routes, {
name: "mcp",
versionInfo: {
currentVersion: "0.0.1",
currentVersion: "0.0.2",
},
});

Expand Down
2 changes: 1 addition & 1 deletion apps/mcp-server/src/mcp-server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ export function createMCPServer(deps: {
}) {
const server = new McpServer({
name: "CompAi",
version: "0.0.1",
version: "0.0.2",
});

const getClient = deps.getSDK || (() =>
Expand Down
Loading