Skip to content

HQ MCP

HQ MCP connects ChatGPT and Claude.ai to the same governed HQ context your local agents use: company knowledge, project context, policies, files, and shared workflow skills.

The connector is built on the Model Context Protocol (MCP). Each request is authenticated with your HQ identity, and vault-service resolves which personal and company vaults you can access before any company lookup, file read, search, fetch, write, or skill review happens.

For clients that ask for a remote MCP server URL, use:

https://hq-mcp.getindigo.ai/mcp

The cloud connector does not require a local HQ install, local filesystem access, or qmd on the client. Local and developer MCP runs may still use local HQ files and qmd as a fallback, but the production cloud path talks to HQ cloud services directly.

Connect From ChatGPT

ChatGPT exposes remote MCP through ChatGPT apps/custom connectors. During beta, the exact labels depend on your ChatGPT plan and workspace settings.

Before you start, have these values ready:

FieldValue
MCP server URLhttps://hq-mcp.getindigo.ai/mcp
AuthenticationOAuth
Client ID6gorpnstao6ddli4tk8k5kv9s0
Client secretLeave blank unless Indigo explicitly gives you one for your workspace.
Scopesopenid, email, profile, hq-mcp/use

Setup:

  1. Ask a ChatGPT workspace admin or owner to enable developer mode for custom MCP apps. OpenAI currently documents this under Workspace Settings -> Permissions & Roles -> Connected Data Developer mode / Create custom MCP connectors.
  2. Enable developer mode for your own account if your plan requires a per-user toggle. OpenAI documents the user toggle under Settings -> Apps -> Advanced Settings for eligible Enterprise/Edu users.
  3. Create a custom app from Workspace Settings -> Apps -> Create if you are an admin or owner, or from Settings -> Apps -> Create if your workspace lets authorized users create apps.
  4. Enter the MCP server URL, choose OAuth authentication, and provide the HQ MCP beta Client ID 6gorpnstao6ddli4tk8k5kv9s0 if ChatGPT asks for one.
  5. Click Scan Tools. If ChatGPT opens the HQ authorization flow, sign in with your HQ identity and approve the requested access.
  6. After the scan completes, click Create. The app should appear with a developer or draft label until it is published for the workspace.
  7. Open a new chat and select the HQ app from the tools/app menu, or refer to it by name in your prompt.

For write or share actions, ChatGPT may show an approval prompt before running the tool. Treat those prompts as the final human review step before HQ writes a file, grants access, or mints a share-session link.

If the app shows an old tool list, refresh the app’s actions or recreate the draft. OpenAI’s beta app flow can cache tool definitions after the first scan.

Official OpenAI references:

Connect From Claude

Claude exposes remote MCP through custom connectors. Anthropic currently marks custom connectors as beta.

Before you start, have these values ready:

FieldValue
MCP server URLhttps://hq-mcp.getindigo.ai/mcp
OAuth Client ID6gorpnstao6ddli4tk8k5kv9s0
OAuth Client SecretLeave blank unless Indigo explicitly gives you one for your workspace.

Setup for Team and Enterprise:

  1. Ask an owner or primary owner to open Organization settings -> Connectors.
  2. Click Add, choose Custom, then choose Web.
  3. Enter the MCP server URL.
  4. Open Advanced settings only if Claude asks for OAuth client details, then enter the HQ MCP beta Client ID 6gorpnstao6ddli4tk8k5kv9s0.
  5. Click Add.
  6. Each user then opens Customize -> Connectors, finds the custom HQ connector, clicks Connect, and completes the HQ OAuth sign-in.

Setup for Pro or Max:

  1. Open Customize -> Connectors.
  2. Click +, then Add custom connector.
  3. Enter the MCP server URL.
  4. Open Advanced settings only if Claude asks for OAuth client details, then enter the HQ MCP beta Client ID 6gorpnstao6ddli4tk8k5kv9s0.
  5. Click Add, then Connect, and complete the HQ OAuth sign-in.

Enable the connector per conversation from the chat composer + menu under Connectors. If Claude can see the connector but not the newest tools, remove and re-add the connector so Claude scans the current MCP tool registry.

Official Anthropic reference:

