Repository navigation
Bridge DC Hub's official MCP server in the dchub adapter - #1629
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
DC Hub asked us to point the DC Hub connector at their official remote MCP server instead of our own REST description, and to drop the plan name from the key wording (plan names change and the line goes stale). The adapter now bridges
https://dchub.cloud/mcp, like the Linear, GitHub and Notion adapters: users get DC Hub's full tool set (94 tools in a live keylesstools/liston 2026-11-11, instead of our 20) and new DC Hub tools through Discover tools.Changes
intl/dchub.json:connector.type: "MCP",baseUrl: https://dchub.cloud/mcp,config.mcpToolPrefix: "dchub_". The key stays optional:authType: API_KEYwithX-API-Key: {{DCHUB_API_KEY}}(the header DC Hub documents on dchub.cloud/connect); keyless installs and calls work (an emptyX-API-Keyheader is accepted, checked live).requiredEnvVarsstays empty.tools/list: local namesdchub_<remote>, standard annotations only, no em/en dashes. Twelve tools that act for the user outside AnythingMCP install switched off (an email address sent to DC Hub, newsletter/alert subscriptions, webhooks, accepting DC Hub's terms, operator introductions, partner data reports). The per-call payment parametersmpp_pay/mpp_credentialare dropped withomitParameters, so the model is never offered to pay per call.prerequisitesadded (required for MCP bridge adapters bymcp-adapter.spec.ts); the RESTprobeis gone (an MCP adapter is checked by listing the server's tools).intl/dchub.live.spec.tsrewritten for the bridge: static checks (endpoint, optional key, prefix and names, switched-off set, payment parameters, neutral wording, no dashes) and a live check gated byRUN_DCHUB_LIVE=1that every tool the snapshot switches off or trims still exists on the server.Cloud and self-hosted behave the same: both call dchub.cloud directly. Installed connectors keep their REST tools until an admin clicks Apply update on the connector (one workspace has a DC Hub connector, no calls in the last 30 days).
docs/catalog/connectors/dchub.mdis generated by the website'sexport-github-catalog.mjsfrom the live catalogue, so it refreshes after this ships.Type
Testing
All in
packages/backendunless noted, afternpm ciandprisma generate:npx jest src/adapters src/connectors/mcp-connector-config src/common/unresolved --maxWorkers=4: first run 1 failure (mcp-adapter.spec.ts: MCP adapters needprerequisites), fixed; thennpx jest src/adapters/mcp-adapter.spec.ts src/adapters/intl/dchub.live.spec.ts: 42 passed, 1 skipped (live).RUN_DCHUB_LIVE=1 npx jest src/adapters/intl/dchub.live.spec.ts: 8 passed.npx eslint src/adapters/intl/dchub.live.spec.ts: clean.npx tsc --noEmit -p tsconfig.json: clean.node scripts/validate-adapters.mjs --warn: exit 0, no dchub warnings, same warnings as main.node scripts/regenerate-catalog.mjs,node scripts/generate-llms-txt.mjs,node scripts/generate-cli-operations.mjs: no diff.node scripts/adapter-count.mjs --check: OK (731 adapters, 42 keyless).initialize+tools/list+tools/call get_market_intelagainst https://dchub.cloud/mcp with an emptyX-API-Keyheader: 200, preview result.Checklist
npm test) (adapter, MCP and placeholder suites run; full suite left to CI)Related Issues
Relates to the DC Hub listing request (vendor email).