From 53105d5830f7f3051a265bdd17847170b72788dc Mon Sep 17 00:00:00 2001 From: Devin Foley Date: Thu, 8 Oct 2026 12:37:06 -0700 Subject: [PATCH] feat(apps): add Gauge connection (#15596) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Thinking Path > - Paperclip is the open source app people use to manage AI agents for work. > - Agents reach external services through the Apps catalog. Each catalog entry is a reviewed `AppDefinition` that connects a provider's hosted MCP server to Paperclip's shared vault, grants, policies, gateway, and audit trail. > - Gauge (`withgauge.com`) measures how AI answer engines mention and cite a brand. Its hosted MCP server also gives SEO, analytics and ads reports, and runs a content pipeline that can publish to a connected CMS. > - Gauge is not in the catalog. Operators must use the generic "Connect your own MCP server" flow. That flow has no branding, no organization guidance, and no warning about live CMS publishing. > - The connector playbook supports this provider with existing definition fields. The server supports dynamic client registration with a reviewed `mcp` scope, and it accepts an organization API key as a bearer header. > - This pull request adds the Gauge definition, its artwork, the research and permission-review ledger rows, documentation, and deterministic tests. > - The benefit is a branded, governed Gauge connection with browser sign-in, an API-key option, and a clear publish warning. ## Linked Issues or Issue Description **Problem or motivation** Marketing and growth teams use Gauge to track their brand in AI answers and to run content workflows. They want their Paperclip agents to read visibility, keyword and traffic data, and to prepare content. Gauge is not in the Apps catalog. Operators must paste the MCP URL into the generic remote-MCP flow, which gives no branding, no method guidance, and no warning that content tools can publish live. **Proposed solution** Add a catalog-only Gauge connection built from the connector playbook. Browser sign-in uses Gauge's dynamic client registration and requests only the reviewed `mcp` scope. The user selects one Gauge organization on the consent screen. An optional method sends a customer-created organization API key as an `Authorization: Bearer` header. Both methods warn the operator to set publish actions to Ask first. Every discovered tool stays governed by the normal per-action policies. **Alternatives considered** A plugin was not needed because no custom UI, tables, workers, or webhooks are involved. The identity scopes that Gauge also advertises (`openid`, `profile`, `email`, `organizations`) are not requested, because Gauge selects the organization on its consent screen. A Gauge-specific `classifyRisk` rule was not added, because the tool names cannot be seen without an account. The generic rule already classifies `publish`, `create` and `update` tools as writes. **Roadmap alignment** This extends the existing self-serve remote-MCP connection catalog and does not overlap planned core work. ## What Changed - Added the `gauge` provider to `scripts/ingest-app-definitions.mjs` (category `analytics`, API-key placement, guidance, warnings, description) and regenerated `packages/shared/src/app-definitions/gauge.json` and the generated registry. - Added the Gauge row to the self-serve MCP research ledger with `dcr_or_api_key` auth and risk tier S3. - Added permission reviews for `gauge/mcp-oauth` (explicit scope `mcp`, from Gauge's live authorization-server metadata) and `gauge/mcp-api-key` (provider key), with evidence links. - Added Gauge's mark (`ui/public/brands/apps/gauge.png`, the avatar of Gauge's official GitHub organization) and the brand manifest entry. - Added gallery copy for the Gauge card. - Added `doc/connections/GAUGE.md` (endpoints, scopes, administrator setup, capabilities and policy, manifest, brand provenance, validation hook) and linked it from the connections README and the permission audit. - Tests: Gauge definition shape, store visibility and artwork, URL recognition, reviewed scope, bearer-header placement, the connect form's sign-in default and API-key gating, and the pinned catalog counts. ## Verification - `pnpm exec vitest run packages/shared/src/app-definitions.test.ts packages/shared/src/app-definitions-url.test.ts ui/src/pages/apps/AppsConnect.test.tsx ui/src/pages/apps/Browse.test.tsx ui/src/lib/app-brand-assets.test.ts ui/src/pages/apps/AppLogo.brand-assets.test.tsx server/src/__tests__/tool-access-service.test.ts` — 738 passed. - `node scripts/check-app-brand-assets.mjs` and `node --test scripts/app-brand-validation.test.mjs` — passed. - `pnpm --filter @paperclipai/shared typecheck`, `pnpm --filter @paperclipai/server typecheck`, `pnpm --filter @paperclipai/ui typecheck` — clean. - `node scripts/ingest-app-definitions.mjs --definitions-only` produces no Gauge drift. - Manual: on a local instance, open Apps → Browse and confirm the Gauge card and icon. Open `/apps/connect?source=gauge` and confirm that sign-in is the default and that the API-key method is under Advanced. - Live metadata probe on 2026-10-08: an unauthenticated `initialize` on `https://app.withgauge.com/mcp` returns 401 with `resource_metadata`. Both `.well-known` documents return the recorded endpoints and scopes. Dynamic client registration succeeds. The authorize endpoint accepts `scope=mcp` and rejects an unknown scope with HTTP 400. ## Risks - Low risk to existing providers: the change is additive catalog data plus tests. The generated registry only gains one import. - Gauge content tools can publish to a connected CMS, including live, and a bulk keyword update replaces each prompt's keyword list. Both methods warn the operator, and the API-key helper text tells operators to set publish actions to Ask first. - Gauge API keys are not scoped and reach the whole organization. Paperclip cannot narrow an issued key. - The permission-review ledger records live proof for both methods as not run. The lifecycle checklist in `doc/connections/GAUGE.md` still needs a documented pass with a Gauge organization. > For core feature work, check [`ROADMAP.md`](ROADMAP.md) first and discuss it in `#dev` before opening the PR. Feature PRs that overlap with planned core work may need to be redirected — check the roadmap first. See `CONTRIBUTING.md`. ## Model Used - Claude Opus 5.5 (`claude-opus-5-5`, 1M context) in Claude Code, with tool use (shell, file editing, web research). ## Checklist - [x] I have included a thinking path that traces from project context to this change - [x] I have specified the model used (with version and capability details) - [x] I have checked ROADMAP.md and confirmed this PR does not duplicate planned core work - [x] I have searched GitHub for duplicate or related PRs and linked them above - [x] I have either (a) linked existing issues with `Fixes: #` / `Closes #` / `Refs #` OR (b) described the issue in-PR following the relevant issue template - [x] I have not referenced internal/instance-local Paperclip issues or links (only public GitHub `#NNN` / `github.com/paperclipai/paperclip` URLs) - [x] My branch name describes the change (e.g. `docs/...`, `fix/...`) and contains no internal Paperclip ticket id or instance-derived details - [x] I have run tests locally and they pass - [x] I have added or updated tests where applicable - [x] I have updated relevant documentation to reflect my changes - [x] I have considered and documented any risks above - [ ] All Paperclip CI gates are green - [ ] Greptile is 5/5 with no open P2s, recommendations, or follow-ups - [x] I will address all Greptile and reviewer comments before requesting merge --- doc/connections/CONNECTOR-PERMISSION-AUDIT.md | 3 +- doc/connections/GAUGE.md | 189 ++++++++++++++++++ doc/connections/README.md | 2 +- .../tool-method-permission-reviews.json | 34 ++++ .../shared/src/app-definitions-url.test.ts | 1 + .../shared/src/app-definitions.generated.ts | 39 ++-- packages/shared/src/app-definitions.test.ts | 60 +++++- .../shared/src/app-definitions/gauge.json | 94 +++++++++ .../shared/src/self-serve-mcp-research.json | 3 +- scripts/ingest-app-definitions.mjs | 32 ++- .../src/__tests__/tool-access-service.test.ts | 2 +- ui/public/brands/apps/gauge.png | Bin 0 -> 28340 bytes ui/public/brands/apps/manifest.json | 6 + ui/src/lib/app-gallery-copy.ts | 4 + ui/src/pages/apps/AppsConnect.test.tsx | 42 ++++ 15 files changed, 482 insertions(+), 29 deletions(-) create mode 100644 doc/connections/GAUGE.md create mode 100644 packages/shared/src/app-definitions/gauge.json create mode 100644 ui/public/brands/apps/gauge.png diff --git a/doc/connections/CONNECTOR-PERMISSION-AUDIT.md b/doc/connections/CONNECTOR-PERMISSION-AUDIT.md index 57f72332831..5f0844ae68b 100644 --- a/doc/connections/CONNECTOR-PERMISSION-AUDIT.md +++ b/doc/connections/CONNECTOR-PERMISSION-AUDIT.md @@ -9,7 +9,8 @@ separate contracts and were not changed. Methods reviewed after this audit carry their own `reviewedAt` date in the same ledger; the counts above are not restated. Later additions: [Neon](./NEON.md) (`mcp-oauth`, `mcp-api-key`; 2026-10-02), [Superagent](./SUPERAGENT.md) -(`mcp-api-key`; 2026-10-06). +(`mcp-api-key`; 2026-10-06), [Gauge](./GAUGE.md) +(`mcp-oauth`, `mcp-api-key`; 2026-10-08). ## Shared credential failure diff --git a/doc/connections/GAUGE.md b/doc/connections/GAUGE.md new file mode 100644 index 00000000000..39a2d89447b --- /dev/null +++ b/doc/connections/GAUGE.md @@ -0,0 +1,189 @@ +# Gauge + +Updated: 2026-10-08. Status: catalog definition reviewed against official +documentation and live provider metadata; live account qualification +outstanding. + +Gauge (`withgauge.com`) measures how AI answer engines mention and cite a +brand, combines that with SEO, analytics and ads data, and runs a content +pipeline that can publish to a connected CMS. It appears in Apps and uses +Paperclip's shared remote-MCP connection, vault, catalog, grants, policies, +gateway, and audit trail. It is a resource connection, not Paperclip sign-in. +No plugin, database migration, or provider-specific runtime code is required. + +Paperclip connects to Gauge's hosted MCP server at +`https://app.withgauge.com/mcp` (Streamable HTTP) with two methods: + +- `mcp-oauth`: browser sign-in through Gauge's dynamic client registration. + The user chooses one Gauge organization on the consent screen. +- `mcp-api-key`: an organization API key stored as a Paperclip secret and + sent as an `Authorization: Bearer ` header. + +This curated connection is the polished route: it provides branding, method +guidance, and a publish warning. The same URL can also be connected from +**Connect your own MCP server**. See +[Connecting any remote MCP server](./GENERIC-REMOTE-MCP.md). + +## Service involvement + +Gauge hosts the MCP resource and the authorization server. Paperclip stores +the OAuth tokens or the key as secret references, discovers tools with +`tools/list`, and sends the credential on every governed call. No +Paperclip-operated vendor relay is involved; cloud and self-hosted instances +use the same path. + +## Endpoints + +| Purpose | URL | +| --- | --- | +| MCP resource | `https://app.withgauge.com/mcp` | +| Protected-resource metadata | `https://app.withgauge.com/.well-known/oauth-protected-resource` | +| Authorization-server metadata | `https://app.withgauge.com/.well-known/oauth-authorization-server` | +| Authorize | `https://app.withgauge.com/mcp/oauth/authorize` | +| Token | `https://app.withgauge.com/mcp/oauth/token` | +| Dynamic client registration | `https://app.withgauge.com/mcp/oauth/register` | + +The authorization server supports `authorization_code` and `refresh_token`, +PKCE `S256`, and public clients (`token_endpoint_auth_method: none`). It +advertises the scopes `mcp`, `openid`, `profile`, `email` and +`organizations`, and rejects unknown scopes with HTTP 400. + +## Scopes + +Paperclip requests only `mcp`, the scope that grants MCP access. The identity +scopes are not needed: Gauge selects the organization on its consent screen, +not through a scope. This is recorded as an explicit review in +[`tool-method-permission-reviews.json`](./tool-method-permission-reviews.json). + +## Administrator setup + +Browser sign-in: + +1. In Paperclip, open **Apps → Browse → Gauge** and click + **Continue to sign in**. +2. Sign in to Gauge, choose the organization, and approve access. + +API key: + +1. In Gauge, open **Settings → Integrations → API Keys** and click + **Generate API Key**. Use a separate key for Paperclip so it can be deleted + independently. +2. In Paperclip, open **Apps → Browse → Gauge**, open **Advanced**, choose + **Use an API key**, paste the key, and click **Connect**. + +After either method, set publish actions to **Ask first** or **Off** on the +connection's **Permissions** screen if agents run unattended. + +To disconnect, remove the connection in Paperclip. For an API key, also +delete the key in Gauge under **Settings → Integrations → API Keys**, which +revokes every connection that uses it. + +## Capabilities and policy + +Gauge documents about 25 tools in these groups: + +- AI visibility and citations: mentions, citations, answers, visibility and + performance trends, and the sources and pages behind them. +- Topics and prompts: browse tracked prompts and answers; create, generate, + move and tag prompts; bulk keyword updates, which replace each prompt's + full keyword list. +- SEO and keyword reporting: organic rankings, volume, difficulty, and the + keywords a domain or page ranks for. +- GA4, Search Console and PostHog reports, where those integrations are + connected in Gauge. +- Google Ads and OpenAI Ads reporting. +- Content pipeline: brief, research, outline, write, review, images, and + publish to a connected CMS as a draft, to staging, or live. +- Memory files and saved skills: list, read, create and edit. +- Action Center: list, create, assign, set due dates and update status. +- Ask Gauge: natural-language questions answered from the organization's + data. + +Tool names were not captured during this review because it needed a signed-in +account. The generic `classifyRisk` rules apply: `publish`, `create`, +`update`, `set` and similar verbs are writes, and `delete` or `remove` is +destructive. Bulk keyword replacement and live CMS publishing are the +highest-impact actions. The method warnings and the API-key helper tell +operators to put publish actions behind Ask first. If live discovery shows +mutations with read-like names, add a reviewed `gauge` rule to +`classifyRisk`, as Superagent has. + +## Transport and auth + +- Transport: `mcp_remote`, Streamable HTTP (SSE is also documented). +- OAuth: DCR, public client, PKCE, scope `mcp`. Connects as the approving + user, limited to the chosen organization. +- API key: `Authorization: Bearer `. Keys are bound to one + organization, are not scoped, and carry no user identity. Requests are + attributed to the organization. Paperclip cannot narrow an issued key. + +## Resource filters + +None. Gauge documents no query or header options that narrow the hosted +server. Each connection is already limited to one organization; narrow further +with per-action policies. + +## Manifest + +| Field | Value | +| --- | --- | +| Slug | `gauge` | +| Category | `analytics` | +| Methods | `mcp-oauth` (`dcr`, S3, scope `mcp`); `mcp-api-key` (`customer`, S3) | +| Server URL | `https://app.withgauge.com/mcp` | +| Credential | `authorization`, password, required | +| Key placement | header `Authorization`, prefix `Bearer ` | +| Console links | docs `https://docs.withgauge.com/help/mcp` | + +The definition is generated from the `gauge` row in +`packages/shared/src/self-serve-mcp-research.json` and the `gauge` branch of +`specialMethodsFor` in `scripts/ingest-app-definitions.mjs`. + +## Wizard path + +`/apps/connect?source=gauge` defaults to **Sign in with Gauge**. Both methods +share one `write` capability profile, so there is no capability picker, but +the access step shows its description, including the publish warning, before +sign-in. Under +**Advanced**, **Use an API key** shows the key field; **Connect** stays +disabled until a key is entered. A successful sign-in or key check and tool +discovery lead to the connection's Permissions screen. + +## Governance defaults + +- Default profile and bindings: the standard connection profile; every + discovered action starts Allowed under the current product default. +- Policies: operators narrow publish and bulk-edit tools to Ask first or Off + on the Permissions screen. +- Risk: the generic `classifyRisk` rules. +- Quarantine rules: the shared defaults; no Gauge-specific exceptions. + +## Brand provenance + +Gauge's site ships only a 32×32 favicon, below the catalog's 128px minimum. +The same orange "G" gauge mark is the avatar of Gauge's official GitHub +organization (`withgauge`, whose profile links `https://withgauge.com/`), +published as a 460×460 transparent PNG. That file is used unchanged in both +themes. + +| File | Source | SHA-256 | +| --- | --- | --- | +| `ui/public/brands/apps/gauge.png` (460×460) | `https://avatars.githubusercontent.com/u/213101673?v=4&s=512` | `bf1f63a5d30b7f6af1064b74f5f66bf5ea6454d6036a068bf8b0c926fa3f37a6` | + +## Validation hook + +- Environment: definition review on 2026-10-08 against `origin/master`; no + Gauge account was used. +- Metadata probe: an unauthenticated `initialize` on `/mcp` returned HTTP 401 + with `resource_metadata`; both `.well-known` documents returned the + endpoints and scopes above; dynamic client registration succeeded for a + loopback redirect; the authorize endpoint accepted `scope=mcp` (redirect to + Gauge sign-in) and rejected an unknown scope with HTTP 400. +- Deterministic tests: manifest shape, store visibility, artwork, URL + recognition, reviewed scope, bearer-header placement, and the connect + form's sign-in default, the publish warning before sign-in, and API-key + gating. +- Connect evidence, catalog evidence, allowed read, governed write, denied + case, revoke, audit: not run. Both methods still need the full live + lifecycle with a Gauge organization before this connection is considered + qualified. diff --git a/doc/connections/README.md b/doc/connections/README.md index 5f5b4d09741..829ff427b52 100644 --- a/doc/connections/README.md +++ b/doc/connections/README.md @@ -13,7 +13,7 @@ Runtime authentication: [AI Connections](./AI-CONNECTIONS.md). Long-term memory: [Experimental memory connectors](./MEMORY.md). Provider notes: [Google Workspace](./GOOGLE-WORKSPACE.md), -[Gmail](./GMAIL.md), [Asana](./ASANA.md), [PostHog](./POSTHOG.md), [Neon](./NEON.md), [Superagent](./SUPERAGENT.md), +[Gmail](./GMAIL.md), [Asana](./ASANA.md), [PostHog](./POSTHOG.md), [Neon](./NEON.md), [Superagent](./SUPERAGENT.md), [Gauge](./GAUGE.md), [AgentMail](./AGENTMAIL.md), [Telem.AI](./TELEM.md), [iMessage Photon](./IMESSAGE-PHOTON.md), and [Enterpret](./ENTERPRET.md). Optional credential custody: [Vercel Connect](./VERCEL-CONNECT.md). diff --git a/doc/connections/tool-method-permission-reviews.json b/doc/connections/tool-method-permission-reviews.json index f92216c57bf..a3618c46d06 100644 --- a/doc/connections/tool-method-permission-reviews.json +++ b/doc/connections/tool-method-permission-reviews.json @@ -507,6 +507,40 @@ "liveProof": "not-run", "keyPermissions": "Use an API key for an account with write access to the meetings your agents need to share, rename, move or turn into soundbites. Paperclip cannot increase the key\u2019s permissions." }, + { + "app": "gauge", + "method": "mcp-oauth", + "auth": "oauth", + "policy": "explicit", + "requestedScopes": [ + "mcp" + ], + "capability": "write", + "supportedActions": "Read AI visibility, mentions, citations, answers and competitor data; browse and curate tracked topics and prompts (create, generate, move, tag, and replace keyword lists); pull SEO keyword, GA4, Search Console, PostHog and Google Ads/OpenAI Ads reports; run the content pipeline from brief to article and publish to a connected CMS as a draft, to staging or live; read and edit organization memory files and skills; create, assign and update Action Center items; ask Ask Gauge questions. Access is limited to the organization chosen during consent.", + "evidence": [ + "https://docs.withgauge.com/help/mcp", + "https://app.withgauge.com/.well-known/oauth-protected-resource", + "https://app.withgauge.com/.well-known/oauth-authorization-server" + ], + "reviewedAt": "2026-10-08", + "liveProof": "not-run" + }, + { + "app": "gauge", + "method": "mcp-api-key", + "auth": "api_key", + "policy": "provider-key", + "requestedScopes": [], + "capability": "provider-controlled", + "supportedActions": "Read AI visibility, mentions, citations, answers and competitor data; browse and curate tracked topics and prompts (create, generate, move, tag, and replace keyword lists); pull SEO keyword, GA4, Search Console, PostHog and Google Ads/OpenAI Ads reports; run the content pipeline from brief to article and publish to a connected CMS as a draft, to staging or live; read and edit organization memory files and skills; create, assign and update Action Center items; ask Ask Gauge questions.", + "evidence": [ + "https://docs.withgauge.com/help/mcp", + "https://app.withgauge.com/.well-known/oauth-protected-resource" + ], + "reviewedAt": "2026-10-08", + "liveProof": "not-run", + "keyPermissions": "Gauge API keys are not scoped: a key reaches every MCP tool in the organization that created it, including publishing to a connected CMS, and requests are attributed to the organization rather than a user. Generate a separate key for Paperclip so it can be deleted independently, and set publish actions to Ask first before agents run unattended. Paperclip cannot narrow an existing key." + }, { "app": "github", "method": "managed", diff --git a/packages/shared/src/app-definitions-url.test.ts b/packages/shared/src/app-definitions-url.test.ts index 153a509f844..1d9711a5d8b 100644 --- a/packages/shared/src/app-definitions-url.test.ts +++ b/packages/shared/src/app-definitions-url.test.ts @@ -12,6 +12,7 @@ describe("tool app gallery URL matching", () => { expect(getAppDefinitionForUrl("https://docs.google.com/spreadsheets/d/sheet_123/edit")?.slug).toBe("google-sheets"); expect(getAppDefinitionForUrl("https://gmailmcp.googleapis.com/mcp/v1")?.slug).toBe("gmail"); expect(getAppDefinitionForUrl("https://mcp.neon.tech/mcp")?.slug).toBe("neon"); + expect(getAppDefinitionForUrl("https://app.withgauge.com/mcp")?.slug).toBe("gauge"); expect(getAppDefinitionForUrl("https://www.superagent.sh/mcp")?.slug).toBe("superagent"); }); diff --git a/packages/shared/src/app-definitions.generated.ts b/packages/shared/src/app-definitions.generated.ts index 5a6482dbec6..a3d7fa86773 100644 --- a/packages/shared/src/app-definitions.generated.ts +++ b/packages/shared/src/app-definitions.generated.ts @@ -71,23 +71,24 @@ import a69 from "./app-definitions/honcho.json" with { type: "json" }; import a70 from "./app-definitions/neon.json" with { type: "json" }; import a71 from "./app-definitions/superagent.json" with { type: "json" }; import a72 from "./app-definitions/telem.json" with { type: "json" }; -import a73 from "./app-definitions/gmail.json" with { type: "json" }; -import a74 from "./app-definitions/google-drive.json" with { type: "json" }; -import a75 from "./app-definitions/google-docs.json" with { type: "json" }; -import a76 from "./app-definitions/google-sheets.json" with { type: "json" }; -import a77 from "./app-definitions/google-slides.json" with { type: "json" }; -import a78 from "./app-definitions/google-calendar.json" with { type: "json" }; -import a79 from "./app-definitions/google-chat.json" with { type: "json" }; -import a80 from "./app-definitions/google-people.json" with { type: "json" }; -import a81 from "./app-definitions/google-workspace-search.json" with { type: "json" }; -import a82 from "./app-definitions/openai.json" with { type: "json" }; -import a83 from "./app-definitions/openrouter.json" with { type: "json" }; -import a84 from "./app-definitions/xai.json" with { type: "json" }; -import a85 from "./app-definitions/google.json" with { type: "json" }; -import a86 from "./app-definitions/bedrock.json" with { type: "json" }; -import a87 from "./app-definitions/responses-api.json" with { type: "json" }; -import a88 from "./app-definitions/messages-api.json" with { type: "json" }; -import a89 from "./app-definitions/chat-completions-api.json" with { type: "json" }; -import a90 from "./app-definitions/local.json" with { type: "json" }; +import a73 from "./app-definitions/gauge.json" with { type: "json" }; +import a74 from "./app-definitions/gmail.json" with { type: "json" }; +import a75 from "./app-definitions/google-drive.json" with { type: "json" }; +import a76 from "./app-definitions/google-docs.json" with { type: "json" }; +import a77 from "./app-definitions/google-sheets.json" with { type: "json" }; +import a78 from "./app-definitions/google-slides.json" with { type: "json" }; +import a79 from "./app-definitions/google-calendar.json" with { type: "json" }; +import a80 from "./app-definitions/google-chat.json" with { type: "json" }; +import a81 from "./app-definitions/google-people.json" with { type: "json" }; +import a82 from "./app-definitions/google-workspace-search.json" with { type: "json" }; +import a83 from "./app-definitions/openai.json" with { type: "json" }; +import a84 from "./app-definitions/openrouter.json" with { type: "json" }; +import a85 from "./app-definitions/xai.json" with { type: "json" }; +import a86 from "./app-definitions/google.json" with { type: "json" }; +import a87 from "./app-definitions/bedrock.json" with { type: "json" }; +import a88 from "./app-definitions/responses-api.json" with { type: "json" }; +import a89 from "./app-definitions/messages-api.json" with { type: "json" }; +import a90 from "./app-definitions/chat-completions-api.json" with { type: "json" }; +import a91 from "./app-definitions/local.json" with { type: "json" }; import type { AppDefinition } from "./types/app-definition.js"; -export const APP_DEFINITIONS=[a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32,a33,a34,a35,a36,a37,a38,a39,a40,a41,a42,a43,a44,a45,a46,a47,a48,a49,a50,a51,a52,a53,a54,a55,a56,a57,a58,a59,a60,a61,a62,a63,a64,a65,a66,a67,a68,a69,a70,a71,a72,a73,a74,a75,a76,a77,a78,a79,a80,a81,a82,a83,a84,a85,a86,a87,a88,a89,a90] as AppDefinition[]; +export const APP_DEFINITIONS=[a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32,a33,a34,a35,a36,a37,a38,a39,a40,a41,a42,a43,a44,a45,a46,a47,a48,a49,a50,a51,a52,a53,a54,a55,a56,a57,a58,a59,a60,a61,a62,a63,a64,a65,a66,a67,a68,a69,a70,a71,a72,a73,a74,a75,a76,a77,a78,a79,a80,a81,a82,a83,a84,a85,a86,a87,a88,a89,a90,a91] as AppDefinition[]; diff --git a/packages/shared/src/app-definitions.test.ts b/packages/shared/src/app-definitions.test.ts index 3167197d008..3687d047dea 100644 --- a/packages/shared/src/app-definitions.test.ts +++ b/packages/shared/src/app-definitions.test.ts @@ -273,7 +273,7 @@ describe("AppDefinition catalog", () => { "google-workspace-search", ]), ); - expect(SELF_SERVE_MCP_CANDIDATES).toHaveLength(52); + expect(SELF_SERVE_MCP_CANDIDATES).toHaveLength(53); expect(BLOCKED_MCP_PROVIDERS.map((entry) => entry.slug)).toEqual([ "g2", "vercel", @@ -437,15 +437,15 @@ describe("AppDefinition catalog", () => { expect(channel("slack")?.guidanceMd).toContain("reactions"); expect(channel("slack")?.guidanceMd).toContain("direct messages"); }); - it("keeps a complete, unique, dated evidence ledger for all 55 researched MCP providers", () => { + it("keeps a complete, unique, dated evidence ledger for all 56 researched MCP providers", () => { // Ledger-wide date reflects the last full re-verification (2026-08-26); // later provider additions carry their own research evidence, but // bumping the shared date would overstate freshness for the other providers. expect(SELF_SERVE_MCP_RESEARCH.verifiedAt).toBe("2026-08-26"); - expect(SELF_SERVE_MCP_RESEARCH.entries).toHaveLength(55); + expect(SELF_SERVE_MCP_RESEARCH.entries).toHaveLength(56); expect( new Set(SELF_SERVE_MCP_RESEARCH.entries.map((entry) => entry.slug)), - ).toHaveProperty("size", 55); + ).toHaveProperty("size", 56); for (const entry of SELF_SERVE_MCP_RESEARCH.entries) { expect(new URL(entry.docsUrl).protocol).toBe("https:"); expect(new URL(entry.serverUrl).protocol).toBe("https:"); @@ -845,7 +845,7 @@ describe("AppDefinition catalog", () => { "ticktick", "xero", ]); - expect(APP_STORE_DEFINITIONS).toHaveLength(68); + expect(APP_STORE_DEFINITIONS).toHaveLength(69); const connectableSlugs = new Set( CONNECTABLE_APP_DEFINITIONS.map((entry) => entry.slug), ); @@ -1130,6 +1130,56 @@ describe("AppDefinition catalog", () => { expect(method.warnings?.length).toBe(2); } }); + it("connects Gauge's hosted server with browser sign-in or an organization API key", () => { + const gauge = APP_DEFINITIONS.find((app) => app.slug === "gauge")!; + expect(gauge).toMatchObject({ + name: "Gauge", + categories: ["analytics"], + urlPatterns: ["https://app.withgauge.com/*"], + docsUrl: "https://docs.withgauge.com/help/mcp", + branding: { logoUrl: "/brands/apps/gauge.png" }, + redirectConstraints: "https-or-loopback-http", + }); + expect(APP_STORE_DEFINITIONS.some((app) => app.slug === "gauge")).toBe(true); + expect(gauge.methods.map((method) => method.key)).toEqual(["mcp-oauth", "mcp-api-key"]); + const [oauth, apiKey] = gauge.methods; + expect(oauth).toMatchObject({ + transport: "mcp_remote", + auth: "oauth", + ownershipModes: ["dcr"], + riskTier: "S3", + // Gauge advertises identity scopes too; only the reviewed MCP scope is + // requested, and the organization is chosen on Gauge's consent screen. + defaults: { serverUrl: "https://app.withgauge.com/mcp", scopesHint: ["mcp"] }, + }); + expect(apiKey).toMatchObject({ + transport: "mcp_remote", + auth: "api_key", + ownershipModes: ["customer"], + riskTier: "S3", + defaults: { serverUrl: "https://app.withgauge.com/mcp" }, + keyPlacement: { location: "header", name: "Authorization", prefix: "Bearer " }, + }); + expect(apiKey!.credentialFields).toEqual([ + expect.objectContaining({ key: "authorization", type: "password", secret: true, required: true }), + ]); + // The key form renders credential helper text, not method warnings, so the + // publish advice must live in the helper. + expect(apiKey!.credentialFields?.[0]?.helperMd).toContain("set publish actions to Ask first"); + for (const method of gauge.methods) { + // One shared profile: no capability picker, but the access step shows + // its description (with the publish warning) before sign-in. + expect(method.capabilityProfile).toMatchObject({ + key: "write", + description: expect.stringContaining("publish to your connected CMS"), + }); + expect(method.tenantFields ?? []).toEqual([]); + expect(method.warnings).toEqual([ + expect.stringContaining("one Gauge organization"), + expect.stringContaining("publish to your connected CMS"), + ]); + } + }); it("connects Superagent's hosted server with an organization API key only", () => { const superagent = APP_DEFINITIONS.find((app) => app.slug === "superagent")!; expect(superagent).toMatchObject({ diff --git a/packages/shared/src/app-definitions/gauge.json b/packages/shared/src/app-definitions/gauge.json new file mode 100644 index 00000000000..da9d1f2bd15 --- /dev/null +++ b/packages/shared/src/app-definitions/gauge.json @@ -0,0 +1,94 @@ +{ + "schemaVersion": 1, + "slug": "gauge", + "name": "Gauge", + "description": "Track how AI answers mention your brand, research keywords and traffic, and run content workflows.", + "categories": [ + "analytics" + ], + "featured": false, + "branding": { + "logoUrl": "/brands/apps/gauge.png" + }, + "urlPatterns": [ + "https://app.withgauge.com/*" + ], + "docsUrl": "https://docs.withgauge.com/help/mcp", + "redirectConstraints": "https-or-loopback-http", + "methods": [ + { + "key": "mcp-oauth", + "transport": "mcp_remote", + "auth": "oauth", + "ownershipModes": [ + "dcr" + ], + "whenToUse": "Use browser sign-in for the provider-hosted MCP server.", + "defaults": { + "serverUrl": "https://app.withgauge.com/mcp", + "scopesHint": [ + "mcp" + ] + }, + "guidanceMd": "Connect Gauge in the browser and choose the organization this connection may use. Write tools start enabled and remain governed by Paperclip's action policies.", + "riskTier": "S3", + "label": "Sign in with Gauge", + "consoleLinks": { + "docs": "https://docs.withgauge.com/help/mcp" + }, + "warnings": [ + "A Gauge account. Each connection reaches one Gauge organization: sign-in uses the organization chosen during consent, and an API key uses the organization that created it.", + "Gauge content tools can publish to your connected CMS, including live. Set publish actions to Ask first before agents run unattended." + ], + "capabilityProfile": { + "key": "write", + "label": "Read and write", + "description": "Read AI visibility, SEO and traffic data, and run content workflows. Gauge content tools can publish to your connected CMS, including live. Set publish actions to Ask first before agents run unattended." + } + }, + { + "key": "mcp-api-key", + "transport": "mcp_remote", + "auth": "api_key", + "ownershipModes": [ + "customer" + ], + "whenToUse": "Use a Gauge organization API key when browser sign-in is not suitable.", + "defaults": { + "serverUrl": "https://app.withgauge.com/mcp" + }, + "guidanceMd": "In Gauge, open Settings → Integrations → API Keys, generate a key for Paperclip, and paste it below.", + "riskTier": "S3", + "label": "Use an API key", + "credentialFields": [ + { + "key": "authorization", + "label": "Gauge API key", + "type": "password", + "required": true, + "placeholder": "Paste your Gauge API key", + "secret": true, + "helperMd": "Gauge API keys are not scoped: a key reaches every MCP tool in the organization that created it, including publishing to a connected CMS, and requests are attributed to the organization rather than a user. Generate a separate key for Paperclip so it can be deleted independently, and set publish actions to Ask first before agents run unattended. Paperclip cannot narrow an existing key." + } + ], + "keyPlacement": { + "location": "header", + "name": "Authorization", + "prefix": "Bearer " + }, + "consoleLinks": { + "keys": "https://docs.withgauge.com/help/mcp", + "docs": "https://docs.withgauge.com/help/mcp" + }, + "warnings": [ + "A Gauge account. Each connection reaches one Gauge organization: sign-in uses the organization chosen during consent, and an API key uses the organization that created it.", + "Gauge content tools can publish to your connected CMS, including live. Set publish actions to Ask first before agents run unattended." + ], + "capabilityProfile": { + "key": "write", + "label": "Read and write", + "description": "Read AI visibility, SEO and traffic data, and run content workflows. Gauge content tools can publish to your connected CMS, including live. Set publish actions to Ask first before agents run unattended." + } + } + ] +} diff --git a/packages/shared/src/self-serve-mcp-research.json b/packages/shared/src/self-serve-mcp-research.json index 83b4601523e..c721d572f36 100644 --- a/packages/shared/src/self-serve-mcp-research.json +++ b/packages/shared/src/self-serve-mcp-research.json @@ -60,6 +60,7 @@ {"slug": "honcho", "name": "Honcho", "wave": 3, "status": "self_serve", "docsUrl": "https://honcho.dev/docs/v3/guides/integrations/mcp", "serverUrl": "https://mcp.honcho.dev", "authMode": "api_key", "prerequisite": "An API key from the Honcho dashboard. Memory is stored in your Honcho account; select workspace and peer identifiers when calling tools.", "riskTier": "S3"}, { "slug": "neon", "name": "Neon", "wave": 4, "status": "self_serve", "docsUrl": "https://neon.com/docs/ai/neon-mcp-server", "serverUrl": "https://mcp.neon.tech/mcp", "authMode": "dcr_or_api_key", "prerequisite": "A Neon account. The hosted server grants broad project and database management, so use a development project and review write actions before connecting production data.", "riskTier": "S4" }, { "slug": "superagent", "name": "Superagent", "wave": 4, "status": "self_serve", "docsUrl": "https://www.superagent.sh/docs/mcp", "serverUrl": "https://www.superagent.sh/mcp", "authMode": "api_key", "prerequisite": "Superagent report and triage tools consume organization credits, and deleting a finding is permanent. Set those actions to Ask first before agents run unattended.", "riskTier": "S4" }, - { "slug": "telem", "name": "Telem.AI", "wave": 4, "status": "self_serve", "docsUrl": "https://docs.telem.ai", "serverUrl": "https://mcp.telem.ai/mcp", "authMode": "api_key", "prerequisite": "A Telem API key. Create one in the Telem console at app.telem.ai.", "riskTier": "S2" } + { "slug": "telem", "name": "Telem.AI", "wave": 4, "status": "self_serve", "docsUrl": "https://docs.telem.ai", "serverUrl": "https://mcp.telem.ai/mcp", "authMode": "api_key", "prerequisite": "A Telem API key. Create one in the Telem console at app.telem.ai.", "riskTier": "S2" }, + { "slug": "gauge", "name": "Gauge", "wave": 4, "status": "self_serve", "docsUrl": "https://docs.withgauge.com/help/mcp", "serverUrl": "https://app.withgauge.com/mcp", "authMode": "dcr_or_api_key", "prerequisite": "A Gauge account. Each connection reaches one Gauge organization: sign-in uses the organization chosen during consent, and an API key uses the organization that created it.", "riskTier": "S3" } ] } diff --git a/scripts/ingest-app-definitions.mjs b/scripts/ingest-app-definitions.mjs index 42dbb080689..9191eafa9dc 100644 --- a/scripts/ingest-app-definitions.mjs +++ b/scripts/ingest-app-definitions.mjs @@ -1017,6 +1017,7 @@ const categoryBySlug = { egnyte: "content", embat: "commerce", fireflies: "productivity", + gauge: "analytics", "hugging-face": "ai", jira: "productivity", kernel: "developer", @@ -1100,6 +1101,7 @@ const apiKeySpec = { prefix: "Bearer ", placeholder: "Paste your Coda API token", }, + gauge: { name: "Authorization", prefix: "Bearer ", placeholder: "Paste your Gauge API key" }, kernel: { name: "X-API-Key", prefix: null, @@ -1229,6 +1231,34 @@ const specialMethodsFor = (entry) => { }] } : {}), }), ]; + // Gauge's sign-in picks one organization during consent; an API key is bound + // to the organization that created it and carries no user identity. + if (entry.slug === "gauge") { + const warning = + "Gauge content tools can publish to your connected CMS, including live. Set publish actions to Ask first before agents run unattended."; + // The access step renders the capability profile before sign-in, so the + // publish warning is visible on the default browser path too. + const capabilityProfile = { + key: "write", + label: "Read and write", + description: `Read AI visibility, SEO and traffic data, and run content workflows. ${warning}`, + }; + return [ + oauthMethodFor(entry, "mcp-oauth", entry.serverUrl, { + guidanceMd: + "Connect Gauge in the browser and choose the organization this connection may use. Write tools start enabled and remain governed by Paperclip's action policies.", + warnings: [entry.prerequisite, warning], + capabilityProfile, + }), + apiKeyMethodFor(entry, "mcp-api-key", entry.serverUrl, { + whenToUse: "Use a Gauge organization API key when browser sign-in is not suitable.", + guidanceMd: + "In Gauge, open Settings → Integrations → API Keys, generate a key for Paperclip, and paste it below.", + warnings: [entry.prerequisite, warning], + capabilityProfile, + }), + ]; + } // Superagent's hosted server advertises protected-resource metadata, but its // authorization server publishes no OAuth metadata, so organization API keys // are the only working credential. @@ -1750,7 +1780,7 @@ for (const entry of researchManifest.entries) { schemaVersion: 1, slug: entry.slug, name: entry.name, - description: ({ neon: "Manage Postgres projects and branches, run SQL, and inspect schemas in Neon.", superagent: "Review security findings, start red-team reports, and score content and packages before agents trust them.", mem0: "Remember preferences, conversations, events, and agent state.", zep: "Retrieve temporal graph memory and authorized business context.", supermemory: "Search and save shared memories, documents, and profiles.", honcho: "Remember conversations and retrieve context about peers.", telem: "Search the web and read pages across many search providers with one API key." })[entry.slug] ?? (entry.slug === "fireflies" + description: ({ neon: "Manage Postgres projects and branches, run SQL, and inspect schemas in Neon.", gauge: "Track how AI answers mention your brand, research keywords and traffic, and run content workflows.", superagent: "Review security findings, start red-team reports, and score content and packages before agents trust them.", mem0: "Remember preferences, conversations, events, and agent state.", zep: "Retrieve temporal graph memory and authorized business context.", supermemory: "Search and save shared memories, documents, and profiles.", honcho: "Remember conversations and retrieve context about peers.", telem: "Search the web and read pages across many search providers with one API key." })[entry.slug] ?? (entry.slug === "fireflies" ? "Search meeting transcripts, read summaries and action items, and connect meeting-ready routines." : `Connect ${entry.name}'s provider-hosted MCP server.`), categories: [categoryBySlug[entry.slug] ?? "other"], diff --git a/server/src/__tests__/tool-access-service.test.ts b/server/src/__tests__/tool-access-service.test.ts index ba944f45d45..5da1230161d 100644 --- a/server/src/__tests__/tool-access-service.test.ts +++ b/server/src/__tests__/tool-access-service.test.ts @@ -5214,7 +5214,7 @@ describeEmbeddedPostgres("tool access service", () => { "telem", ]), ); - expect(res.body.apps).toHaveLength(68); + expect(res.body.apps).toHaveLength(69); for (const slug of ["openrouter", "bedrock", "responses-api", "messages-api", "chat-completions-api", "local"]) { expect(res.body.apps.find((app: { slug: string }) => app.slug === slug).tags).toContain("model-provider"); } diff --git a/ui/public/brands/apps/gauge.png b/ui/public/brands/apps/gauge.png new file mode 100644 index 0000000000000000000000000000000000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ND zt4k^P))$vDh5!%h3t{ptCVexy)DI=D=%qYh%v}DW^O`^4{2EJ58QRiYOm0@rgsl;V zP&FKaPHRHF0HvtP6MD3{t%8>7Fvy{RDLaR`-RV28*iKA`ZGti1zYP1m;&2-d2Rp8C z42JV_oo6%AoaZ#B0DcnKv4m8-=BE$OwgD^B!=_El-TMXzKWJhZ^hkl#g5BaDWei@X za7kQ(LYBOnj?dK4wnVhYBXtT&)aiw4!oY14mXIxw`gz?;H(Tcdp%$NV2AbQQfOBoi z-+A$6=Zsj!V4YvCqZ_o@Ve=cx>9{o5vao+e(9Ytbv4Ou{o^@xYdLT7MA!Y8?x}2bN zipl&=D0hA`*lO=sx5d5;j@_L~F(CtZ&D$ ze(r+DsEAuDBj+u)AaWJ0o?ZGWmkTGa2Me(xHDbN07X>K)mTLyG zPsuC%%S^yG@QO=k$c`=CgP`p2xzuYR_Hjut{P1}(CwQ~@ea9&{|N5Ze3a>8s;AT)X zSmN~hFojp1=`U4umkvmQ+lA#hZ=UiDO8%Fsp`aD3MbM)nY7ez<_s)spb|5Rb<$8%D5^kc= z&)iv#mLhp{VA6|57^N9~C&PM~!l1zl@|kLIiq5fl&ND>;5YGugYe-V>4cBo3O1{_Q z_~K2~2pf~O8o zvi{7UT0;T*_dvvn;1oNO$hHCu<{c2cqj>ClWi6%!w@LdXeNAJS%mClQ0p9;}NSprn we|^(r3ICs)+L!-ll=lDc&Ns<-@7~^gZ=XxUdPmLRZglUI = { tagline: "Explore product usage, errors, flags, and experiments.", short: "Sign in with PostHog. Project pinning and access controls are optional.", }, + gauge: { + tagline: "Track your brand in AI answers and run content workflows.", + short: "Sign in with Gauge and pick an organization. API keys are optional.", + }, neon: { tagline: "Manage Postgres projects, branches, and queries.", short: "Sign in with Neon. Project pinning and read-only mode are optional.", diff --git a/ui/src/pages/apps/AppsConnect.test.tsx b/ui/src/pages/apps/AppsConnect.test.tsx index eea8a1fc6fc..14c409e923f 100644 --- a/ui/src/pages/apps/AppsConnect.test.tsx +++ b/ui/src/pages/apps/AppsConnect.test.tsx @@ -65,6 +65,7 @@ const BOX = CONNECTABLE_APP_DEFINITIONS.find((app) => app.slug === "box")!; const POSTHOG = CONNECTABLE_APP_DEFINITIONS.find((app) => app.slug === "posthog")!; const NEON = CONNECTABLE_APP_DEFINITIONS.find((app) => app.slug === "neon")!; const SUPERAGENT = CONNECTABLE_APP_DEFINITIONS.find((app) => app.slug === "superagent")!; +const GAUGE = CONNECTABLE_APP_DEFINITIONS.find((app) => app.slug === "gauge")!; const POSTMAN = CONNECTABLE_APP_DEFINITIONS.find((app) => app.slug === "postman")!; const SHOPIFY = CONNECTABLE_APP_DEFINITIONS.find((app) => app.slug === "shopify")!; const GOOGLE_SHEETS = CONNECTABLE_APP_DEFINITIONS.find((app) => app.slug === "google-sheets")!; @@ -2056,6 +2057,47 @@ describe("AppsConnect — Connect with a link (M4 frame)", () => { })); }); + it("defaults Gauge to browser sign-in and connects an organization API key once entered", async () => { + mockParams.appKey = "gauge"; + listGalleryMock.mockResolvedValueOnce({ apps: [GAUGE] }); + await render(); + // The publish warning must be visible on the default sign-in path, before + // the operator opens Advanced or switches to the API-key method. + expect(container.textContent).toContain("can publish to your connected CMS, including live"); + expect(buttonByText("Continue to sign in")?.disabled).toBe(false); + await openAccessAdvanced(); + + expect(radioContaining("Sign in with Gauge")?.getAttribute("aria-checked")).toBe("true"); + expect(buttonByText("Continue to sign in")?.disabled).toBe(false); + + await act(async () => { + radioContaining("Use an API key")?.dispatchEvent(new MouseEvent("click", { bubbles: true })); + }); + await flushReact(); + + expect(container.textContent).toContain("set publish actions to Ask first"); + const keyInput = container.querySelector('input[type="password"]'); + expect(keyInput).toBeTruthy(); + expect(buttonByText("Connect")?.disabled).toBe(true); + + await act(async () => { + setInputValue(keyInput!, "gauge-test-key"); + }); + await flushReact(); + const submit = buttonByText("Connect"); + expect(submit?.disabled).toBe(false); + await act(async () => { + submit?.dispatchEvent(new MouseEvent("click", { bubbles: true })); + }); + await flushReact(); + + expect(connectAppMock).toHaveBeenCalledWith("company-1", expect.objectContaining({ + galleryKey: "gauge", + connectionMethodKey: "mcp-api-key", + credentialValues: { "credentials.authorization": "gauge-test-key" }, + })); + }); + it("enables Neon's Connect button only once the API key is entered, with pin and read-only optional", async () => { mockParams.appKey = "neon"; listGalleryMock.mockResolvedValueOnce({ apps: [NEON] });