What You Can Do

  • List the HQ companies your account can access.
  • Browse readable company vault prefixes and fetch allowed files.
  • Share company vault files or prefixes by minting a short-lived share-session link or granting one recipient directly.
  • Deploy small static sites to hq-deploy from explicit built file contents.
  • Search chat-visible personal and company content.
  • Read company knowledge, project records, project status, and policies.
  • Capture notes, journal entries, project updates, and knowledge captures back into allowed prefixes.
  • Inspect secret names and project secret schemas without exposing secret values.
  • Generate a human submission link when a secret value needs to be supplied.
  • Fetch approved chat-visible skills as workflow guidance.
  • Draft new team skills for review.

MCP Tool Groups

Different chat clients present MCP tools with different UI labels, but the connector exposes these capability groups:

GroupTools
Identityhq_whoami, hq_companies_list, hq_company_ping
Fileshq_files_list, hq_files_read, hq_files_write, hq_files_share
Knowledgehq_knowledge_list, hq_knowledge_get, hq_knowledge_search, hq_knowledge_capture
Projectshq_projects_list, hq_project_get, hq_project_status, hq_project_journal_append
Policieshq_policies_list, hq_policy_get
Secretshq_secrets_list, hq_secrets_schema, hq_secrets_generate_link
Deployhq_deploy_site
Personal vaulthq_personal_capture
Skillshq_skill_list, hq_skill_get, hq_skill_draft
Diagnosticshq_ping, hq_version, hq_exec_check

Some clients also expose the standard MCP search and fetch surface. Use that pair for general chat-visible HQ content discovery. Use the hq_* tools when you need company-scoped behavior, explicit paths, project records, policy records, or write actions.

Search And Fetch

HQ MCP has two search paths:

  • search and fetch are the general MCP content discovery pair. Search returns matching chat-visible records, and fetch rechecks permission before returning the canonical content.
  • hq_knowledge_search keeps the company-scoped HQ tool shape. In cloud mode, it uses the vault content search service and filters results to the requested company. In local developer mode, it can fall back to qmd.

Production cloud MCP does not shell out to qmd. If a cloud client reports a qmd missing error, it is using an old connector bundle or a local MCP path, not the current production cloud path.

Cloud search currently indexes chat-visible vault content through the HQ content search service. Empty results mean no matching chat-visible content was found for your account and company scope. Use list and get tools for direct browsing when you already know the company or path. Vector-index infrastructure is scaffolded, but it is not the production source of truth for cloud MCP results yet.

Files And Writes

Company file tools are company-scoped. The connector first verifies that you are a member of the requested company, then vault-service applies path-level rules.

Readable company listings exclude private operational prefixes such as settings/, secrets/, and workers/. Reads are also rechecked at fetch time, so stale paths or newly revoked access fail closed.

Writes are limited to explicitly writable areas, including:

  • notes/
  • inbox/
  • drafts/
  • scratch/
  • journal/
  • projects/
  • knowledge/captures/

Existing files are not overwritten unless the tool call explicitly confirms the overwrite.

Files written from chat follow the same ownership model as files synced from a local HQ folder: the creator owns the new object first. Other people do not get access just because a chat wrote the file. Share it explicitly when someone else needs to read or edit it.

Use hq_files_share to share one or more company vault paths:

  • Omit with to mint a short-lived share-session URL. The browser flow lets a human pick recipients and per-recipient read/write access.
  • Set with to an email, prs_* person UID, grp_* group ID, or @all to grant access directly from the tool call.
  • permission defaults to read; use write only when the recipient should be able to edit the path.

Share-session URLs are bearer capabilities. They should be surfaced only at mint time and redacted everywhere else as https://hq.{co}.com/share-session/<TOKEN_REDACTED>.

Deploy Sites

Use hq_deploy_site when you want ChatGPT or Claude to create a small static web page and publish it through hq-deploy.

The tool accepts explicit file contents, not a local project path. The request must include index.html; additional assets can be supplied as UTF-8 text or base64. The cloud connector does not run shell commands, package-manager builds, Docker builds, SSR builds, or local filesystem scans.

Supported access modes:

ModeBehavior
publicAnyone with the deployed URL can open the site.
passwordThe app is password-gated. Provide a password or let HQ generate one.
companyThe app is restricted through the HQ company access policy for the requested company.

For protected deploys, the connector wires the requested access gate before creating the new deploy. If hq-deploy cannot confirm the access mode, the tool refuses instead of uploading the new artifact.

This tool is intended for lightweight static pages, previews, readouts, and handoff artifacts. Use the local /deploy workflow or hq-deploy CLI for full project builds, SSR apps, Docker images, custom domain operations, or larger production releases.

