Skip to content

armgit / mso

Public Imported from GitHub
0

Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.

fix(integrations): expose native Google through MCP schemas

Rahman7138f7f291b8
diff --git a/docs/INTEGRATIONS-NATIVE-GOOGLE.md b/docs/INTEGRATIONS-NATIVE-GOOGLE.md
index 63a3ecf1..f106474e 100644
--- a/docs/INTEGRATIONS-NATIVE-GOOGLE.md
+++ b/docs/INTEGRATIONS-NATIVE-GOOGLE.md
@@ -48,6 +48,16 @@ Read operations:
Arguments use Google's camelCase field names; use the returned property identity verbatim. Follow schema bounds and pagination. Filters, custom metric syntaxes, service-account credentials, write operations, webhooks and broader Google products are not silently supported by this slice.
+## MCP client refresh
+
+Native Google operations require toolset `2026.09.25.1` or newer. The provider
+operation enum is derived from the same Google operation catalog as the backend,
+and private setup uses the shared method list. Both full and ChatGPT descriptors
+are tested through actual MCP dispatch, not only direct helper calls. The global
+tool count does not increase: these remain operations on the existing Integrations
+capabilities. Refresh a client's action/schema snapshot after upgrading. A local
+MSO acknowledgement does not remotely refresh ChatGPT or another client.
+
## Status semantics
`app-configured` is not a user connection. Service states distinguish `app-required`, `authorization-required`, `authorization-pending`, `authorized`, `verified`, `reauthorization-required`, `scope-missing`, `invalid` and `unavailable`. Failed verification never retains a stale green state. Consent alone does not verify access to a particular property. Changing a pinned OAuth app's credentials invalidates existing grants until reauthorization. Reconnect must retain the same Google account; disconnect explicitly before switching accounts.
diff --git a/docs/PROGRESS.md b/docs/PROGRESS.md
index 2d93795c..3869aa4d 100644
--- a/docs/PROGRESS.md
+++ b/docs/PROGRESS.md
@@ -22,6 +22,14 @@ all five shell status/performance checks and existing role/cookie isolation pass
The new Google UI is included in the mandatory build gate. Real Google account consent
and property access remain an operator follow-through, not a synthetic-test claim.
+The pre-deploy MCP audit caught an omitted public operation enum before any
+production update. Native Google action names now come from the same operation
+catalog used by dispatch and UI; private setup methods share their enum with the
+native registry. Eight actual MCP descriptor/call regressions cover both full and
+ChatGPT profiles, scope refusal, private app setup and safe browser handoff.
+The MCP toolset advances to `2026.09.25.1`; clients caching descriptors must refresh
+before invoking newly added operations. The global tool count is unchanged.
+
This is not full Composio provider/trigger/UI parity. The user's global embed
padding/margin request remains a separate deferred task. Setup, exact operations,
security controls and remaining phases are documented in
diff --git a/docs/generated/MCP-CATALOG.md b/docs/generated/MCP-CATALOG.md
index 679328bb..0f2dab55 100644
--- a/docs/generated/MCP-CATALOG.md
+++ b/docs/generated/MCP-CATALOG.md
@@ -4,13 +4,13 @@
## Full MSO catalog
-<!-- mcp-toolset: server=1.15.4 version=2026.09.22.2 tools=114 read=57 write=34 exec=23 -->
+<!-- mcp-toolset: server=1.16.0 version=2026.09.25.1 tools=114 read=57 write=34 exec=23 -->
| Fact | Current source value |
|---|---:|
-| MCP server | `1.15.4` |
-| Toolset | `2026.09.22.2` |
-| Toolset changed at | `2026-09-22T10:30:00+07:00` |
+| MCP server | `1.16.0` |
+| Toolset | `2026.09.25.1` |
+| Toolset changed at | `2026-09-25T17:39:19+00:00` |
| Transport tools | **116** |
| Model/operator tools | **114** |
| Read | **57** |
@@ -148,7 +148,7 @@
## ChatGPT model profile
-<!-- mcp-chatgpt-profile: server=1.15.4 version=2026.09.22.2 tools=114 read=57 write=34 exec=23 app-only=2 total=116 -->
+<!-- mcp-chatgpt-profile: server=1.16.0 version=2026.09.25.1 tools=114 read=57 write=34 exec=23 app-only=2 total=116 -->
The ChatGPT profile automatically projects the complete MSO-owned generic model/operator catalog. OAuth scope is still enforced independently; app-only compatibility bridges stay app-only, and project-owned MCP tool names remain dynamic data behind the generic project bridge.
diff --git a/lib/infra/setup-guidance.ts b/lib/infra/setup-guidance.ts
index 9a0e6d52..af667adf 100644
--- a/lib/infra/setup-guidance.ts
+++ b/lib/infra/setup-guidance.ts
@@ -3,7 +3,8 @@ import { ADDITIONAL_GUIDANCE, type AdditionalProviderId } from "./additional-pro
import { getInfraProviderDefinition } from "./catalog";
import type { InfraProviderId } from "./types";
-export type SetupMethod = "direct" | "project" | "organization" | "personal" | "deployment" | "mail" | "payment" | "mcp" | "oauth-app" | "oauth2";
+export const SETUP_METHOD_IDS = ["direct", "project", "organization", "personal", "deployment", "mail", "payment", "mcp", "oauth-app", "oauth2"] as const;
+export type SetupMethod = typeof SETUP_METHOD_IDS[number];
export function setupFields(provider: InfraProviderId, method: SetupMethod) {
if (provider === GOOGLE_APP_PROVIDER || isGoogleProvider(provider)) {
if (method !== (provider === GOOGLE_APP_PROVIDER ? "oauth-app" : "oauth2")) throw new Error("Unsupported Google authentication method");
@@ -33,7 +34,7 @@ export function setupFields(provider: InfraProviderId, method: SetupMethod) {
}
export function setupMethod(provider: InfraProviderId, method?: string): SetupMethod {
const value = method ?? (provider === GOOGLE_APP_PROVIDER ? "oauth-app" : isGoogleProvider(provider) ? "oauth2" : provider === "composio" ? "project" : provider === "convex-cloud" ? "personal" : provider === "doku" ? "mcp" : "direct");
- if (!["direct", "project", "organization", "personal", "deployment", "mail", "payment", "mcp", "oauth-app", "oauth2"].includes(value)) throw new Error("Unsupported authentication method");
+ if (!(SETUP_METHOD_IDS as readonly string[]).includes(value)) throw new Error("Unsupported authentication method");
setupFields(provider, value as SetupMethod);
return value as SetupMethod;
}
diff --git a/lib/mcp/native-google-contract.test.ts b/lib/mcp/native-google-contract.test.ts
new file mode 100644
index 00000000..08fc36d8
--- /dev/null
+++ b/lib/mcp/native-google-contract.test.ts
@@ -0,0 +1,70 @@
+import { beforeEach, afterEach, expect, it, vi } from "vitest";
+import { mkdtemp, rm } from "node:fs/promises";
+import os from "node:os";
+import path from "node:path";
+vi.mock("server-only", () => ({}));
+let root: string;
+const access = "SYNTHETIC_GOOGLE_ACCESS_NOT_REAL";
+const secret = "SYNTHETIC_GOOGLE_CLIENT_SECRET";
+beforeEach(async () => {
+ root = await mkdtemp(path.join(os.tmpdir(), "mso-google-mcp-contract-"));
+ vi.resetModules(); vi.stubEnv("OS_INFRA_STORE", path.join(root, "infra.json")); vi.stubEnv("OS_PUBLIC_ORIGIN", "https://mso.example.test");
+ vi.stubGlobal("fetch", vi.fn().mockRejectedValue(new Error("Unexpected external network in fixture")));
+ const { integrationManage } = await import("@/lib/infra/connection-manage");
+ await integrationManage({ action: "user.create", user: "fixture", confirm: true });
+ await integrationManage({ action: "connection.create", user: "fixture", provider: "google-oauth-app", connection: "app", source: "direct", authMethod: "oauth-app", confirm: true });
+ await integrationManage({ action: "connection.create", user: "fixture", provider: "google-search-console", connection: "search", source: "direct", authMethod: "oauth2", confirm: true });
+ const { mutateIntegrationState } = await import("@/lib/infra/connection-storage");
+ await mutateIntegrationState(d => {
+ const app = d.users.fixture.connections["google-oauth-app"].app, c = d.users.fixture.connections["google-search-console"].search;
+ app.values = { clientId: "123456789-fixture.apps.googleusercontent.com", clientSecret: secret }; c.values = { appConnection: "app" };
+ c.googleOAuth = { appConnection: app.id, appUid: app.uid, appRevision: app.revision, redirectUri: "https://mso.example.test/api/integrations/google/callback", state: "connected", subject: "fixture-account", email: "[email protected]", accessToken: access, refreshToken: "SYNTHETIC_REFRESH_NOT_REAL", scopes: ["https://www.googleapis.com/auth/webmasters.readonly"], expiresAt: Date.now() + 3600000, updatedAt: Date.now() };
+ });
+});
+afterEach(async () => { vi.unstubAllGlobals(); vi.unstubAllEnvs(); vi.resetModules(); await rm(root, { recursive: true, force: true }); });
+type Wire = { isError?: boolean; content?: unknown; structuredContent?: { result?: Record<string, unknown>; setup?: Record<string, unknown> }; _meta?: { integrationSetup?: { token?: string } } };
+async function call(name: string, args: Record<string, unknown>, profile: "full" | "chatgpt" = "chatgpt", scope: "read" | "write" | "exec" = "exec") {
+ const { dispatch } = await import("./dispatch");
+ const response = await dispatch({ id: 1, method: "tools/call", params: { name, arguments: args } }, scope, "test", { principal: "mcp-client:native-google-contract", sessionId: "native-google-contract", toolProfile: profile });
+ return { error: response.error, result: response.result as Wire | undefined };
+}
+it.each(["full", "chatgpt"] as const)("publishes every native Google operation and setup method in the actual %s descriptor", async profile => {
+ const { dispatch } = await import("./dispatch"), { GOOGLE_READ_OPERATIONS } = await import("@/lib/infra/google-api-catalog");
+ const listed = await dispatch({ id: 1, method: "tools/list" }, "exec", "test", { principal: "mcp-client:native-google-contract", sessionId: "native-google-contract", toolProfile: profile });
+ const tools = (listed.result as { tools: { name: string; inputSchema: { properties: Record<string, { enum?: string[] }> } }[] }).tools;
+ const operations = tools.find(t => t.name === "integration_execute")!.inputSchema.properties.operation.enum;
+ expect(operations).toEqual(expect.arrayContaining([...GOOGLE_READ_OPERATIONS.map(row => row.name), "google.bind", "google.disconnect", "google.operations.list"]));
+ const setup = tools.find(t => t.name === "integration_setup_open")!.inputSchema.properties;
+ expect(setup.provider.enum).toContain("google-oauth-app"); expect(setup.method.enum).toContain("oauth-app");
+ expect(setup.provider.enum).not.toContain("google-search-console"); expect(setup.method.enum).not.toContain("oauth2");
+});
+it.each(["full", "chatgpt"] as const)("runs Google through actual %s MCP schema validation and shared dispatch", async profile => {
+ const ops = await call("integration_execute", { user: "fixture", provider: "google-search-console", connection: "search", operation: "google.operations.list", confirm: true }, profile);
+ expect(ops.error).toBeUndefined(); expect(ops.result?.isError).not.toBe(true);
+ expect(ops.result?.structuredContent?.result?.operations).toHaveLength(4);
+ const siteEntry = [{ siteUrl: "sc-domain:example.test", permissionLevel: "siteOwner" }];
+ vi.mocked(fetch).mockResolvedValueOnce(new Response(JSON.stringify({ siteEntry }), { headers: { "content-type": "application/json" } }));
+ const reply = await call("integration_execute", { user: "fixture", provider: "google-search-console", connection: "search", operation: "google.searchConsole.sites.list", arguments: {}, confirm: true }, profile);
+ expect(reply.error).toBeUndefined(); expect(reply.result?.isError).not.toBe(true);
+ expect(reply.result?.structuredContent?.result).toMatchObject({ user: "fixture", provider: "google-search-console", source: "direct", authMethod: "oauth2", readOnly: true, result: { siteEntry } });
+ expect(String(vi.mocked(fetch).mock.lastCall?.[0])).toBe("https://www.googleapis.com/webmasters/v3/sites");
+ expect(JSON.stringify(reply.result)).not.toContain(access); expect(JSON.stringify(reply.result)).not.toContain(secret);
+});
+it("preserves MSO exec scope even though the Google action itself is read-only", async () => {
+ const reply = await call("integration_execute", { user: "fixture", provider: "google-search-console", connection: "search", operation: "google.searchConsole.sites.list", confirm: true }, "chatgpt", "read");
+ expect(reply.error || reply.result?.isError).toBeTruthy(); expect(fetch).not.toHaveBeenCalled();
+});
+it("returns only a native UI handoff, never an OAuth state or authorization code", async () => {
+ const reply = await call("integration_manage", { action: "connection.authorize", user: "fixture", provider: "google-search-console", connection: "search", confirm: true });
+ expect(reply.error).toBeUndefined(); expect(reply.result?.structuredContent?.result).toMatchObject({ authorization: "owner-browser-required" });
+ expect(String(reply.result?.structuredContent?.result?.openPath)).toContain("https://mso.example.test/integrations?");
+ expect(JSON.stringify(reply.result)).not.toMatch(/code_challenge|code_verifier|accounts\.google\.com|SYNTHETIC_GOOGLE/); expect(fetch).not.toHaveBeenCalled();
+});
+it.each(["full", "chatgpt"] as const)("supports explicit oauth-app setup in %s while keeping setup authority UI-private", async profile => {
+ const reply = await call("integration_setup_open", { user: "fixture", provider: "google-oauth-app", connection: "app", method: "oauth-app" }, profile, "write");
+ expect(reply.error).toBeUndefined(); expect(reply.result?.isError).not.toBe(true);
+ expect(reply.result?.structuredContent?.setup).toMatchObject({ provider: "google-oauth-app", method: "oauth-app", redirectUri: "https://mso.example.test/api/integrations/google/callback" });
+ const token = reply.result?._meta?.integrationSetup?.token; expect(token).toMatch(/^[A-Za-z0-9_-]{43}$/);
+ expect(JSON.stringify(reply.result?.content)).not.toContain(token); expect(JSON.stringify(reply.result?.structuredContent)).not.toContain(token);
+ expect(JSON.stringify(reply.result?.structuredContent)).not.toContain(secret);
+});
diff --git a/lib/mcp/tools-integrations.ts b/lib/mcp/tools-integrations.ts
index d51a133a..5e476a3a 100644
--- a/lib/mcp/tools-integrations.ts
+++ b/lib/mcp/tools-integrations.ts
@@ -1,3 +1,4 @@
+import { GOOGLE_READ_OPERATIONS } from "@/lib/infra/google-api-catalog";
import { queryIntegrationAction, manageIntegrationAction, executeIntegrationAction } from "@/lib/infra/connection-dispatch";
import { INTEGRATION_ACTIONS } from "@/lib/infra/connection-manage";
import { SOURCES } from "@/lib/infra/identity";
@@ -6,23 +7,23 @@ export const INTEGRATION_SELECTOR_SCHEMA={user:{type:"string",maxLength:64},conn
const BASE={...INTEGRATION_SELECTOR_SCHEMA,provider:{type:"string",maxLength:64}};
const OUTPUT={type:"object",properties:{result:{type:"object"}},required:["result"],additionalProperties:false};
export const INTEGRATION_TOOLS:McpTool[]=[
- {name:"integration_query",title:"Inspect Integration Connections",scope:"read",annotations:{readOnlyHint:true,idempotentHint:true,openWorldHint:false},
- description:"Read native MSO credential users, providers, named connections, source/auth guidance and directory resolution. Never returns keys. Before asking the user for a credential or creating new setup, inspect Integrations for the exact project/context and resolve the intended user/provider/connection. User profiles are credential owners, not device roles. Resolve before acting when multiple accounts or deployments exist.",
- chatgptDescription:"When work needs a service credential, check Integrations first. Inspect users/providers/connections and resolve the exact existing connection; use view=request only when setup is actually missing.",
+ {name:"integration_query",title:"Inspect Connections",scope:"read",annotations:{readOnlyHint:true,idempotentHint:true,openWorldHint:false},
+ description:"Read native MSO credential users, providers, named connections, source/auth guidance and directory resolution. Never returns keys. Before asking the user for a credential or creating new setup, inspect Integrations for the exact project/context and resolve the intended user/provider/connection. User profiles are credential owners, not device roles. Resolve before acting when multiple accounts or deployments exist. Native Google read-operation schemas are discoverable in view=catalog.",
+ chatgptDescription:"Inspect connections.",
inputSchema:S({...BASE,view:{type:"string",enum:["snapshot","variables","catalog","users","connections","which","resolve","request"]},source:{type:"string",enum:[...SOURCES]},authMethod:{type:"string",maxLength:64}}),outputSchema:OUTPUT,
meta:{ui:{visibility:["model","app"]},"openai/widgetAccessible":true},run:async a=>({result:await queryIntegrationAction(a)}),
},
{name:"integration_manage",title:"Manage Integrations",scope:"write",annotations:{readOnlyHint:false,destructiveHint:true,idempotentHint:false,openWorldHint:true},audit:{action:"infra.write",targetArg:"user"},limit:{key:"integration.manage",max:30,windowMs:60000},
- description:"Manage native credential users, directory bindings and named provider connections. Actions require confirm=true. Direct credential values are forbidden: use integration_setup_open with user/provider/connection. Composio authorization keeps only external IDs/status and returns its transient URL privately to the UI. Native MCP authorization stays provider-owned.",
- chatgptDescription:"Create or update connection metadata with action and confirm=true. Credentials use integration_setup_open.",
+ description:"Manage native credential users, directory bindings and named provider connections. Actions require confirm=true. Direct credential values are forbidden: use integration_setup_open with user/provider/connection. Composio authorization keeps only external IDs/status and returns its transient URL privately to the UI. Native Google connection.authorize returns an Owner-browser entrypoint without requiring Composio. Native MCP authorization stays provider-owned.",
+ chatgptDescription:"Manage connections.",
inputSchema:S({...BASE,action:{type:"string",enum:[...INTEGRATION_ACTIONS,"connection.authorize","connection.import-convex-cli"]},confirm:{type:"boolean",const:true},target:{type:"string",maxLength:64},targetConnection:{type:"string",maxLength:64},label:{type:"string",maxLength:120},path:{type:"string",maxLength:4096},source:{type:"string",enum:[...SOURCES]},authMethod:{type:"string",maxLength:64},copyCredentials:{type:"boolean",description:"Duplicate with credentials."},makeDefault:{type:"boolean"},key:{type:"string",maxLength:64},authConfigId:{type:"string",maxLength:64},brokerConnection:{type:"string",maxLength:64},createManaged:{type:"boolean"}},["action","confirm"]),outputSchema:OUTPUT,
meta:{ui:{visibility:["model","app"]},"openai/widgetAccessible":true},
run:async a=>{const out=await manageIntegrationAction(a);if("privateUrl" in out){const{privateUrl,...safe}=out;return mcpDirect([{type:"text",text:"Authorization link available in the private integration UI."}],false,{result:safe},{integrationAuthorization:{url:privateUrl}});}return{result:out};},
},
- {name:"integration_execute",title:"Use an Exact Integration Connection",scope:"exec",annotations:{readOnlyHint:false,destructiveHint:true,openWorldHint:true},audit:{action:"infra.write",targetArg:"connection"},limit:{key:"integration.execute",max:30,windowMs:60000},
- description:"Execute using an explicit user/provider/named connection. Verify or inspect its route; bounded direct operations reject external backends. Composio tool execution requires an ACTIVE connected account and a toolkit-prefixed tool. Native-MCP returns the provider route without copying OAuth tokens. Non-verification operations require confirm=true. No credentials in arguments.",
- chatgptDescription:"Run an operation for exact user/provider/connection. Route or verify first; mutations need confirm=true.",
- inputSchema:S({...BASE,operation:{type:"string",enum:["route","verify","dokploy.projects.list","dokploy.applications.list","dokploy.gitProviders.list","dokploy.github.repositories.list","dokploy.application.ensureGithub","dokploy.domain.ensure","dokploy.deployments.list","dokploy.deployment.logs","dokploy.git.recover","dokploy.application.deploy","dokploy.dockerfile","dokploy.application.publicEnv.upsert","dokploy.project.ensure","convex.customDomains.list","convex.customDomain.ensure","convex.canonical.get","convex.env.presence","convex.canonical.set","convex.project.deploy","convex.snapshot.import","cloudflare.zones.list","cloudflare.dns.upsert","hostinger.dns.upsert","hostinger.mail.orders.list","hostinger.mail.plan.get","hostinger.mail.list","hostinger.mail.logs.list","hostinger.mail.mutate","mcp.tools.list","mcp.tool","composio.tool"]},confirm:{type:"boolean"},tool:{type:"string",maxLength:180},arguments:{type:"object",additionalProperties:true}},["user","provider","connection","operation"]),outputSchema:OUTPUT,
+ {name:"integration_execute",title:"Use Integration",scope:"exec",annotations:{readOnlyHint:false,destructiveHint:true,openWorldHint:true},audit:{action:"infra.write",targetArg:"connection"},limit:{key:"integration.execute",max:30,windowMs:60000},
+ description:"Execute using an explicit user/provider/named connection. Verify or inspect its route; bounded direct operations reject external backends. Composio tool execution requires an ACTIVE connected account and a toolkit-prefixed tool. Native-MCP returns the provider route without copying OAuth tokens. Native Google supports the bounded read operations listed in its catalog without Composio. Non-verification operations require confirm=true. No credentials in arguments.",
+ chatgptDescription:"Use a named connection.",
+ inputSchema:S({...BASE,operation:{type:"string",enum:["route","verify","dokploy.projects.list","dokploy.applications.list","dokploy.gitProviders.list","dokploy.github.repositories.list","dokploy.application.ensureGithub","dokploy.domain.ensure","dokploy.deployments.list","dokploy.deployment.logs","dokploy.git.recover","dokploy.application.deploy","dokploy.dockerfile","dokploy.application.publicEnv.upsert","dokploy.project.ensure","convex.customDomains.list","convex.customDomain.ensure","convex.canonical.get","convex.env.presence","convex.canonical.set","convex.project.deploy","convex.snapshot.import","cloudflare.zones.list","cloudflare.dns.upsert","hostinger.dns.upsert","hostinger.mail.orders.list","hostinger.mail.plan.get","hostinger.mail.list","hostinger.mail.logs.list","hostinger.mail.mutate","mcp.tools.list","mcp.tool","composio.tool","google.bind","google.disconnect","google.operations.list",...GOOGLE_READ_OPERATIONS.map(operation=>operation.name)]},confirm:{type:"boolean"},tool:{type:"string",maxLength:180},arguments:{type:"object",additionalProperties:true}},["user","provider","connection","operation"]),outputSchema:OUTPUT,
meta:{ui:{visibility:["model","app"]},"openai/widgetAccessible":true},run:async a=>({result:await executeIntegrationAction(a)}),
},
];
diff --git a/lib/mcp/tools-surface.ts b/lib/mcp/tools-surface.ts
index a21be65f..866d5b8e 100644
--- a/lib/mcp/tools-surface.ts
+++ b/lib/mcp/tools-surface.ts
@@ -1,3 +1,5 @@
+import { isGoogleProvider } from "@/lib/infra/google-native-config";
+import { SETUP_METHOD_IDS } from "@/lib/infra/setup-guidance";
import {metadataOnly} from "@/lib/infra/identity";
import { selectionFrom, safeActionInput } from "@/lib/infra/connection-dispatch";
import { integrationSnapshot } from "@/lib/infra/connection-service";
@@ -53,21 +55,21 @@ const renderPage = async (input:Record<string,unknown>) => {
export const SURFACE_TOOLS: McpTool[] = [
{
name: "integration_setup_open",
- title: "Open MSO Integration Setup",
- description: "Open a native MSO Integrations credential form in ChatGPT. Requires write scope. The user enters a key directly in the form, which sends it only to the MSO HTTPS server for validation and owner-only storage. Never pass credentials in tool arguments or chat. The provider-bound session expires after ten minutes and is consumed after a successful save. MSO needs no external credential plugin. Composio project and organization keys use different methods.",
- chatgptDescription: "Open native MSO Integrations in the Page. User enters keys in the form, never chat/tool arguments. Direct HTTPS validation, owner-only storage, ten-minute single-use setup. Composio project and organization keys are separate.",
+ title: "Private Setup",
+ description: "Open a native MSO Integrations credential form in ChatGPT. Requires write scope. The user enters a key directly in the form, which sends it only to the MSO HTTPS server for validation and owner-only storage. Never pass credentials in tool arguments or chat. The provider-bound session expires after ten minutes and is consumed after a successful save. MSO needs no external credential plugin. Composio project and organization keys use different methods. Native Google OAuth app setup stores client configuration only; Google account consent uses the native browser authorization flow.",
+ chatgptDescription: "Open private credential setup.",
scope: "write",
annotations: { readOnlyHint: false, destructiveHint: true, openWorldHint: false, idempotentHint: false },
audit: { action: "infra.write", targetArg: "provider" },
limit: { key: "integration.setup", max: 10, windowMs: 60_000 },
- inputSchema: S({ user:{type:"string",maxLength:64},connection:{type:"string",maxLength:64}, provider: { type: "string", enum: [...INFRA_PROVIDER_IDS] }, method: { type: "string", enum: ["direct", "project", "organization", "personal", "deployment"], description: "Must match this connection; omitted uses its stored auth method." } }, ["user","provider","connection"]),
+ inputSchema: S({ user:{type:"string",maxLength:64},connection:{type:"string",maxLength:64}, provider: { type: "string", enum: INFRA_PROVIDER_IDS.filter(provider => !isGoogleProvider(provider)) }, method: { type: "string", enum: SETUP_METHOD_IDS.filter(method => method !== "oauth2"), description: "Must match this connection; omitted uses its stored auth method." } }, ["user","provider","connection"]),
outputSchema: PAGE_OUTPUT,
meta: {
ui: { resourceUri: MSO_PAGE_URI, visibility: ["model", "app"] },
"ui/resourceUri": MSO_PAGE_URI,
"openai/widgetAccessible": true,
- "openai/toolInvocation/invoking": "Opening secure integration setup…",
- "openai/toolInvocation/invoked": "Secure setup form opened",
+ "openai/toolInvocation/invoking": "Opening setup…",
+ "openai/toolInvocation/invoked": "Setup opened",
},
run: async (input, context) => {
metadataOnly(safeActionInput(input));
diff --git a/lib/mcp/toolset.ts b/lib/mcp/toolset.ts
index 091c01bd..c146cc9f 100644
--- a/lib/mcp/toolset.ts
+++ b/lib/mcp/toolset.ts
@@ -3,9 +3,9 @@ import type { Scope } from "./scope";
import type { McpTool } from "./tool-kit";
import { toolDescriptor, type McpToolProfile } from "./tool-contract";
-export const MCP_SERVER_VERSION = "1.15.4";
-export const MCP_TOOLSET_VERSION = "2026.09.22.2";
-export const MCP_TOOLSET_CHANGED_AT = "2026-09-22T10:30:00+07:00";
+export const MCP_SERVER_VERSION = "1.16.0";
+export const MCP_TOOLSET_VERSION = "2026.09.25.1";
+export const MCP_TOOLSET_CHANGED_AT = "2026-09-25T17:39:19+00:00";
export type McpToolsetInfo = {
serverVersion: string;