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
358 changes: 235 additions & 123 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.2.1
version: 0.2.2
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand Down
18,509 changes: 9,453 additions & 9,056 deletions apps/mcp-server/.speakeasy/out.openapi.yaml

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions apps/mcp-server/.speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
speakeasyVersion: 1.785.0
speakeasyVersion: 1.790.2
sources:
Comp AI API:
sourceNamespace: comp-ai-api
sourceRevisionDigest: sha256:7a85bb1b9b3e5f9f1fb02c3aa235925ab56571b89de351675e31af6ae70213a7
sourceBlobDigest: sha256:06abc466e0092a7aee845553344879075f2411c5190cc0c03664529990a09350
sourceRevisionDigest: sha256:bff3fda8efabdd1da47d6371310d9adc8f39965857964f6be21aa15256179d7d
sourceBlobDigest: sha256:e69605f5f3f0c12dba244c4fe4ac767dd0129a5a01ce4f90086b06158eebdf73
tags:
- latest
- "1.0"
targets:
comp-ai:
source: Comp AI API
sourceNamespace: comp-ai-api
sourceRevisionDigest: sha256:7a85bb1b9b3e5f9f1fb02c3aa235925ab56571b89de351675e31af6ae70213a7
sourceBlobDigest: sha256:06abc466e0092a7aee845553344879075f2411c5190cc0c03664529990a09350
sourceRevisionDigest: sha256:bff3fda8efabdd1da47d6371310d9adc8f39965857964f6be21aa15256179d7d
sourceBlobDigest: sha256:e69605f5f3f0c12dba244c4fe4ac767dd0129a5a01ce4f90086b06158eebdf73
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.2.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.2.2/mcp-server.mcpb) file:

Simply drag and drop the [`mcp-server.mcpb`](https://github.com/trycompai/comp/releases/download/v0.2.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.2.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 @@ -46,4 +46,12 @@ Based on:
- OpenAPI Doc
- Speakeasy CLI 1.785.0 (2.912.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [mcp-typescript v0.2.1] apps/mcp-server
- [mcp-typescript v0.2.1] apps/mcp-server

## 2026-07-16 00:48:06
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.790.2 (2.918.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [mcp-typescript v0.2.2] apps/mcp-server
506 changes: 269 additions & 237 deletions apps/mcp-server/manifest.json

Large diffs are not rendered by default.

37 changes: 25 additions & 12 deletions apps/mcp-server/package-lock.json

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

6 changes: 2 additions & 4 deletions 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.2.1",
"version": "0.2.2",
"author": "Comp AI",
"type": "module",
"sideEffects": false,
Expand Down Expand Up @@ -29,9 +29,7 @@
"overrides": {
"@modelcontextprotocol/sdk": "1.26.0",
"hono": ">=4.12.25",
"fast-uri": ">=3.1.2",
"tmp": "^0.2.6",
"js-yaml": "^4.2.0"
"fast-uri": ">=3.1.2"
},
"devDependencies": {
"@anthropic-ai/mcpb": "^1.2.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
/*
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/

import { CompAiCore } from "../core.js";
import { encodeJSON, encodeSimple } from "../lib/encodings.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
import { RequestOptions } from "../lib/sdks.js";
import { resolveSecurity } from "../lib/security.js";
import { pathToFunc } from "../lib/url.js";
import { APIError } from "../models/errors/apierror.js";
import {
ConnectionError,
InvalidRequestError,
RequestAbortedError,
RequestTimeoutError,
UnexpectedClientError,
} from "../models/errors/httpclienterrors.js";
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
import {
FrameworksControllerUpdateCustomV1Request,
FrameworksControllerUpdateCustomV1Request$zodSchema,
FrameworksControllerUpdateCustomV1Security,
} from "../models/frameworkscontrollerupdatecustomv1op.js";
import { APICall, APIPromise } from "../types/async.js";
import { Result } from "../types/fp.js";

/**
* Update a custom framework
*
* @remarks
* Update the name and/or description of an organization's custom framework. Only custom frameworks are editable; platform frameworks return 400.
*/
export function frameworksFrameworksControllerUpdateCustomV1(
client$: CompAiCore,
security: FrameworksControllerUpdateCustomV1Security,
request: FrameworksControllerUpdateCustomV1Request,
options?: RequestOptions,
): APIPromise<
Result<
Response,
| APIError
| SDKValidationError
| UnexpectedClientError
| InvalidRequestError
| RequestAbortedError
| RequestTimeoutError
| ConnectionError
>
> {
return new APIPromise($do(
client$,
security,
request,
options,
));
}

async function $do(
client$: CompAiCore,
security: FrameworksControllerUpdateCustomV1Security,
request: FrameworksControllerUpdateCustomV1Request,
options?: RequestOptions,
): Promise<
[
Result<
Response,
| APIError
| SDKValidationError
| UnexpectedClientError
| InvalidRequestError
| RequestAbortedError
| RequestTimeoutError
| ConnectionError
>,
APICall,
]
> {
const parsed$ = safeParse(
request,
(value$) =>
FrameworksControllerUpdateCustomV1Request$zodSchema.parse(value$),
"Input validation failed",
);
if (!parsed$.ok) {
return [parsed$, { status: "invalid" }];
}
const payload$ = parsed$.value;
const body$ = encodeJSON("body", payload$.body, { explode: true });

const pathParams$ = {
id: encodeSimple("id", payload$.id, {
explode: false,
charEncoding: "percent",
}),
};
const path$ = pathToFunc("/v1/frameworks/{id}/custom")(
pathParams$,
);

const headers$ = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "*/*",
}));

const requestSecurity = resolveSecurity(
[
{
fieldName: "Authorization",
type: "apiKey:header",
value: security?.bearer,
},
],
);

const context = {
options: client$._options,
baseURL: options?.serverURL ?? client$._baseURL ?? "",
operationID: "FrameworksController_updateCustom_v1",
oAuth2Scopes: null,
resolvedSecurity: requestSecurity,
securitySource: security,
retryConfig: options?.retries
|| client$._options.retryConfig
|| { strategy: "none" },
retryCodes: options?.retryCodes || [
"429",
"500",
"502",
"503",
"504",
],
};

const requestRes = client$._createRequest(context, {
security: requestSecurity,
method: "PATCH",
baseURL: options?.serverURL,
path: path$,
headers: headers$,
body: body$,
userAgent: client$._options.userAgent,
timeoutMs: options?.timeoutMs || client$._options.timeoutMs
|| 120000,
}, options);
if (!requestRes.ok) {
return [requestRes, { status: "invalid" }];
}
const req$ = requestRes.value;

const doResult = await client$._do(req$, {
context,
errorCodes: [],
retryConfig: context.retryConfig,
retryCodes: context.retryCodes,
});
if (!doResult.ok) {
return [doResult, { status: "request-error", request: req$ }];
}
return [doResult, {
status: "complete",
"request": req$,
response: doResult.value,
}];
}
Loading
Loading