Secrets

Secret values never enter the chat transcript. The MCP connector can list secret names and metadata, parse a project’s .env.schema, and generate a time-limited submission link for a human to provide a value through HQ. It cannot return raw secret values to the model.

Skills In Chat

HQ skills are team-authored workflow instructions. In chat, they are treated as content, not code:

  • A skill must opt into surfaces: [chat].
  • Workflow-tier skills require review before they become visible.
  • Skill bodies are returned as untrusted tool data and cannot override system, developer, or connector instructions.
  • Cloud mode never enables local shell execution or hq_run.
  • Revoked or archived skills are blocked at fetch time, even if an old search result still exists.

For tool-only clients, use hq_skill_list to find skills and hq_skill_get to fetch one by ID. MCP-native clients that support resources and prompts can also see hq-skill://skill/{id} resources and the hq_skill_apply prompt.

Contribution Flow

General captures use existing writable areas such as notes, inbox, scratch, journal, project journals, and knowledge captures.

Skill changes use a stricter flow:

  1. A user drafts a skill from chat.
  2. The draft is written to drafts/skills/{slug}/SKILL.md.
  3. An owner or delegated manageChatSkills reviewer approves, rejects, requests changes, revokes, or restores it.
  4. Approved skills are promoted into the live skills/{slug}/SKILL.md path and queued for indexing.

Chat cannot write directly to live company skill roots.

Security Model

HQ MCP keeps vault-service as the authority:

  • The connector forwards the verified bearer token and does not accept client-supplied vault scope.
  • Personal and company entitlements are resolved server-side.
  • Company-scoped tools first confirm membership in the requested company.
  • Chat writes create creator-owned files; sharing is a separate ACL action through the same vault-service rules used by HQ Console and HQ Sync.
  • Chat deploys call hq-deploy with the verified caller token. Protected deploys fail closed if the requested access mode cannot be confirmed.
  • Search results are hints; fetch rechecks canonical vault, source path, lifecycle, private-prefix, and skill review state.
  • Settings, secrets, and workers paths are excluded.
  • Secret values are never returned to chat.
  • Client-visible denials collapse to a generic unavailable response, while internal telemetry records the exact cause.

The result is the same tenant-isolation guarantee as the rest of HQ: one company cannot read or write another company’s content through chat.

Operator Checks

Release verification covers:

  • OAuth metadata and connector boot.
  • Company lookup and company ping.
  • Company file listing, read, and write ACL behavior.
  • Company file sharing through share-session minting and direct grant behavior.
  • Static hq-deploy site creation and access-mode refusal behavior.
  • Knowledge list, get, search, and capture behavior.
  • Project, policy, and personal capture tools.
  • Secret metadata and schema tools.
  • Skill discovery and skill fetch.
  • Safe capture write.
  • Cross-vault fetch denial.
  • Private-prefix write refusal.
  • Revoked-skill stale fetch denial.
  • Cloud search behavior without a local qmd dependency.
  • Index-lag threshold checks for seeded canary content where content indexing is enabled.

If a rollout needs to be reversed, disable skill/content surfacing first, purge or rebuild affected index records, rerun the denial canaries, and restore surfaces progressively.

Troubleshooting

SymptomWhat it usually means
The client can see tool names but every company tool failsThe OAuth token reached MCP, but vault-service could not resolve the account’s company membership. Reconnect the client and verify hq_whoami and hq_companies_list.
hq_companies_list works but hq_files_list returns not foundThe company slug, deployed vault route, or file route bundle is stale. Verify the company slug and reconnect after the latest cloud deployment.
hq_files_share is missing from the client tool listThe client probably cached the tool registry before the latest connector deploy. Relaunch or reconnect the chat client, then list tools again.
hq_deploy_site is missing from the client tool listThe client probably cached the tool registry before the latest connector deploy. Relaunch or reconnect the chat client, then list tools again.
hq_deploy_site refuses a protected deployHQ could not confirm the requested hq-deploy access gate. Retry with a valid company, or use password/public only when that access mode is intended.
hq_knowledge_search returns an empty arrayThe cloud service found no matching chat-visible content in that company scope. Try listing knowledge docs or fetching a known path.
A cloud request mentions qmdThe client is not using the current production cloud bundle, or it is pointed at a local developer MCP server.
A secret value is missing from the responseThis is expected. MCP exposes secret names, schemas, and submission links only.