The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.
TypeScript 3d-modelingagent-frameworkagent-harnessai-agentscadclaude-codecodexcoding-agentsdeveloper-toolsesp32game-developmentmcp-servermulti-agentopen-hardwareopencodeopenharnesspcbroboticsterminaltmux
feat(os): Connectors follow the Grid app's list
bubu-dudubbf6d55c3bc9
diff --git a/os/README.md b/os/README.mdindex 87cd7dabc..5feb0d01f 100644--- a/os/README.md+++ b/os/README.md@@ -82,9 +82,9 @@ for requirements and remaining work.Open **Connections** from the browser's New Tab page, or run `harness connections`.The local start page is removable in Chromium's extension settings and preservesexisting New Tab customizations. Sign in to a service on the local Connectors page.-21 services (Linear, Notion, Canva, Atlassian, GitLab,-Figma…) sign in directly from this computer; GitHub, Slack, Google, Microsoft-365 and a few others sign in through the Harness account. Claude Code, Codex+The list is the Grid app's: 78 services (Linear, Notion, Canva, Atlassian,+GitLab, Miro…) sign in directly from this computer; GitHub, Slack, Google,+Figma and a few others sign in through the Harness account. Claude Code, Codexand OpenCode then get each service as an MCP server on a local bridge, whichadds the credential and renews it before it expires. Tokens stay outsideprojects and agent configuration. See [Connections](connectors/README.md).diff --git a/os/connectors/README.md b/os/connectors/README.mdindex cdc0a0d11..66672d92a 100644--- a/os/connectors/README.md+++ b/os/connectors/README.md@@ -18,6 +18,16 @@ harness connections disconnect linearharness connections call github GET https://api.github.com/user```+## Which services++The list is the Grid app's: the connector gateway's `GET /v1/grid/connectors`.+Signed in (`harness login`), the page follows that live list; signed out or+offline it shows the bundled snapshot, `catalog.json`, limited to the services+this computer signs in to by itself. `os/tools/update-connector-catalog.py`+rebuilds the snapshot and its icons from the gateway. Codes are Grid's; a+connection saved under an earlier code (`apollo`, `supermetrics_marketing`) is+read under Grid's (`apollo_io`, `supermetrics`).+## Two ways to sign in`catalog.json` lists every service with its `auth`.@@ -28,11 +38,9 @@ registers a public client for this computer (RFC 7591, `clients.json`), opensthe service's consent page with PKCE S256 and receives the code on`http://127.0.0.1:51789-51792/callback`. No client secret ships with Harness andno Autonomous server is involved. Renewal goes straight to the service's token-endpoint. 21 services, checked against their live metadata on 2026-10-08:--Ahrefs, Airtable, Amplitude, Apollo.io, Atlassian (Jira, Confluence), Attio,-Canva, ClickUp, Datadog, Figma, GitLab, Intercom, Klaviyo, Linear, monday.com,-Notion, Sentry, Stripe, Supabase, Supermetrics, Vercel.+endpoint. 78 of Grid's 86 services (2026-10-09): every one Grid marks `dcr`,+plus Linear, Notion, Amplitude and monday.com, which Grid signs in through its+gateway but whose MCP servers also allow self-registration.**`app`: through the Autonomous connector gateway.** These services do not leta computer register itself, so the OAuth app Autonomous registered with them is@@ -43,8 +51,9 @@ renews tokens (`/connectors/refresh`). It needs the Harness sign-inout, the page says so instead of offering Connect. A service the gateway doesnot offer to this account shows "Not available yet".-GitHub, Slack, Asana, HubSpot, PagerDuty, Gmail, Google Calendar, Google Drive,-BigQuery, Microsoft 365.+GitHub, Slack, Asana, HubSpot, Gmail, Google Calendar, Google Drive, Figma+(`figma-api-app`). Signed out, these are not listed; the page says+`harness login` shows them.**Add custom** takes any remote MCP server URL: one that asks for sign-in uses the`dcr` path, one with static headers (a personal token) is saved as given.diff --git a/os/connectors/catalog.json b/os/connectors/catalog.jsonindex 290ac9446..b096b5017 100644--- a/os/connectors/catalog.json+++ b/os/connectors/catalog.json@@ -1,36 +1,603 @@{- "_note": "auth: dcr = this computer registers its own OAuth client with the service's MCP server (RFC 7591) and signs in through 127.0.0.1; app = the service has no self-registration, so sign-in goes through the Autonomous connector gateway with the Harness account. Checked against each MCP server's OAuth metadata on 2026-10-08.",- "connectors": [- {"code": "ahrefs", "label": "Ahrefs", "auth": "dcr", "mcp_url": "https://api.ahrefs.com/mcp/mcp", "color": "#ff8800", "description": "SEO data: backlinks, keywords, rankings and site audits from your Ahrefs account."},- {"code": "airtable", "label": "Airtable", "auth": "dcr", "mcp_url": "https://mcp.airtable.com/mcp", "color": "#fcb400", "description": "Bases, tables and records in your Airtable workspace: read them and add to them."},- {"code": "amplitude", "label": "Amplitude", "auth": "dcr", "mcp_url": "https://mcp.amplitude.com/mcp", "color": "#1e61f0", "description": "Product analytics: charts, funnels and user behaviour from your Amplitude projects."},- {"code": "apollo", "label": "Apollo.io", "auth": "dcr", "mcp_url": "https://mcp.apollo.io/mcp", "color": "#ebf212", "description": "Contacts, accounts and sequences in your Apollo.io workspace."},- {"code": "asana", "label": "Asana", "auth": "app", "color": "#f06a6a", "description": "Tasks, projects and workloads across your Asana workspaces."},- {"code": "atlassian", "label": "Atlassian", "auth": "dcr", "mcp_url": "https://mcp.atlassian.com/v1/mcp", "color": "#0c66e4", "description": "Jira issues and Confluence pages across your Atlassian sites."},- {"code": "attio", "label": "Attio", "auth": "dcr", "mcp_url": "https://mcp.attio.com/mcp", "color": "#a8a8a8", "description": "Records, lists and notes in your Attio CRM."},- {"code": "canva", "label": "Canva", "auth": "dcr", "mcp_url": "https://mcp.canva.com/mcp", "color": "#7d2ae8", "description": "Designs, brand templates and assets in your Canva account, so the agent can find them and make new ones."},- {"code": "clickup", "label": "ClickUp", "auth": "dcr", "mcp_url": "https://mcp.clickup.com/mcp", "color": "#7b68ee", "description": "Tasks, docs and spaces in your ClickUp workspace."},- {"code": "datadog", "label": "Datadog", "auth": "dcr", "mcp_url": "https://mcp.datadoghq.com/api/unstable/mcp-server/mcp", "color": "#632ca6", "description": "Logs, metrics, monitors and incidents from your Datadog organisation."},- {"code": "figma", "label": "Figma", "auth": "dcr", "mcp_url": "https://mcp.figma.com/mcp", "color": "#f24e1e", "description": "Files, frames and design context from your Figma account."},- {"code": "github", "label": "GitHub", "auth": "app", "color": "#6e7681", "description": "Repositories, issues and pull requests on GitHub, including code search."},- {"code": "gitlab", "label": "GitLab", "auth": "dcr", "mcp_url": "https://gitlab.com/api/v4/mcp", "color": "#fc6d26", "description": "Projects, issues, merge requests and pipelines on GitLab.com."},- {"code": "gmail", "label": "Gmail", "auth": "app", "color": "#ea4335", "description": "Read, search and draft email in your Gmail account."},- {"code": "google_bigquery", "label": "BigQuery", "auth": "app", "color": "#4285f4", "description": "Datasets and SQL queries in your Google BigQuery projects."},- {"code": "google_calendar", "label": "Google Calendar", "auth": "app", "color": "#1a73e8", "description": "Events and availability in your Google Calendar."},- {"code": "google_drive", "label": "Google Drive", "auth": "app", "color": "#0f9d58", "description": "Files and folders in your Google Drive."},- {"code": "hubspot", "label": "HubSpot", "auth": "app", "color": "#ff7a59", "description": "Contacts, companies and deals in your HubSpot CRM."},- {"code": "intercom", "label": "Intercom", "auth": "dcr", "mcp_url": "https://mcp.intercom.com/mcp", "color": "#1f8ded", "description": "Conversations, contacts and help articles in your Intercom workspace."},- {"code": "klaviyo", "label": "Klaviyo", "auth": "dcr", "mcp_url": "https://mcp.klaviyo.com/mcp", "color": "#3d3d3d", "description": "Campaigns, flows, lists and metrics in your Klaviyo account."},- {"code": "linear", "label": "Linear", "auth": "dcr", "mcp_url": "https://mcp.linear.app/mcp", "color": "#5e6ad2", "description": "Issues, projects and cycles in your Linear workspace."},- {"code": "microsoft_365", "label": "Microsoft 365", "auth": "app", "color": "#d83b01", "description": "Outlook mail and calendar, OneDrive and SharePoint files in your Microsoft 365 account."},- {"code": "mondaydotcom", "label": "monday.com", "auth": "dcr", "mcp_url": "https://mcp.monday.com/mcp", "color": "#ff3d57", "description": "Boards, items and updates in your monday.com account."},- {"code": "notion", "label": "Notion", "auth": "dcr", "mcp_url": "https://mcp.notion.com/mcp", "color": "#9b9a97", "description": "Pages and databases in your Notion workspace: search, read and write."},- {"code": "pagerduty", "label": "PagerDuty", "auth": "app", "color": "#06ac38", "description": "Incidents, services and on-call schedules in PagerDuty."},- {"code": "sentry", "label": "Sentry", "auth": "dcr", "mcp_url": "https://mcp.sentry.dev/mcp", "color": "#8d5494", "description": "Issues, errors and releases from your Sentry organisation."},- {"code": "slack", "label": "Slack", "auth": "app", "color": "#e01e5a", "description": "Channels, messages and people in your Slack workspace."},- {"code": "stripe", "label": "Stripe", "auth": "dcr", "mcp_url": "https://mcp.stripe.com", "color": "#635bff", "description": "Customers, payments, invoices and subscriptions in your Stripe account."},- {"code": "supabase", "label": "Supabase", "auth": "dcr", "mcp_url": "https://mcp.supabase.com/mcp", "color": "#3ecf8e", "description": "Projects, databases, tables and edge functions in your Supabase organisation."},- {"code": "supermetrics_marketing", "label": "Supermetrics", "auth": "dcr", "mcp_url": "https://mcp.supermetrics.com/mcp", "color": "#5e2bff", "description": "Marketing data from your ad, analytics and social accounts through Supermetrics."},- {"code": "vercel", "label": "Vercel", "auth": "dcr", "mcp_url": "https://mcp.vercel.com", "color": "#a3a3a3", "description": "Projects, deployments and logs on Vercel."}- ]+ "_note": "Generated by os/tools/update-connector-catalog.py from the Grid connector gateway (GET /v1/grid/connectors), the list the Grid app shows. auth: dcr = this computer registers its own OAuth client with the service's MCP server (RFC 7591) and signs in through 127.0.0.1; app = the service has no self-registration, so sign-in goes through the gateway with the Harness account. Grid's app services that also allow self-registration (Linear, Notion, Amplitude, monday.com) sign in from the computer. Snapshot of 2026-10-09; with a Harness sign-in the page follows the gateway's live list.",+ "connectors": [+ {+ "code": "ahrefs",+ "label": "Ahrefs",+ "auth": "dcr",+ "description": "SEO data — backlinks, keywords, rankings and site audits from your Ahrefs account.",+ "mcp_url": "https://api.ahrefs.com/mcp/mcp"+ },+ {+ "code": "airtable",+ "label": "Airtable",+ "auth": "dcr",+ "description": "Bases, tables and records in your Airtable workspace — read them and add to them.",+ "mcp_url": "https://mcp.airtable.com/mcp"+ },+ {+ "code": "amplitude",+ "label": "Amplitude",+ "auth": "dcr",+ "description": "Product analytics: charts, funnels and user behaviour from your Amplitude projects.",+ "mcp_url": "https://mcp.amplitude.com/mcp"+ },+ {+ "code": "apollo_io",+ "label": "Apollo.io",+ "auth": "dcr",+ "description": "Contacts, accounts and sequences in your Apollo.io workspace.",+ "mcp_url": "https://mcp.apollo.io/mcp"+ },+ {+ "code": "asana",+ "label": "Asana",+ "auth": "app",+ "description": "Tasks, projects and workloads across your Asana workspaces.",+ "mcp_url": "https://mcp.asana.com/v2/mcp"+ },+ {+ "code": "atlassian",+ "label": "Atlassian",+ "auth": "dcr",+ "description": "Jira issues and Confluence pages across your Atlassian sites.",+ "mcp_url": "https://mcp.atlassian.com/v1/mcp/authv2"+ },+ {+ "code": "attio",+ "label": "Attio",+ "auth": "dcr",+ "description": "Records, lists and notes in your Attio CRM.",+ "mcp_url": "https://mcp.attio.com/mcp"+ },+ {+ "code": "brex",+ "label": "Brex",+ "auth": "dcr",+ "description": "Cards, expenses and transactions in your Brex account.",+ "mcp_url": "https://api.brex.com/mcp"+ },+ {+ "code": "canva",+ "label": "Canva",+ "auth": "dcr",+ "description": "Designs, brand templates and assets in your Canva account, so the assistant can find them and make new ones.",+ "mcp_url": "https://mcp.canva.com/mcp"+ },+ {+ "code": "carta",+ "label": "Carta",+ "auth": "dcr",+ "description": "Cap table, stakeholders and equity grants in Carta.",+ "mcp_url": "https://mcp.app.carta.com/mcp"+ },+ {+ "code": "clay",+ "label": "Clay",+ "auth": "dcr",+ "description": "Enrichment tables and prospect research in your Clay workspace.",+ "mcp_url": "https://api.clay.com/v3/mcp"+ },+ {+ "code": "clickup",+ "label": "ClickUp",+ "auth": "dcr",+ "description": "Tasks, lists, docs and spaces in your ClickUp workspace.",+ "mcp_url": "https://mcp.clickup.com/mcp"+ },+ {+ "code": "close",+ "label": "Close",+ "auth": "dcr",+ "description": "Leads, opportunities and activity in your Close CRM.",+ "mcp_url": "https://mcp.close.com/mcp"+ },+ {+ "code": "cloudflare",+ "label": "Cloudflare",+ "auth": "dcr",+ "description": "Your Cloudflare account — Workers and their bindings, D1 databases, KV, R2, DNS and the docs.",+ "mcp_url": "https://mcp.cloudflare.com/mcp"+ },+ {+ "code": "cloudinary",+ "label": "Cloudinary",+ "auth": "dcr",+ "description": "Images and video in your Cloudinary account — search assets and read their metadata.",+ "mcp_url": "https://asset-management.mcp.cloudinary.com/sse"+ },+ {+ "code": "coindesk",+ "label": "CoinDesk",+ "auth": "dcr",+ "description": "Crypto market data and news from CoinDesk — prices, indices and coverage.",+ "mcp_url": "https://mcp.coindesk.com/mcp"+ },+ {+ "code": "context7",+ "label": "Context7",+ "auth": "dcr",+ "description": "Up-to-date documentation for thousands of libraries and frameworks, fetched per version.",+ "mcp_url": "https://mcp.context7.com/mcp"+ },+ {+ "code": "craft",+ "label": "Craft",+ "auth": "dcr",+ "description": "Documents and spaces in your Craft account — read them, search them and add to them.",+ "mcp_url": "https://mcp.craft.do/my/mcp"+ },+ {+ "code": "crypto_com",+ "label": "Crypto.com",+ "auth": "dcr",+ "description": "Live market data from the Crypto.com Exchange — tickers, order book, trades and candles. Needs no account.",+ "mcp_url": "https://mcp.crypto.com/market-data/mcp"+ },+ {+ "code": "deepwiki",+ "label": "DeepWiki",+ "auth": "dcr",+ "description": "Generated documentation for public GitHub repositories — structure, contents and questions about them. Needs no account.",+ "mcp_url": "https://mcp.deepwiki.com/mcp"+ },+ {+ "code": "egnyte",+ "label": "Egnyte",+ "auth": "dcr",+ "description": "Files and folders in your Egnyte account.",+ "mcp_url": "https://mcp-server.egnyte.com/mcp"+ },+ {+ "code": "eraser",+ "label": "Eraser",+ "auth": "dcr",+ "description": "Diagrams and design docs in Eraser — read them and generate new ones.",+ "mcp_url": "https://app.eraser.io/api/mcp"+ },+ {+ "code": "exa",+ "label": "Exa",+ "auth": "dcr",+ "description": "Neural web search built for AI — find pages, papers and companies by meaning rather than keywords.",+ "mcp_url": "https://mcp.exa.ai/mcp"+ },+ {+ "code": "figma-api-app",+ "label": "Figma",+ "auth": "app",+ "description": "Files, comments and projects from your Figma account."+ },+ {+ "code": "fireflies",+ "label": "Fireflies",+ "auth": "dcr",+ "description": "Meeting recordings, transcripts and summaries from Fireflies.",+ "mcp_url": "https://api.fireflies.ai/mcp"+ },+ {+ "code": "github",+ "label": "GitHub",+ "auth": "app",+ "description": "Repositories, issues and pull requests on GitHub, including code search.",+ "mcp_url": "https://api.githubcopilot.com/mcp/"+ },+ {+ "code": "gitlab",+ "label": "GitLab",+ "auth": "dcr",+ "description": "Projects, issues and merge requests on GitLab, including the code inside them.",+ "mcp_url": "https://gitlab.com/api/v4/mcp"+ },+ {+ "code": "globalping",+ "label": "Globalping",+ "auth": "dcr",+ "description": "Network measurements from probes worldwide — ping, traceroute, DNS and HTTP checks.",+ "mcp_url": "https://mcp.globalping.dev/mcp"+ },+ {+ "code": "gmail",+ "label": "Gmail",+ "auth": "app",+ "description": "Send email from your Gmail account. Sending is all it does: it cannot read, search or list your mailbox."+ },+ {+ "code": "google_calendar",+ "label": "Google Calendar",+ "auth": "app",+ "description": "Your main Google Calendar: see what is coming up, add an event, delete one. Events only, on that one calendar — it cannot change an event once created."+ },+ {+ "code": "google_drive",+ "label": "Google Drive",+ "auth": "app",+ "description": "Files Grid creates in your Google Drive: write a new one, read it back, list them, delete them. It reaches only what Grid itself made — not the rest of your Drive."+ },+ {+ "code": "granola",+ "label": "Granola",+ "auth": "dcr",+ "description": "Meeting notes and transcripts in your Granola account.",+ "mcp_url": "https://mcp.granola.ai/mcp"+ },+ {+ "code": "guru",+ "label": "Guru",+ "auth": "dcr",+ "description": "Search your team knowledge in Guru — cards, collections and answers.",+ "mcp_url": "https://mcp.api.getguru.com/mcp"+ },+ {+ "code": "gusto",+ "label": "Gusto",+ "auth": "dcr",+ "description": "Payroll, employees and benefits in your Gusto account.",+ "mcp_url": "https://mcp.api.gusto.com/anthropic"+ },+ {+ "code": "harmonic",+ "label": "Harmonic",+ "auth": "dcr",+ "description": "Startup and company intelligence from Harmonic.",+ "mcp_url": "https://mcp.api.harmonic.ai"+ },+ {+ "code": "hex",+ "label": "Hex",+ "auth": "dcr",+ "description": "Notebooks, queries and data apps in your Hex workspace.",+ "mcp_url": "https://app.hex.tech/mcp"+ },+ {+ "code": "honeycomb",+ "label": "Honeycomb",+ "auth": "dcr",+ "description": "Traces, events and SLOs in your Honeycomb environments.",+ "mcp_url": "https://mcp.honeycomb.io/mcp"+ },+ {+ "code": "hubspot",+ "label": "HubSpot",+ "auth": "app",+ "description": "Contacts, companies and deals in your HubSpot CRM.",+ "mcp_url": "https://mcp.hubspot.com"+ },+ {+ "code": "huggingface",+ "label": "Hugging Face",+ "auth": "dcr",+ "description": "Models, datasets and Spaces on the Hugging Face Hub. Used anonymously, so rate limits apply.",+ "mcp_url": "https://huggingface.co/mcp"+ },+ {+ "code": "ifttt",+ "label": "IFTTT",+ "auth": "dcr",+ "description": "Trigger the applets you have set up in IFTTT.",+ "mcp_url": "https://ifttt.com/mcp"+ },+ {+ "code": "incident_io",+ "label": "incident.io",+ "auth": "dcr",+ "description": "Incidents, follow-ups and on-call schedules in incident.io.",+ "mcp_url": "https://mcp.incident.io/mcp"+ },+ {+ "code": "indeed",+ "label": "Indeed",+ "auth": "dcr",+ "description": "Job postings and candidate activity on your Indeed employer account.",+ "mcp_url": "https://mcp.indeed.com/claude/mcp"+ },+ {+ "code": "jam",+ "label": "Jam",+ "auth": "dcr",+ "description": "Bug reports captured with Jam — repro steps, console logs and network traces.",+ "mcp_url": "https://mcp.jam.dev/mcp"+ },+ {+ "code": "klaviyo",+ "label": "Klaviyo",+ "auth": "dcr",+ "description": "Campaigns, flows, lists and metrics in your Klaviyo account.",+ "mcp_url": "https://mcp.klaviyo.com/mcp"+ },+ {+ "code": "linear",+ "label": "Linear",+ "auth": "dcr",+ "description": "Issues, projects and cycles in your Linear workspace.",+ "mcp_url": "https://mcp.linear.app/mcp"+ },+ {+ "code": "mailerlite",+ "label": "MailerLite",+ "auth": "dcr",+ "description": "Subscribers, campaigns and automations in MailerLite.",+ "mcp_url": "https://mcp.mailerlite.com/mcp"+ },+ {+ "code": "make",+ "label": "Make",+ "auth": "dcr",+ "description": "Scenarios and connected apps in your Make account.",+ "mcp_url": "https://mcp.make.com"+ },+ {+ "code": "mercury",+ "label": "Mercury",+ "auth": "dcr",+ "description": "Accounts, transactions and payments in your Mercury banking account.",+ "mcp_url": "https://mcp.mercury.com/mcp"+ },+ {+ "code": "mintlify",+ "label": "Mintlify",+ "auth": "dcr",+ "description": "Search the documentation sites your team publishes with Mintlify.",+ "mcp_url": "https://mcp.mintlify.com"+ },+ {+ "code": "miro",+ "label": "Miro",+ "auth": "dcr",+ "description": "Boards in Miro — read what is on them and add to them.",+ "mcp_url": "https://mcp.miro.com/"+ },+ {+ "code": "mixpanel",+ "label": "Mixpanel",+ "auth": "dcr",+ "description": "Product analytics: events, funnels and retention from your Mixpanel projects.",+ "mcp_url": "https://mcp.mixpanel.com/mcp"+ },+ {+ "code": "mondaydotcom",+ "label": "monday.com",+ "auth": "dcr",+ "description": "Boards, items and updates in your monday.com account.",+ "mcp_url": "https://mcp.monday.com/mcp"+ },+ {+ "code": "motherduck",+ "label": "MotherDuck",+ "auth": "dcr",+ "description": "DuckDB databases in the cloud — run queries and inspect schema.",+ "mcp_url": "https://api.motherduck.com/mcp"+ },+ {+ "code": "motion",+ "label": "Motion",+ "auth": "dcr",+ "description": "Tasks, projects and the auto-scheduled calendar in your Motion workspace.",+ "mcp_url": "https://projects.motionapp.com/mcp"+ },+ {+ "code": "neon",+ "label": "Neon",+ "auth": "dcr",+ "description": "Postgres databases on Neon — branches, queries and schema.",+ "mcp_url": "https://mcp.neon.tech/mcp"+ },+ {+ "code": "netlify",+ "label": "Netlify",+ "auth": "dcr",+ "description": "Sites, deploys, build logs and environment variables on Netlify.",+ "mcp_url": "https://netlify-mcp.netlify.app/mcp"+ },+ {+ "code": "notion",+ "label": "Notion",+ "auth": "dcr",+ "description": "Notion description abcd",+ "mcp_url": "https://mcp.notion.com/mcp"+ },+ {+ "code": "openrouter",+ "label": "OpenRouter",+ "auth": "dcr",+ "description": "Models, pricing and usage on your OpenRouter account.",+ "mcp_url": "https://mcp.openrouter.ai/mcp"+ },+ {+ "code": "otter_ai",+ "label": "Otter.ai",+ "auth": "dcr",+ "description": "Meeting transcripts and summaries in your Otter.ai account.",+ "mcp_url": "https://mcp.otter.ai/mcp"+ },+ {+ "code": "paypal",+ "label": "PayPal",+ "auth": "dcr",+ "description": "Invoices, orders, payments and disputes in your PayPal account.",+ "mcp_url": "https://mcp.paypal.com/mcp"+ },+ {+ "code": "planetscale",+ "label": "PlanetScale",+ "auth": "dcr",+ "description": "MySQL databases on PlanetScale — branches, schema and queries.",+ "mcp_url": "https://mcp.pscale.dev/mcp/planetscale"+ },+ {+ "code": "posthog",+ "label": "PostHog",+ "auth": "dcr",+ "description": "Product analytics — events, funnels, session recordings and feature flags.",+ "mcp_url": "https://mcp.posthog.com/mcp"+ },+ {+ "code": "postman",+ "label": "Postman",+ "auth": "dcr",+ "description": "Collections, environments and APIs in your Postman workspaces.",+ "mcp_url": "https://mcp.postman.com/minimal"+ },+ {+ "code": "prisma",+ "label": "Prisma",+ "auth": "dcr",+ "description": "Prisma Postgres databases — schema, migrations and queries.",+ "mcp_url": "https://mcp.prisma.io/mcp"+ },+ {+ "code": "pylon",+ "label": "Pylon",+ "auth": "dcr",+ "description": "Customer conversations, issues and accounts in Pylon.",+ "mcp_url": "https://mcp.usepylon.com/"+ },+ {+ "code": "railway",+ "label": "Railway",+ "auth": "dcr",+ "description": "Projects, services, deployments and logs on Railway.",+ "mcp_url": "https://mcp.railway.com"+ },+ {+ "code": "ramp",+ "label": "Ramp",+ "auth": "dcr",+ "description": "Cards, spend and reimbursements in your Ramp account.",+ "mcp_url": "https://ramp-mcp-remote.ramp.com/mcp"+ },+ {+ "code": "razorpay",+ "label": "Razorpay",+ "auth": "dcr",+ "description": "Payments, orders, settlements and refunds in your Razorpay account.",+ "mcp_url": "https://mcp.razorpay.com/mcp"+ },+ {+ "code": "sanity",+ "label": "Sanity",+ "auth": "dcr",+ "description": "Content and datasets in your Sanity projects — query them and write back.",+ "mcp_url": "https://mcp.sanity.io"+ },+ {+ "code": "semrush",+ "label": "Semrush",+ "auth": "dcr",+ "description": "Keyword, traffic and competitor data from your Semrush account.",+ "mcp_url": "https://mcp.semrush.com/claude/v1/mcp"+ },+ {+ "code": "sentry",+ "label": "Sentry",+ "auth": "dcr",+ "description": "Errors, issues and releases across your Sentry projects.",+ "mcp_url": "https://mcp.sentry.dev/mcp"+ },+ {+ "code": "slack",+ "label": "Slack",+ "auth": "app",+ "description": "Channels, messages and people in your Slack workspace.",+ "mcp_url": "https://mcp.slack.com/mcp"+ },+ {+ "code": "square",+ "label": "Square",+ "auth": "dcr",+ "description": "Payments, catalog, orders and customers in your Square account.",+ "mcp_url": "https://mcp.squareup.com/sse"+ },+ {+ "code": "stripe",+ "label": "Stripe",+ "auth": "dcr",+ "description": "Payments, customers, invoices and subscriptions in your Stripe account.",+ "mcp_url": "https://mcp.stripe.com"+ },+ {+ "code": "supabase",+ "label": "Supabase",+ "auth": "dcr",+ "description": "Postgres databases, edge functions and project settings on Supabase.",+ "mcp_url": "https://mcp.supabase.com/mcp"+ },+ {+ "code": "supermetrics",+ "label": "Supermetrics",+ "auth": "dcr",+ "description": "Marketing data pulled together from ad platforms and analytics tools.",+ "mcp_url": "https://mcp.supermetrics.com/mcp"+ },+ {+ "code": "surveymonkey",+ "label": "SurveyMonkey",+ "auth": "dcr",+ "description": "Surveys and responses in your SurveyMonkey account.",+ "mcp_url": "https://mcp.surveymonkey.com/mcp"+ },+ {+ "code": "tavily",+ "label": "Tavily",+ "auth": "dcr",+ "description": "Web search and page extraction tuned for assistants: search the live web and read what comes back.",+ "mcp_url": "https://mcp.tavily.com/mcp"+ },+ {+ "code": "todoist",+ "label": "Todoist",+ "auth": "dcr",+ "description": "Tasks, projects and labels in your Todoist account.",+ "mcp_url": "https://ai.todoist.net/mcp"+ },+ {+ "code": "vercel",+ "label": "Vercel",+ "auth": "dcr",+ "description": "Projects, deployments and build logs on Vercel.",+ "mcp_url": "https://mcp.vercel.com"+ },+ {+ "code": "webflow",+ "label": "Webflow",+ "auth": "dcr",+ "description": "Sites, CMS collections and items in your Webflow account.",+ "mcp_url": "https://mcp.webflow.com/mcp"+ },+ {+ "code": "wix",+ "label": "Wix",+ "auth": "dcr",+ "description": "Sites, stores and business data in your Wix account.",+ "mcp_url": "https://mcp.wix.com/mcp"+ },+ {+ "code": "wordpress_com",+ "label": "WordPress.com",+ "auth": "dcr",+ "description": "Posts, pages and media on your WordPress.com sites.",+ "mcp_url": "https://public-api.wordpress.com/wpcom/v2/mcp/v1"+ },+ {+ "code": "workable",+ "label": "Workable",+ "auth": "dcr",+ "description": "Jobs, candidates and hiring pipelines in Workable.",+ "mcp_url": "https://mcp.workable.com/mcp"+ },+ {+ "code": "yahoo_finance",+ "label": "Yahoo Finance (mcpservers.org)",+ "auth": "dcr",+ "description": "Quotes, price history and company data for public markets. Run by mcpservers.org, not by Yahoo — every query goes through their server. Needs no account.",+ "mcp_url": "https://gateway.mcpservers.org/yahoo-finance/mcp"+ },+ {+ "code": "zapier",+ "label": "Zapier",+ "auth": "dcr",+ "description": "Run the Zaps and app actions you have connected in Zapier — thousands of services behind one connector.",+ "mcp_url": "https://mcp.zapier.com/api/v1/connect"+ }+ ]}diff --git a/os/connectors/connection_store.py b/os/connectors/connection_store.pyindex 3ec1aa709..15192ec21 100644--- a/os/connectors/connection_store.py+++ b/os/connectors/connection_store.py@@ -39,6 +39,8 @@ def load_catalog():CATALOG = load_catalog()SERVICES = {code: item["label"] for code, item in CATALOG.items()}+# Codes saved before the catalog followed Grid's, and Grid's code for them now.+RENAMED = {"apollo": "apollo_io", "supermetrics_marketing": "supermetrics"}def validate_code(code):@@ -215,16 +217,19 @@ class Store:result = {}for code, entry in data.items():if isinstance(code, str) and CODE.fullmatch(code):- result[code] = clean_token(entry)+ result.setdefault(RENAMED.get(code, code), clean_token(entry))return resultdef token(self, code):- return self.tokens().get(validate_code(code))+ return self.tokens().get(RENAMED.get(validate_code(code), code))def put(self, code, entry):"""Save one connection, replacing it. Call under locked()."""validate_code(code)data = self.file("tokens.json")+ for old, new in RENAMED.items():+ if new == code:+ data.pop(old, None) # Saved again under its current code.data[code] = clean_token(entry)write_private(self.root / "tokens.json", data)@@ -234,9 +239,10 @@ class Store:def disconnect(self, code):validate_code(code)+ names = {code} | {old for old, new in RENAMED.items() if new == code}with locked(self.root):data = self.file("tokens.json")- if data.pop(code, None) is not None:+ if [data.pop(name) for name in names if name in data]:write_private(self.root / "tokens.json", data)def client(self, issuer):diff --git a/os/connectors/connections.py b/os/connectors/connections.pyindex 5cf7e3697..9846f4f10 100644--- a/os/connectors/connections.py+++ b/os/connectors/connections.py@@ -51,11 +51,38 @@ def custom_code(name, taken):return store.validate_code(code)-def sign_in_for(vault, code):+def services(offered=None):+ """{code: item} the page offers. Signed in, the gateway's live list (the Grid+ app's); otherwise the bundled snapshot. A service either list says can sign in+ from this computer does so; one that needs the gateway is shown only when the+ gateway offers it, or when it cannot be asked (offline)."""+ signed_in = gateway.session() is not None+ items = {}+ for code, item in store.CATALOG.items():+ if item["auth"] == "dcr" or (signed_in and not offered):+ items[code] = dict(item)+ for code, row in (offered or {}).items():+ auth, url = row.get("auth_type"), row.get("mcp_url") or ""+ if auth not in ("app", "dcr") or not store.CODE.fullmatch(code):+ continue+ item = items.get(code) or dict(store.CATALOG.get(code) or {"code": code, "description": ""})+ if item.get("auth") != "dcr":+ item["auth"] = auth+ if url and (auth == "dcr" or not item.get("mcp_url")):+ item["mcp_url"] = url+ item["label"] = row.get("label") or item.get("label") or code+ item["description"] = row.get("description") or item.get("description", "")+ if item["auth"] == "dcr" and not item.get("mcp_url"):+ continue+ items[code] = item+ return items+++def sign_in_for(vault, code, items=None):"""The sign-in that connects CODE: the gateway's or this computer's own."""- item = store.CATALOG.get(code)+ item = (items if items is not None else services(gateway.available())).get(code)if item is None:- raise store.StoreError("Unknown connection.")+ raise store.StoreError("This service is not available. Run harness login to see every service.")if item["auth"] == "app":return gateway.SignIn(code)return oauth.SignIn(vault, item["mcp_url"])@@ -118,27 +145,24 @@ class Flows:def catalog(vault, offered=None):"""The page's cards: every service, connected first, then custom servers."""tokens = vault.tokens()- signed_in = gateway.session() is not None- offered = offered or {}+ known = services(offered)items = []- for code, item in store.CATALOG.items():+ for code, item in known.items():card = vault.status(code, tokens.get(code) or {})- card.update(description=item["description"], color=item["color"], auth=item["auth"], custom=False, reason="",+ card.update(name=item["label"], description=item["description"], auth=item["auth"], custom=False,icon="/icons/" + ICONS[code] if code in ICONS else "")- if item["auth"] == "app" and card["state"] == "not_connected":- if not signed_in:- card["reason"] = "Needs harness login"- elif offered and code not in offered:- card["reason"] = "Not available yet."items.append(card)for code, token in tokens.items():- if code in store.CATALOG:+ if code in known:continue+ # Connected earlier, or added by hand: still shown so it can be disconnected.card = vault.status(code, token)- card.update(description=token.get("mcp_entry", {}).get("url", ""), color="#59634b", auth="custom", custom=True,- reason="", icon="")+ custom = token.get("source") == "custom"+ card.update(description=store.CATALOG.get(code, {}).get("description") or token.get("mcp_entry", {}).get("url", ""),+ auth="custom" if custom else token.get("source", "dcr"), custom=custom,+ icon="/icons/" + ICONS[code] if code in ICONS else "")items.append(card)- return {"connections": items, "signed_in": signed_in}+ return {"connections": items, "signed_in": gateway.session() is not None}class PageServer(ThreadingHTTPServer):@@ -254,7 +278,7 @@ class PageHandler(BaseHTTPRequestHandler):vault = self.server.vaultif self.path == "/api/connect":code = store.validate_code(data.get("connector"))- result = self.server.flows.start(code, sign_in_for(vault, code))+ result = self.server.flows.start(code, sign_in_for(vault, code, services(self.server.gateway_offers())))elif self.path == "/api/custom":result = self.custom(data)elif self.path == "/api/disconnect":@@ -356,13 +380,15 @@ def open_page():def connect_here(code):"""Sign in from the terminal: the same flow as the page, waited for here."""vault = store.Store()- sign_in = sign_in_for(vault, store.validate_code(code))+ code = store.RENAMED.get(store.validate_code(code), code)+ items = services(gateway.available())+ sign_in = sign_in_for(vault, code, items)url = sign_in.prepare()if url:print("Opening the sign-in page. If it does not open, visit:\n" + url, flush=True)browse(url)finish(vault, code, sign_in.wait())- print(f"{store.SERVICES[code]} connected. Agents can use it now.")+ print(f"{items[code]['label']} connected. Agents can use it now.")return 0diff --git a/os/connectors/connector.py b/os/connectors/connector.pyindex 398ced0c6..0e707712f 100644--- a/os/connectors/connector.py+++ b/os/connectors/connector.py@@ -58,13 +58,11 @@ OFFICIAL_HOSTS = {"gmail": ("googleapis.com",),"google_calendar": ("googleapis.com",),"google_drive": ("googleapis.com",),- "google_bigquery": ("googleapis.com",),"github": ("api.github.com",),"slack": ("slack.com",),"asana": ("app.asana.com",),"hubspot": ("api.hubapi.com",),- "pagerduty": ("api.pagerduty.com",),- "microsoft_365": ("graph.microsoft.com",),+ "figma-api-app": ("api.figma.com",),}# Connectors whose API only accepts the credential as a query parameter ondiff --git a/os/connectors/web/icons/apollo.png b/os/connectors/web/icons/apollo_io.pngsimilarity index 100%rename from os/connectors/web/icons/apollo.pngrename to os/connectors/web/icons/apollo_io.pngdiff --git a/os/connectors/web/icons/brex.png b/os/connectors/web/icons/brex.pngnew file mode 100644index 000000000..408c182b2Binary files /dev/null and b/os/connectors/web/icons/brex.png differdiff --git a/os/connectors/web/icons/carta.png b/os/connectors/web/icons/carta.pngnew file mode 100644index 000000000..d04684c75Binary files /dev/null and b/os/connectors/web/icons/carta.png differdiff --git a/os/connectors/web/icons/clay.png b/os/connectors/web/icons/clay.pngnew file mode 100644index 000000000..ddd461784Binary files /dev/null and b/os/connectors/web/icons/clay.png differdiff --git a/os/connectors/web/icons/close.png b/os/connectors/web/icons/close.pngnew file mode 100644index 000000000..557516d0cBinary files /dev/null and b/os/connectors/web/icons/close.png differdiff --git a/os/connectors/web/icons/cloudflare.png b/os/connectors/web/icons/cloudflare.pngnew file mode 100644index 000000000..1b0930ac1Binary files /dev/null and b/os/connectors/web/icons/cloudflare.png differdiff --git a/os/connectors/web/icons/cloudinary.png b/os/connectors/web/icons/cloudinary.pngnew file mode 100644index 000000000..3338a5787Binary files /dev/null and b/os/connectors/web/icons/cloudinary.png differdiff --git a/os/connectors/web/icons/coindesk.png b/os/connectors/web/icons/coindesk.pngnew file mode 100644index 000000000..a9d65dc04Binary files /dev/null and b/os/connectors/web/icons/coindesk.png differdiff --git a/os/connectors/web/icons/context7.png b/os/connectors/web/icons/context7.pngnew file mode 100644index 000000000..717c9f9f3Binary files /dev/null and b/os/connectors/web/icons/context7.png differdiff --git a/os/connectors/web/icons/craft.png b/os/connectors/web/icons/craft.pngnew file mode 100644index 000000000..f6f34c285Binary files /dev/null and b/os/connectors/web/icons/craft.png differdiff --git a/os/connectors/web/icons/crypto_com.png b/os/connectors/web/icons/crypto_com.pngnew file mode 100644index 000000000..7a9961f13Binary files /dev/null and b/os/connectors/web/icons/crypto_com.png differdiff --git a/os/connectors/web/icons/datadog.png b/os/connectors/web/icons/datadog.pngdeleted file mode 100644index 955eec21b..000000000Binary files a/os/connectors/web/icons/datadog.png and /dev/null differdiff --git a/os/connectors/web/icons/deepwiki.png b/os/connectors/web/icons/deepwiki.pngnew file mode 100644index 000000000..cd536093cBinary files /dev/null and b/os/connectors/web/icons/deepwiki.png differdiff --git a/os/connectors/web/icons/egnyte.png b/os/connectors/web/icons/egnyte.pngnew file mode 100644index 000000000..d4e37e722Binary files /dev/null and b/os/connectors/web/icons/egnyte.png differdiff --git a/os/connectors/web/icons/eraser.png b/os/connectors/web/icons/eraser.pngnew file mode 100644index 000000000..519e004a8Binary files /dev/null and b/os/connectors/web/icons/eraser.png differdiff --git a/os/connectors/web/icons/exa.png b/os/connectors/web/icons/exa.pngnew file mode 100644index 000000000..0a9e622f1Binary files /dev/null and b/os/connectors/web/icons/exa.png differdiff --git a/os/connectors/web/icons/figma.svg b/os/connectors/web/icons/figma-api-app.svgsimilarity index 100%rename from os/connectors/web/icons/figma.svgrename to os/connectors/web/icons/figma-api-app.svgdiff --git a/os/connectors/web/icons/fireflies.png b/os/connectors/web/icons/fireflies.pngnew file mode 100644index 000000000..906d0beeaBinary files /dev/null and b/os/connectors/web/icons/fireflies.png differdiff --git a/os/connectors/web/icons/globalping.png b/os/connectors/web/icons/globalping.pngnew file mode 100644index 000000000..dbdf04035Binary files /dev/null and b/os/connectors/web/icons/globalping.png differdiff --git a/os/connectors/web/icons/google_bigquery.png b/os/connectors/web/icons/google_bigquery.pngdeleted file mode 100644index d9b32674d..000000000Binary files a/os/connectors/web/icons/google_bigquery.png and /dev/null differdiff --git a/os/connectors/web/icons/granola.png b/os/connectors/web/icons/granola.pngnew file mode 100644index 000000000..93028aaf1Binary files /dev/null and b/os/connectors/web/icons/granola.png differdiff --git a/os/connectors/web/icons/guru.png b/os/connectors/web/icons/guru.pngnew file mode 100644index 000000000..22ad91ac6Binary files /dev/null and b/os/connectors/web/icons/guru.png differdiff --git a/os/connectors/web/icons/gusto.png b/os/connectors/web/icons/gusto.pngnew file mode 100644index 000000000..99ef49d8cBinary files /dev/null and b/os/connectors/web/icons/gusto.png differdiff --git a/os/connectors/web/icons/harmonic.png b/os/connectors/web/icons/harmonic.pngnew file mode 100644index 000000000..5060aadb7Binary files /dev/null and b/os/connectors/web/icons/harmonic.png differdiff --git a/os/connectors/web/icons/hex.png b/os/connectors/web/icons/hex.pngnew file mode 100644index 000000000..042cce77aBinary files /dev/null and b/os/connectors/web/icons/hex.png differdiff --git a/os/connectors/web/icons/honeycomb.png b/os/connectors/web/icons/honeycomb.pngnew file mode 100644index 000000000..251fa1c46Binary files /dev/null and b/os/connectors/web/icons/honeycomb.png differdiff --git a/os/connectors/web/icons/huggingface.png b/os/connectors/web/icons/huggingface.pngnew file mode 100644index 000000000..3060c1da9Binary files /dev/null and b/os/connectors/web/icons/huggingface.png differdiff --git a/os/connectors/web/icons/ifttt.png b/os/connectors/web/icons/ifttt.pngnew file mode 100644index 000000000..84f827db5Binary files /dev/null and b/os/connectors/web/icons/ifttt.png differdiff --git a/os/connectors/web/icons/incident_io.png b/os/connectors/web/icons/incident_io.pngnew file mode 100644index 000000000..10ad65a3aBinary files /dev/null and b/os/connectors/web/icons/incident_io.png differdiff --git a/os/connectors/web/icons/indeed.png b/os/connectors/web/icons/indeed.pngnew file mode 100644index 000000000..96784cdcdBinary files /dev/null and b/os/connectors/web/icons/indeed.png differdiff --git a/os/connectors/web/icons/intercom.png b/os/connectors/web/icons/intercom.pngdeleted file mode 100644index b50cc6593..000000000Binary files a/os/connectors/web/icons/intercom.png and /dev/null differdiff --git a/os/connectors/web/icons/jam.png b/os/connectors/web/icons/jam.pngnew file mode 100644index 000000000..9e81738ccBinary files /dev/null and b/os/connectors/web/icons/jam.png differdiff --git a/os/connectors/web/icons/mailerlite.png b/os/connectors/web/icons/mailerlite.pngnew file mode 100644index 000000000..ddd80fc63Binary files /dev/null and b/os/connectors/web/icons/mailerlite.png differdiff --git a/os/connectors/web/icons/make.png b/os/connectors/web/icons/make.pngnew file mode 100644index 000000000..dce99ee5dBinary files /dev/null and b/os/connectors/web/icons/make.png differdiff --git a/os/connectors/web/icons/mercury.png b/os/connectors/web/icons/mercury.pngnew file mode 100644index 000000000..3189433c3Binary files /dev/null and b/os/connectors/web/icons/mercury.png differdiff --git a/os/connectors/web/icons/microsoft_365.png b/os/connectors/web/icons/microsoft_365.pngdeleted file mode 100644index cfd92b175..000000000Binary files a/os/connectors/web/icons/microsoft_365.png and /dev/null differdiff --git a/os/connectors/web/icons/mintlify.png b/os/connectors/web/icons/mintlify.pngnew file mode 100644index 000000000..334fe2d61Binary files /dev/null and b/os/connectors/web/icons/mintlify.png differdiff --git a/os/connectors/web/icons/miro.png b/os/connectors/web/icons/miro.pngnew file mode 100644index 000000000..9fbd98a0fBinary files /dev/null and b/os/connectors/web/icons/miro.png differdiff --git a/os/connectors/web/icons/mixpanel.png b/os/connectors/web/icons/mixpanel.pngnew file mode 100644index 000000000..37b30dd6dBinary files /dev/null and b/os/connectors/web/icons/mixpanel.png differdiff --git a/os/connectors/web/icons/motherduck.png b/os/connectors/web/icons/motherduck.pngnew file mode 100644index 000000000..d759633d6Binary files /dev/null and b/os/connectors/web/icons/motherduck.png differdiff --git a/os/connectors/web/icons/motion.png b/os/connectors/web/icons/motion.pngnew file mode 100644index 000000000..c7c9d3b0cBinary files /dev/null and b/os/connectors/web/icons/motion.png differdiff --git a/os/connectors/web/icons/neon.png b/os/connectors/web/icons/neon.pngnew file mode 100644index 000000000..58ccc9876Binary files /dev/null and b/os/connectors/web/icons/neon.png differdiff --git a/os/connectors/web/icons/netlify.png b/os/connectors/web/icons/netlify.pngnew file mode 100644index 000000000..eb59fde4cBinary files /dev/null and b/os/connectors/web/icons/netlify.png differdiff --git a/os/connectors/web/icons/openrouter.png b/os/connectors/web/icons/openrouter.pngnew file mode 100644index 000000000..e81ead338Binary files /dev/null and b/os/connectors/web/icons/openrouter.png differdiff --git a/os/connectors/web/icons/otter_ai.png b/os/connectors/web/icons/otter_ai.pngnew file mode 100644index 000000000..56d5b1547Binary files /dev/null and b/os/connectors/web/icons/otter_ai.png differdiff --git a/os/connectors/web/icons/pagerduty.png b/os/connectors/web/icons/pagerduty.pngdeleted file mode 100644index 4445c758b..000000000Binary files a/os/connectors/web/icons/pagerduty.png and /dev/null differdiff --git a/os/connectors/web/icons/paypal.png b/os/connectors/web/icons/paypal.pngnew file mode 100644index 000000000..3c9ae3aceBinary files /dev/null and b/os/connectors/web/icons/paypal.png differdiff --git a/os/connectors/web/icons/planetscale.png b/os/connectors/web/icons/planetscale.pngnew file mode 100644index 000000000..bfebf2e4dBinary files /dev/null and b/os/connectors/web/icons/planetscale.png differdiff --git a/os/connectors/web/icons/posthog.png b/os/connectors/web/icons/posthog.pngnew file mode 100644index 000000000..c30a1a981Binary files /dev/null and b/os/connectors/web/icons/posthog.png differdiff --git a/os/connectors/web/icons/postman.png b/os/connectors/web/icons/postman.pngnew file mode 100644index 000000000..480283ba1Binary files /dev/null and b/os/connectors/web/icons/postman.png differdiff --git a/os/connectors/web/icons/prisma.png b/os/connectors/web/icons/prisma.pngnew file mode 100644index 000000000..340f2738bBinary files /dev/null and b/os/connectors/web/icons/prisma.png differdiff --git a/os/connectors/web/icons/pylon.png b/os/connectors/web/icons/pylon.pngnew file mode 100644index 000000000..aa89b5b16Binary files /dev/null and b/os/connectors/web/icons/pylon.png differdiff --git a/os/connectors/web/icons/railway.png b/os/connectors/web/icons/railway.pngnew file mode 100644index 000000000..ee98ea2a8Binary files /dev/null and b/os/connectors/web/icons/railway.png differdiff --git a/os/connectors/web/icons/ramp.png b/os/connectors/web/icons/ramp.pngnew file mode 100644index 000000000..46ec5769eBinary files /dev/null and b/os/connectors/web/icons/ramp.png differdiff --git a/os/connectors/web/icons/razorpay.png b/os/connectors/web/icons/razorpay.pngnew file mode 100644index 000000000..df16919dbBinary files /dev/null and b/os/connectors/web/icons/razorpay.png differdiff --git a/os/connectors/web/icons/sanity.png b/os/connectors/web/icons/sanity.pngnew file mode 100644index 000000000..0b3a02908Binary files /dev/null and b/os/connectors/web/icons/sanity.png differdiff --git a/os/connectors/web/icons/semrush.png b/os/connectors/web/icons/semrush.pngnew file mode 100644index 000000000..0360bcea7Binary files /dev/null and b/os/connectors/web/icons/semrush.png differdiff --git a/os/connectors/web/icons/square.png b/os/connectors/web/icons/square.pngnew file mode 100644index 000000000..90ad6c916Binary files /dev/null and b/os/connectors/web/icons/square.png differdiff --git a/os/connectors/web/icons/supermetrics_marketing.png b/os/connectors/web/icons/supermetrics.pngsimilarity index 100%rename from os/connectors/web/icons/supermetrics_marketing.pngrename to os/connectors/web/icons/supermetrics.pngdiff --git a/os/connectors/web/icons/surveymonkey.png b/os/connectors/web/icons/surveymonkey.pngnew file mode 100644index 000000000..607771a27Binary files /dev/null and b/os/connectors/web/icons/surveymonkey.png differdiff --git a/os/connectors/web/icons/tavily.png b/os/connectors/web/icons/tavily.pngnew file mode 100644index 000000000..304eaa556Binary files /dev/null and b/os/connectors/web/icons/tavily.png differdiff --git a/os/connectors/web/icons/todoist.png b/os/connectors/web/icons/todoist.pngnew file mode 100644index 000000000..f45c27f8eBinary files /dev/null and b/os/connectors/web/icons/todoist.png differdiff --git a/os/connectors/web/icons/webflow.png b/os/connectors/web/icons/webflow.pngnew file mode 100644index 000000000..b7f9b1fb3Binary files /dev/null and b/os/connectors/web/icons/webflow.png differdiff --git a/os/connectors/web/icons/wix.png b/os/connectors/web/icons/wix.pngnew file mode 100644index 000000000..721002aa1Binary files /dev/null and b/os/connectors/web/icons/wix.png differdiff --git a/os/connectors/web/icons/wordpress_com.png b/os/connectors/web/icons/wordpress_com.pngnew file mode 100644index 000000000..bd145380fBinary files /dev/null and b/os/connectors/web/icons/wordpress_com.png differdiff --git a/os/connectors/web/icons/workable.png b/os/connectors/web/icons/workable.pngnew file mode 100644index 000000000..d3c3161b1Binary files /dev/null and b/os/connectors/web/icons/workable.png differdiff --git a/os/connectors/web/icons/yahoo_finance.png b/os/connectors/web/icons/yahoo_finance.pngnew file mode 100644index 000000000..5d22c6285Binary files /dev/null and b/os/connectors/web/icons/yahoo_finance.png differdiff --git a/os/connectors/web/icons/zapier.png b/os/connectors/web/icons/zapier.pngnew file mode 100644index 000000000..0d8bc5af7Binary files /dev/null and b/os/connectors/web/icons/zapier.png differdiff --git a/os/connectors/web/index.html b/os/connectors/web/index.htmlindex 26be57bc2..7b12c8e02 100644--- a/os/connectors/web/index.html+++ b/os/connectors/web/index.html@@ -20,8 +20,9 @@<button id="browse" class="pill selected" type="button" role="tab" aria-selected="true">Browse</button><button id="connected" class="pill" type="button" role="tab" aria-selected="false">Connected</button></div>+ <p id="signed-out" class="hint-line" hidden>GitHub, Slack, Google and a few more sign in through your Harness account. Run <code>harness login</code>, then refresh to see them.</p><p id="notice" role="status" aria-live="polite"></p>- <div id="sections"></div>+ <div id="sections"><p class="empty">Loading connectors…</p></div><footer>Accounts stay on this computer and are shared by every agent you run here. Disconnecting stops Harness from using an account; revoke it in the service's settings to remove it everywhere.</footer></main><dialog id="custom-dialog">diff --git a/os/connectors/web/page.js b/os/connectors/web/page.jsindex 7171caddc..275dc2cb8 100644--- a/os/connectors/web/page.js+++ b/os/connectors/web/page.js@@ -51,8 +51,6 @@ function card(item) {} else if (item.state !== "not_connected") {if (item.state === "reconnect" && !item.custom) actions.append(button("Reconnect", () => connect(item)));actions.append(button("×", () => confirmDisconnect(item), "icon", "Disconnect " + item.name));- } else if (item.reason) {- actions.append(node("span", item.reason, "hint"));} else {actions.append(button("+", () => connect(item), "icon plus", "Connect " + item.name));}@@ -92,6 +90,7 @@ function render() {async function refresh() {const result = await request("/api/connections");items = result.connections.sort((a, b) => a.name.localeCompare(b.name));+ $("#signed-out").hidden = result.signed_in;render();}async function follow(item, flow) {diff --git a/os/connectors/web/style.css b/os/connectors/web/style.cssindex 31e8c0b70..648cfabcd 100644--- a/os/connectors/web/style.css+++ b/os/connectors/web/style.css@@ -17,6 +17,7 @@ button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-vi.pill{border-radius:8px;background:#1f1f1f;border-color:#1f1f1f;color:#bdbdbd;font-weight:600}.pill.selected{background:#2f45d8;border-color:#3d55ff;color:#fff}#notice{min-height:22px;color:#9fe0a8;margin:10px 0}+.hint-line{margin:14px 0 0;color:#a3a3a3;font-size:14px}.hint-line code{color:#e8e8e8}.group h2{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#a3a3a3;margin:18px 0 10px}.count{color:#6f6f6f;margin-left:4px}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}diff --git a/os/root/usr/share/harness-os/connections.md b/os/root/usr/share/harness-os/connections.mdindex 42116575b..34a2ab549 100644--- a/os/root/usr/share/harness-os/connections.md+++ b/os/root/usr/share/harness-os/connections.md@@ -24,8 +24,8 @@ reconnect it in `harness connections`. Do not try to sign in from the agent.## REST calls (services signed in through the Harness account)-GitHub, Slack, Asana, HubSpot, PagerDuty, Google (Gmail, Calendar, Drive,-BigQuery) and Microsoft 365 are signed in through the Harness account. Besides+GitHub, Slack, Asana, HubSpot, Figma (`figma-api-app`) and Google (Gmail,+Calendar, Drive) are signed in through the Harness account. Besidestheir MCP tools, their REST APIs can be called without seeing the token:```sh@@ -44,12 +44,10 @@ permissions. Ask when the requested action lacks authorization.| slack | `GET https://slack.com/api/auth.test` || asana | `GET https://app.asana.com/api/1.0/users/me` || hubspot | `GET https://api.hubapi.com/crm/v3/objects/contacts?limit=10` |-| pagerduty | `GET https://api.pagerduty.com/users/me` |+| figma-api-app | `GET https://api.figma.com/v1/me` || gmail | `GET https://gmail.googleapis.com/gmail/v1/users/me/profile` || google_calendar | `GET https://www.googleapis.com/calendar/v3/users/me/calendarList` || google_drive | `GET https://www.googleapis.com/drive/v3/files` with `--query pageSize=10` |-| google_bigquery | `GET https://bigquery.googleapis.com/bigquery/v2/projects` |-| microsoft_365 | `GET https://graph.microsoft.com/v1.0/me` |Check the exit code, response body and a read-back before reporting a write assuccessful. A 401 means reconnect; a 403 can mean insufficient permissions;diff --git a/os/tests/test_connections.py b/os/tests/test_connections.pyindex eab31bbd9..827e89610 100644--- a/os/tests/test_connections.py+++ b/os/tests/test_connections.py@@ -146,7 +146,12 @@ class GatewayHandler(BaseHTTPRequestHandler):if self.headers.get("Authorization") != "Bearer grid-session":self.send(401, {})else:- self.send(200, {"connectors": [{"code": "github", "label": "GitHub", "auth_type": "app"}]})+ self.send(200, {"connectors": [+ {"code": "github", "label": "GitHub", "auth_type": "app", "mcp_url": "https://api.githubcopilot.com/mcp/"},+ {"code": "linear", "label": "Linear", "auth_type": "app", "mcp_url": "https://mcp.linear.app/mcp"},+ {"code": "newsvc", "label": "New Service", "auth_type": "dcr", "mcp_url": "https://mcp.newsvc.example/mcp",+ "description": "Added to Grid after this build."},+ {"code": "manual-only", "label": "Manual", "auth_type": "pat"}]})def do_POST(self):if self.headers.get("Authorization") != "Bearer grid-session":@@ -374,13 +379,39 @@ class ConnectorGateway(Case):self.assertIsNone(self.vault.token("github"))self.assertEqual(server.calls[-1], ("connectors/disconnect", {"connector": "github"}))- def test_signed_out_the_page_says_how_to_connect_these_services(self):+ def test_signed_out_the_page_offers_only_what_this_computer_signs_in_to(self):self.gateway(signed_in=False)- cards = {c["connector"]: c for c in connections.catalog(self.vault)["connections"]}- self.assertIn("harness login", cards["github"]["reason"])- self.assertEqual(cards["linear"]["reason"], "")+ page = connections.catalog(self.vault)+ cards = {c["connector"]: c for c in page["connections"]}+ self.assertFalse(page["signed_in"])+ self.assertNotIn("github", cards)+ self.assertNotIn("slack", cards)+ self.assertEqual(cards["linear"]["auth"], "dcr")+ self.assertEqual({c["auth"] for c in page["connections"]}, {"dcr"})with self.assertRaisesRegex(store.StoreError, "harness login"):- connections.sign_in_for(self.vault, "slack").prepare()+ connections.sign_in_for(self.vault, "slack")++ def test_signed_in_the_page_follows_the_gateway_and_still_prefers_this_computer(self):+ self.gateway()+ offered = gateway.available()+ cards = {c["connector"]: c for c in connections.catalog(self.vault, offered)["connections"]}+ self.assertEqual(cards["github"]["auth"], "app")+ self.assertEqual(cards["linear"]["auth"], "dcr", "Grid's app service that allows self-registration")+ self.assertEqual((cards["newsvc"]["name"], cards["newsvc"]["auth"]), ("New Service", "dcr"))+ self.assertNotIn("slack", cards, "an app service the gateway does not offer")+ self.assertNotIn("manual-only", cards)+ items = connections.services(offered)+ self.assertIsInstance(connections.sign_in_for(self.vault, "newsvc", items), oauth.SignIn)+ self.assertIsInstance(connections.sign_in_for(self.vault, "github", items), gateway.SignIn)++ def test_a_connection_saved_under_an_older_code_keeps_working_under_grids(self):+ self.vault.save("apollo", {"access_token": "a", "mcp_entry": {"url": "https://mcp.apollo.io/mcp"}})+ self.assertEqual(self.vault.token("apollo_io")["access_token"], "a")+ self.assertEqual(self.vault.token("apollo")["access_token"], "a", "an agent still using the old address")+ self.vault.save("apollo_io", {"access_token": "b", "mcp_entry": {"url": "https://mcp.apollo.io/mcp"}})+ self.assertEqual(set(store.read_private(self.vault.root / "tokens.json")), {"apollo_io"})+ self.vault.disconnect("apollo_io")+ self.assertEqual(self.vault.tokens(), {})class Storage(Case):diff --git a/os/tools/update-connector-catalog.py b/os/tools/update-connector-catalog.pynew file mode 100644index 000000000..6dada2c7c--- /dev/null+++ b/os/tools/update-connector-catalog.py@@ -0,0 +1,92 @@+#!/usr/bin/env python3+"""Rebuild os/connectors/catalog.json and its icons from the Grid connector gateway.++The gateway (GET /v1/grid/connectors) is the list the Grid app shows. Its `dcr`+services sign in from the computer; its `app` services sign in through the+gateway. An `app` service whose MCP server also allows dynamic client+registration is signed in from the computer instead (checked here, live).++ python3 os/tools/update-connector-catalog.py # needs `grid login` / `harness login`+ python3 os/tools/update-connector-catalog.py rows.json # from a saved GET /v1/grid/connectors++Icons are fetched once into os/connectors/web/icons (64 px PNG via `sips` or+ImageMagick when available), so the page never loads anything from the network.+"""+import json+from pathlib import Path+import shutil+import subprocess+import sys+import tempfile+import urllib.request++ROOT = Path(__file__).resolve().parents[1] / "connectors"+sys.path.insert(0, str(ROOT))+import gateway # noqa: E402+import oauth # noqa: E402++ICONS = ROOT / "web/icons"+++def rows():+ if len(sys.argv) > 1:+ data = json.loads(Path(sys.argv[1]).read_text())+ return data["connectors"] if isinstance(data, dict) else data+ return gateway.call("connectors")["connectors"]+++def local_sign_in(url):+ try:+ meta = oauth.probe(url)+ except Exception:+ return False+ return meta["kind"] == "oauth" and bool(meta.get("registration_endpoint")) and meta["s256"]+++def icon(code, url):+ if any((ICONS / (code + ext)).exists() for ext in (".png", ".svg")) or not url:+ return+ try:+ request = urllib.request.Request(url, headers={"User-Agent": "Mozilla/5.0"})+ data = urllib.request.urlopen(request, timeout=20).read()+ except OSError as error:+ print(f"{code}: no icon ({error})", file=sys.stderr)+ return+ if data.lstrip().startswith(b"<svg") or b"<svg" in data[:300]:+ (ICONS / (code + ".svg")).write_bytes(data)+ return+ with tempfile.TemporaryDirectory() as folder:+ source, target = Path(folder) / "source", ICONS / (code + ".png")+ source.write_bytes(data)+ if shutil.which("sips"):+ subprocess.run(["sips", "-s", "format", "png", "-Z", "64", str(source), "--out", str(target)],+ check=True, capture_output=True)+ elif shutil.which("magick"):+ subprocess.run(["magick", str(source) + "[0]", "-resize", "64x64>", str(target)], check=True)+ else:+ raise SystemExit("Install ImageMagick (or run on macOS) to resize icons.")+++def main():+ old = {item["code"]: item for item in json.loads((ROOT / "catalog.json").read_text())["connectors"]}+ items = []+ for row in sorted(rows(), key=lambda r: r["code"]):+ code, url = row["code"], row.get("mcp_url") or ""+ auth = row.get("auth_type")+ if auth == "app" and url and local_sign_in(url):+ auth = "dcr"+ if auth not in ("app", "dcr"):+ continue+ description = row.get("description") or old.get(code, {}).get("description") or ""+ item = {"code": code, "label": row["label"], "auth": auth, "description": description}+ if url:+ item["mcp_url"] = url+ items.append(item)+ icon(code, row.get("image_url"))+ print(f"{auth:3} {code}")+ note = old and json.loads((ROOT / "catalog.json").read_text()).get("_note")+ (ROOT / "catalog.json").write_text(json.dumps({"_note": note, "connectors": items}, indent=1, ensure_ascii=False) + "\n")+++if __name__ == "__main__":+ main()