The open-source app everyone uses to manage agents at work
TypeScript acpxagent-orchestrationagent-skillsagentic-aiai-agentsai-engineeringai-governanceai-toolsautonomous-agentsclaudeclaude-codeclaude-skillscodexhermesllmmcpmulti-agentopenclawproject-managementworkflow-automation
feat(apps): add Gauge connection (#15596)
Devin Foley53105d5830f7
diff --git a/doc/connections/CONNECTOR-PERMISSION-AUDIT.md b/doc/connections/CONNECTOR-PERMISSION-AUDIT.mdindex 57f7233283..5f0844ae68 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 sameledger; 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 failurediff --git a/doc/connections/GAUGE.md b/doc/connections/GAUGE.mdnew file mode 100644index 0000000000..39a2d89447--- /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 <key>` 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 <key>`. 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.mdindex 5f5b4d0974..829ff427b5 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.jsonindex f92216c57b..a3618c46d0 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.tsindex 153a509f84..1d9711a5d8 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.tsindex 5a6482dbec..a3d7fa8677 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.tsindex 3167197d00..3687d047de 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.jsonnew file mode 100644index 0000000000..da9d1f2bd1--- /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.jsonindex 83b4601523..c721d572f3 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.mjsindex 42dbb08068..9191eafa9d 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.tsindex ba944f45d4..5da1230161 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.pngnew file mode 100644index 0000000000..6e27551c5eBinary files /dev/null and b/ui/public/brands/apps/gauge.png differdiff --git a/ui/public/brands/apps/manifest.json b/ui/public/brands/apps/manifest.jsonindex c981650dc9..f3cb45de2a 100644--- a/ui/public/brands/apps/manifest.json+++ b/ui/public/brands/apps/manifest.json@@ -140,6 +140,12 @@"catalogVisible": true,"localAsset": "/brands/apps/executor.png"},+ {+ "slug": "gauge",+ "provider": "Gauge",+ "catalogVisible": true,+ "localAsset": "/brands/apps/gauge.png"+ },{"slug": "github","provider": "GitHub",diff --git a/ui/src/lib/app-gallery-copy.ts b/ui/src/lib/app-gallery-copy.tsindex 33ae068ac0..8594e47514 100644--- a/ui/src/lib/app-gallery-copy.ts+++ b/ui/src/lib/app-gallery-copy.ts@@ -74,6 +74,10 @@ const APP_COPY: Record<string, AppCopy> = {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.tsxindex eea8a1fc6f..14c409e923 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<HTMLInputElement>('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] });