Remote catalog
The remote catalog serves published skills, rules, routines and MCP server definitions to hosted bots over HTTPS at https://<your-domain>/mcp. It is read-only, requires OAuth on every request, and runs as a Cloudflare Worker in remote/. Configure your own endpoint with public_url; the maintainer's documented deployment is not a shared service for other owners. Start with the self-host quickstart. The local stdio endpoint (mcp_endpoint.py) is unchanged.
For local build/test commands, see Deploy on your own domain.
What is served
python3 hub.py publish-remote builds an artifact from the items in the shipped manifest.json, verifies each item's digest, then refuses:
- symlinks, special files and symlinked catalog directories;
- secret values, tokens, email addresses, private hostnames and home paths in any file (findings name a category and line, never the value);
- absolute or machine paths in MCP server
command,args,envandheaders; onlysecret://<name>references are published; - enabled routines.
Files over 1 MiB or not valid UTF-8 are listed as omitted.
Items imported into .hub-store/catalog stay private by default. To publish them:
python3 hub.py publish-remote --include-local --dry-run # lists local items; uploads nothing
python3 hub.py publish-remote --include-local --yes # confirms and uploadsLocal items pass the same screening and keep their repository-relative paths. Without a terminal the command stops unless --yes is given. Anything a connected client can read is readable in full, so review the list. Publishing with local imports requires an explicit --include-local or --shipped-only selection. This also applies to dry runs. --shipped-only deliberately replaces the served catalog with shipped content only and reports the omitted count. The selection flags are mutually exclusive; malformed local manifests are refused rather than silently ignored.
Tools, prompts and resources
The Worker answers the same MCP methods as mcp_endpoint.py with the same validation, result shapes and error codes: initialize (2025-06-18, 2025-03-26 or 2024-11-05), ping, tools/list, tools/call, prompts/list, prompts/get, resources/list, resources/read and resources/templates/list.
- Tools:
hub_list_skills,hub_list_rules,hub_list_routines,hub_list_mcp_servers,hub_list_plugins,hub_list_connections,hub_list_subagents,hub_list_commandsandhub_get_item.hub_get_itemreturnsfileskeyed by repository path (for exampleskills/<name>/SKILL.md) plusomitted,truncatedandmax_bytes, so skills arrive with their supporting files. - Each skill is an MCP prompt carrying
SKILL.mdand listing its supporting file URIs. - Each file is a resource at
coldlocker://skills/<name>/<path>,coldlocker://rules/<name>orcoldlocker://routines/<id>/<file>. Every file's SHA-256 is checked before it is returned.
remote/test/golden/parity.json records mcp_endpoint.dispatch output for a fixture hub; python3 tests/remote_parity.py regenerates it, and tests fail on drift.
Differences from the local endpoint:
- Non-text files and files over 1 MiB appear in
omittedand are not resources. - MIME types come from a built-in table (
md,json,txt,py,sh,js,css,html,csv); other extensions read astext/plain. searchandfetchare not served./mcpacceptsPOSTonly (405 otherwise), returns202for notifications,400for malformed JSON,413above 1 MiB, and403for a browserOriginother than the public origin. Replies are single JSON documents, not streams.
Architecture
| Piece | Purpose |
|---|---|
Worker (remote/) | Stateless JSON-RPC at /mcp, and OAuth 2.1 via @cloudflare/workers-oauth-provider: authorization code with PKCE S256, dynamic client registration, refresh tokens, audience-bound tokens, protected-resource and authorization-server metadata |
| Cloudflare Access | Identifies the owner on /authorize only; the Worker verifies Cf-Access-Jwt-Assertion (signature, issuer, audience, email) before showing consent |
KV OAUTH_KV | OAuth grants, clients and tokens |
KV CATALOG_KV | blob:<sha256>, immutable rev:<revision>, and a current pointer written last |
Clients register themselves, send the owner through Access sign-in (one-time PIN by email) and receive a catalog:read token that lasts one hour and refreshes. Revoke access by deleting the grant from OAUTH_KV or rotating the Access policy. Approve only clients you started.
Deploy on your own domain
Prerequisites: a Cloudflare account that owns the domain, Node 24 (or 22.12+; not 23 or 25) and npm. The locked remote dependencies include Wrangler for deployment and publication. The cf CLI and stored API-token publication paths are alternatives.
cd remote && npm ci- Create two KV namespaces (for example
coldlocker-oauthandcoldlocker-catalog) and note their IDs. - Enable Zero Trust (the free plan suffices) to get an Access team domain (
<team>.cloudflareaccess.com). - Create a self-hosted Access application for
<your-domain>/authorizewith one allow policy for your email and the one-time PIN method. Note its AUD tag. - Copy
remote/wrangler.example.jsonctoremote/wrangler.local.jsonc(gitignored). Fill in the domain, both namespace IDs,ACCESS_TEAM_DOMAIN,ACCESS_AUDandOWNER_EMAIL. npx wrangler deploy --config wrangler.local.jsonc, withCLOUDFLARE_API_TOKEN(Workers Scripts edit, Workers KV edit, Zone/DNS edit) andCLOUDFLARE_ACCOUNT_IDin the environment.- Let non-browser clients past Browser Integrity Check, which rejects some MCP User-Agents with
403/error code: 1010. Add a zone custom rule (action Skip, product Browser Integrity Check) for:(http.request.uri.path eq "/mcp") or (starts_with(http.request.uri.path, "/.well-known/")) or (starts_with(http.request.uri.path, "/oauth/")) - Verify:
curl -A Python-urllib/3.12 -i https://<your-domain>/mcp -X POSTreturns401with aWWW-Authenticateheader whoseresource_metadatapoints at/.well-known/oauth-protected-resource/mcp.
Run npm run typecheck && npm test in remote/ before deploying.
Publish
Create .hub-store/remote.json (gitignored, mode 600):
{"public_url": "https://catalog.example.org/mcp", "catalog_namespace_id": "REPLACE_WITH_CATALOG_NAMESPACE_ID"}python3 hub.py publish-remote --include-local --dry-run
python3 hub.py publish-remote --include-local --via wrangler --yesIf the secret cloudflare-api-token exists in the local store (python3 store.py set cloudflare-api-token), the Cloudflare API is used with an account_id added to the JSON config. Otherwise an available cf CLI is selected, then an installed Wrangler. Without any available transport, the command reports installation/token options. Override with --via cf|wrangler|api. Wrangler runs from remote/ with explicit wrangler.local.jsonc; it uses an installed executable or remote/node_modules/.bin/wrangler and never runs a package install. Optional cf_profile selects the CLI authentication profile. Wrangler's batch files are private and removed after success or failure; its raw output is suppressed. See Cloudflare's KV command reference. Blobs upload first, then the revision index, then the current pointer. Failure before the pointer write does not advance it; a failure or timeout during that final write can leave the outcome uncertain. Inspect remote state before retrying an uncertain publication. Unchanged content produces the same revision.
Connect a client
Each client needs its own OAuth grant: sign in through the Access PIN flow and review the catalog:read consent. Never paste PINs or tokens into chat. The catalog executes no upstream MCP servers and installs no hosted skills.
python3 hub.py connect --remote
python3 hub.py connect --remote --agent grok dots muse mausbot
python3 hub.py connect --remote --agent claude_ai claude_desktop chatgpt codexRemote mode prints JSON with the scope, per-client steps, source URLs, support status and a verification prompt. It reads no client settings, contacts no server and writes nothing; --write is refused. claude, muse_code and t3 are also accepted.
connect --remote reads public_url from .hub-store/remote.json. Override it with --url https://catalog.example.org/mcp when printing a specific deployment's entries. The URL must be HTTPS with path /mcp and no credentials, query or fragment. Missing configuration reports setup instructions instead of emitting the maintainer's endpoint. The same setting and override apply to routine enable --remote and connect-composio --catalog; Composio OAuth discovery follows the selected origin. Complete OAuth against your deployment.
verified-from-docs means the vendor documents the capability and setup path, not that a connection or unattended run was tested. unconfirmed means the sources do not establish custom remote MCP OAuth for that surface. Sources were reviewed 2026-10-20.
The manual examples below use https://catalog.example.org/mcp; replace it with your own deployment. Generated instructions already use public_url or the supplied --url and need no manual URL replacement.
- Hosted Bot (Cursor) — verified-from-docs. Ask the bot to add
https://catalog.example.org/mcpas an MCP server named Coldlocker, finish browser sign-in from the card, and send a new message. Team policies may block the domain. See the bootstrap. - Dots — unconfirmed. OpenAI's Dot guide says plugins share ChatGPT settings but availability can differ. Try the ChatGPT path and check whether the Dot sees the tools.
- Hosted Muse — unconfirmed. Meta's connector help covers supported apps, not custom MCP. Probe by asking: `Create a Custom Connector named coldlocker for https://catalog.example.org/mcp using remote MCP over Streamable HTTP and OAuth browser sign-in.` Report if unavailable; do not request API keys.
- MausBot — unconfirmed. Tool access depends on the engine (project). A fallback is the documented Codex or Claude Code setup on the bot's computer; that is not a hosted connector.
- OpenMausBot — verified-from-docs, separate project. Per its custom MCP guide: Plugins > MCP servers > Add server > Connect to a URL, enter the URL, Test, Sign in, Test for tools, enable it for the bot, start a new task.
- Claude.ai and Claude Desktop — verified-from-docs. On Pro or Max: Customize > Connectors > + Add > Add custom connector, enter the name and URL, choose Sign in now and Register automatically. Team and Enterprise owners first add a Custom > Web connector under Organization settings > Connectors. Desktop uses this account connector, not an HTTP entry in
claude_desktop_config.json. See the connector guide. - Claude Code — verified-from-docs.
claude mcp add --transport http coldlocker https://catalog.example.org/mcp, then/mcpto sign in (docs). - ChatGPT — verified-from-docs. Plugins > plus > Add custom MCP server, name it
coldlocker, enter the URL including/mcp, choose OAuth. Workspace policy controls availability (connect, OAuth). ChatGPT support does not prove Dot support. - Codex — verified-from-docs for CLI and app.
codex mcp add coldlocker --url https://catalog.example.org/mcp, thencodex mcp login coldlocker, or seturlunder[mcp_servers.coldlocker](docs). Codex Cloud propagation is unconfirmed; check it in the real execution environment. - Muse Code — verified-from-docs, separate from hosted Muse. Add
{"mcp_servers":{"coldlocker":{"transport":"streamable_http","url":"https://catalog.example.org/mcp","enabled":true,"mode":"optional"}}}to its settings, runmuse mcp login coldlocker, then/mcp(docs). - T3 — unconfirmed. The public project documents no remote OAuth path. Verify tool visibility in the target thread and scheduler; do not assume inheritance.
- Not researched: Cursor (
{"mcpServers":{"coldlocker":{"url":"..."}}}, then sign in from MCP settings; docs), Hermes (hermes mcp add --url <url> --auth oauth coldlocker, then `hermes mcp login coldlocker) and Gemini CLI (gemini mcp add coldlocker <url> --transport http, then/mcp auth coldlocker`).
Local client paths are in clients.md.
Verify catalog access in each bot
Paste the verify_prompt printed by connect --remote. The bot lists tools, skills, rules and routines, reads one listed rule, loads one harmless skill and one routine with hub_get_item, and reports files, omitted and truncated and any missing tools. Connecting does not apply rules to conversations; rule fragments must be read explicitly. Test each bot separately, including its unattended context, and create no schedule while testing. OAuth success alone does not prove catalog availability. For hosted routine enablement see the remote routine handoff.
Operating notes
- Nothing in
remote/imports the Python code; the shared contract is the artifact format inremote/src/catalog.ts, produced byremote_publisher.py. - CI runs
npm ci,npm run typecheckandnpm testforremote/on a self-hosted Linux runner (Node 24). It does not deploy the Worker.
Repeat a content-update check
tools/check_catalog_update.py compares all text files in one skill, including supporting files, through a fresh local stdio process and the remote catalog. It does not publish content or alter client configuration. Imported local paths are normalized to the published skills/<name>/... paths before comparison.
- Choose the local catalog root and a skill with a supporting file. Obtain an authenticated remote read using a private token file, or export the complete
hub_get_itemresult from the connected hosted client as JSON. Never paste authentication material into a prompt or commit it. - Capture the baseline. Replace the example paths and URL with the selected installation and save receipts outside tracked content.
python3 tools/check_catalog_update.py --root ./installation --url https://catalog.example.org/mcp --skill acceptance-format --remote-response ./before-remote.json --output ./before.json - Change the central skill/supporting content, re-import if needed, preview, and publish through the existing publisher. Fetch again in each client.
- Export the new hosted tool result, then require a changed, matching package.
python3 tools/check_catalog_update.py --root ./installation --url https://catalog.example.org/mcp --skill acceptance-format --remote-response ./after-remote.json --previous ./before.json --output ./after.json
Use --token-file <private-file> instead of --remote-response for a direct OAuth-authenticated HTTPS MCP read. The script refuses redirects, suppresses transport error details and never prints credentials or response content. Exported results are labeled operator-exported-tool-result; they are operator reports, not independently captured HTTP events. Direct reads are labeled authenticated-https. Receipts contain SHA-256 hashes, endpoint, skill and observation time. They prove content delivery, not a model's use of the skill. Record the hosted task result separately. Omitted, truncated, stale or unchanged content cannot pass an update check. Failure exits nonzero and writes no new receipt; retain the exit code when collecting evidence.