Repository navigation
Anthropic Connectors Directory: submission package, policy source text, landing-page link - #109
Conversation
Everything needed to publish the production deployment to Anthropic's connectors directory: the verified submission process (portal, access prerequisites, governing policy/terms), a requirements-met table checked against the live server, the five pre-submission blockers (privacy-policy URL, the financial-transactions policy question, reviewer test identity, production lagging main, icon asset), and paste-ready drafts for every portal field including example prompts and reviewer test instructions. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TGhwpdTbUqQbR5AiiN8Ljw
There was a problem hiding this comment.
Pull request overview
Adds a submission-ready documentation package for listing the production IMCP2 deployment (https://mcp.internetcomputer.org/mcp) in Anthropic’s Connectors Directory, including portal field drafts, readiness verification notes, and pre-submission blockers.
Changes:
- Added a new doc:
docs/anthropic-directory-submission.mdwith end-to-end submission guidance and paste-ready portal content. - Documented current production readiness signals and identified pre-submission blockers (privacy policy URL, financial-transactions policy, reviewer test identity, release alignment, icon).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…ceholder Copilot review on #109: SECURITY.md spells it Hackenproof, and "(Terms §)" read as an unresolved section reference. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TGhwpdTbUqQbR5AiiN8Ljw
…e needed policy The Internet Identity Privacy Policy (2026-04-07) scopes itself solely to Google-account linking and expressly disclaims all other processing, so it cannot serve as the connector's privacy-policy URL. Replace blocker 1's 'have legal check dfinity.org/privacy' with the concrete requirement: a dedicated ICP MCP policy, with the contents mapped from what the server actually processes (delegations, account labels, OAuth state, tool arguments, in-memory-only retention, host logs, public on-chain effects, DFINITY-only third parties). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TGhwpdTbUqQbR5AiiN8Ljw
Modeled on the Internet Identity Privacy Policy (2026-04-07) structure, with the technical claims drawn from the server's actual behavior: in-memory-only session/OAuth state capped at the II grant (<=30 days), transient tool-call processing, the single security-purpose sid cookie, no analytics, DFINITY-operated infrastructure as the only recipients, and the public-permanent nature of on-chain effects. Bracketed placeholders mark the decisions legal/ops must supply (retention window, venue, contact, effective date). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TGhwpdTbUqQbR5AiiN8Ljw
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
Suppressed comments (4)
docs/icp-mcp-privacy-policy-draft.md:73
- The privacy policy says the Service stores the OAuth client registration "(redirect address and client name)", but in the implementation only redirect URIs are stored/persisted;
client_nameis returned in the DCR response but is not stored (seesrc/auth.rswhereClientRegcontainsredirect_urisonly). Update this bullet to match actual data processed.
- **Connection (OAuth) data.** When an AI assistant connects, the Service
stores its OAuth client registration (redirect address and client name) and
issues short-lived authorization codes and access tokens whose lifetime is
capped by the session duration you chose.
docs/icp-mcp-privacy-policy-draft.md:106
- This retention statement says connection/OAuth data is "never written to disk", but the server persists dynamic client registrations to a JSON file (
OAUTH_CLIENTS_FILE, defaultoauth-clients.json) so registrations survive restarts (src/auth.rs:192-199). The policy should reflect that persistence and distinguish it from in-memory codes/tokens.
Session, authorization, account, and connection data are held in the
Service's volatile memory only — they are never written to disk, expire no
later than the session duration you chose (at most 30 days), and are lost on
a server restart. Tool-call data is processed transiently and not retained
after the call completes. Technical logs are retained for [N days] and then
docs/anthropic-directory-submission.md:213
- This field draft still suggests using
https://dfinity.org/privacy, but earlier in the same document you state that a dedicated ICP MCP privacy policy is required and that the foundation-wide policy is unlikely to cover this service. To avoid someone copy/pasting an invalid URL into the portal, make this field explicitly TBD until the dedicated policy is published.
- **Documentation URL:** `https://mcp.internetcomputer.org` (landing page;
README as backup: `https://github.com/dfinity/imcp2#readme`)
- **Privacy policy URL:** `https://dfinity.org/privacy` (pending blocker 1)
- **Support contact:** `[email protected]`
docs/anthropic-directory-submission.md:7
- The PR description's "Changes" section says only
docs/anthropic-directory-submission.mdis added, but this PR also addsdocs/icp-mcp-privacy-policy-draft.md. Please update the PR description (or the change list in it) so reviewers and release notes accurately reflect the files introduced.
# Publishing IMCP2 to the Anthropic Connectors Directory
Everything needed to submit the production deployment
(`https://mcp.internetcomputer.org/mcp`) to Anthropic's Connectors Directory —
the catalog that serves Claude.ai, Claude Desktop, Claude Mobile, Cowork, and
Claude Code. Field drafts below are pre-filled from this repo and the live
deployment; paste and adapt them in the portal.
- Use II consent-screen terminology ("Questions only" / "Actions &
questions") instead of read-only-by-default, which was inaccurate:
the access level is an explicit user choice, and the same correction
propagates to the submission doc's description, blockers, and
reviewer instructions.
- Document revocation at id.ai/manage/access (effective within at most
five minutes), repeated under User Rights for users who no longer
remember which AI sessions are active.
- Describe the Internet Computer as a public network running
applications via a consensus protocol; no blockchain branding, no
permanent-state claim: what applications record is governed by them.
- Clarify the sid cookie is server-set and inaccessible to page
scripts; leave room for aggregated, anonymized usage metrics; drop
the II-principal mention (the server only ever sees its own-domain
pseudonym); state per-application principals may be considered
private when account tools request them.
- Set log retention to three months and flag the ops prerequisite:
journald's default retention is size-based, so the bound needs a
MaxRetentionSec=90day drop-in installed by deploy.sh.
- No em-dashes in the policy text.
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TGhwpdTbUqQbR5AiiN8Ljw
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
Suppressed comments (11)
docs/anthropic-directory-submission.md:242
- Not all 17 read-only tools merely read public chain state:
list_app_accounts,get_app_principal, andicp_cycles_balancereturn identity-specific information and require authentication. The reviewer guidance should distinguish public reads from authenticated read-only tools so it accurately describes what the test identity exposes.
> "Continue with recovery phrase" (or first create your own identity at
> https://id.ai — takes under a minute; any identity works for read-only
> tools, which read public chain state).
docs/icp-mcp-privacy-policy-draft.md:75
- The cookie name is inaccurate. Production sets
mcp_connect(CONNECT_COOKIEinsrc/auth.rs:158), notsid, so a published policy would not identify the cookie users actually receive.
sets one transient cookie (`sid`; HttpOnly, Secure, SameSite=Lax). This
docs/icp-mcp-privacy-policy-draft.md:91
- This misstates what is stored: DCR persists the generated client ID, redirect URIs, and last-used timestamp to
oauth-clients.json, whileclient_nameis only echoed in the registration response (src/auth.rs:160-220,1927-1970). The privacy inventory should describe the persisted fields accurately.
- **Connection (OAuth) data.** When an AI assistant connects, the Service
stores its OAuth client registration (redirect address and client name) and
issues short-lived authorization codes and access tokens whose lifetime is
capped by the session duration you chose.
docs/icp-mcp-privacy-policy-draft.md:104
- The log-data inventory omits identifiers emitted by the production
RUST_LOG=infoconfiguration: authentication events log OAuth state/session IDs and the user's principal (src/auth.rs:1725-1769,1872). Those retained identifiers need to be disclosed; conversely, the repository's request logger does not collect user agent or client IP, so those fields should be confirmed against infrastructure before publication.
- **Technical log data.** Like most web services, our servers record
technical logs: IP address, user agent, request paths, timestamps, status
codes, and error traces. We use them for operating, securing, and debugging
the Service and for abuse prevention.
docs/icp-mcp-privacy-policy-draft.md:114
- The “only” claim is contradicted by the generic canister tools and the following paragraph: user-directed arguments are forwarded to Internet Computer applications whose operators may be third parties. Since this section is intended to satisfy the third-party-sharing disclosure requirement, it must explicitly include those recipients.
The Service shares data only with infrastructure required to perform your
requests, operated by DFINITY Foundation: the Internet Computer API boundary
nodes (which submit your requests to the network), Internet Identity
(`id.ai`), the public canister-metadata service at
`dashboard.internetcomputer.org`, and the developer-skills service at
docs/icp-mcp-privacy-policy-draft.md:131
- Dynamic OAuth client registrations are an exception to every assertion here: production explicitly writes them to
/var/lib/imcp2/oauth-clients.json, preserves them across restarts, and has no time-based expiry (deploy/native/imcp2.service:18-22,src/auth.rs:192-220). Publishing this retention statement as written would materially misrepresent stored connection data.
Session, authorization, account, and connection data are held in the
Service's volatile memory only. They are never written to disk, they expire
no later than the session duration you chose (at most 30 days), and they are
lost on a server restart. Tool-call data is processed transiently and not
docs/icp-mcp-privacy-policy-draft.md:1
- The PR description says this change adds only
anthropic-directory-submission.mdand contains no other document, but this is a separate 158-line legal-policy draft with operational prerequisites. Please update the PR description/change list so reviewers and legal stakeholders are explicitly made aware of this additional deliverable.
# ICP MCP Privacy Policy (DRAFT for legal review)
docs/anthropic-directory-submission.md:102
- OAuth state is not entirely in-memory. DCR registrations are persisted to disk and survive restarts (
src/auth.rs:192-220;deploy/native/imcp2.service:18-22), with LRU capacity eviction rather than a 30-day expiry. This readiness guidance feeds the privacy policy, so it must call out that separate retention behavior.
- **Storage/retention:** session and OAuth state is held in bounded
**in-memory** stores only (lost on restart; sessions capped at the II grant
duration, ≤30 days); host-side request/tracing logs (including client IP
addresses at the TLS proxy) with their retention window.
docs/anthropic-directory-submission.md:111
- “None beyond DFINITY-operated services” is false for
canister_queryandcanister_update_call: the server forwards user-supplied calls and arguments to arbitrary Internet Computer applications, which this document itself recognizes may be operated by third parties. The submission package should disclose those user-selected recipients rather than prepare an inaccurate third-party declaration.
- **Third parties:** none beyond DFINITY-operated services (boundary nodes,
`dashboard.internetcomputer.org`, `skills.internetcomputer.org`, Internet
Identity); no analytics on the MCP endpoints today (say so explicitly, or
disclose them if added).
docs/anthropic-directory-submission.md:225
- The “first-party APIs only” portal answer is inaccurate because the generic canister tools invoke arbitrary user-selected application APIs, and those applications may be third-party-operated. This could make a compliance acknowledgment untruthful; disclose that behavior and confirm how Anthropic classifies public canister APIs before selecting this answer.
This issue also appears on line 240 of the same file.
- **Data handling:** first-party APIs only — the server talks to the IC
through DFINITY-operated boundary-node infrastructure, and to
DFINITY-operated ancillary services (`dashboard.internetcomputer.org` public
API, `skills.internetcomputer.org`, Internet Identity at `id.ai`). No
personal-health data. No ads or sponsored content.
docs/anthropic-directory-submission.md:217
- This paste-ready field supplies the exact foundation-wide policy that blocker 1 says likely does not cover the service and cannot satisfy review. Leaving it here risks submitting a known-invalid URL; use an explicit placeholder for the dedicated policy until legal publishes it.
- **Privacy policy URL:** `https://dfinity.org/privacy` (pending blocker 1)
Everything the deployment logs lands in journald, whose default retention is size-based with no time cap, so nothing enforced the policy's 'retained for up to three months'. Install a drop-in (MaxFileSec=1week + MaxRetentionSec=12week) from deploy.sh: files rotate at most weekly and are deleted 12 weeks after their newest entry, bounding the worst case at ~91 days. The policy draft's ops note now points at the drop-in and the required rollout to both hosts. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TGhwpdTbUqQbR5AiiN8Ljw
Keeps this PR docs-only and shrinks the policy draft's ops note to a pointer at the PR that enforces the bound. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TGhwpdTbUqQbR5AiiN8Ljw
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
Suppressed comments (7)
docs/icp-mcp-privacy-policy-draft.md:90
- This misstates the persisted OAuth registration.
ClientRegstores the generated client ID and redirect URIs on disk, butclient_nameis only echoed in the registration response and discarded (src/auth.rs:160-225,1952-1969). The policy should disclose the fields and disk persistence that actually occur.
- **Connection (OAuth) data.** When an AI assistant connects, the Service
stores its OAuth client registration (redirect address and client name) and
issues short-lived authorization codes and access tokens whose lifetime is
capped by the session duration you chose.
docs/icp-mcp-privacy-policy-draft.md:111
- The Service does contact non-DFINITY infrastructure.
open_app,resolve_app, and app discovery issue HTTPS requests to user-selected app domains (including/, well-known documents,ai-connect.html,env.json, and scripts; seesrc/discover.rs:648-767,1132-1194). Those third-party operators receive the Service's network/request metadata, so the claim that sharing is only with DFINITY-operated infrastructure is inaccurate.
The Service shares data only with infrastructure required to perform your
requests, operated by DFINITY Foundation: the Internet Computer API boundary
nodes (which submit your requests to the network), Internet Identity
(`id.ai`), the public canister-metadata service at
`dashboard.internetcomputer.org`, and the developer-skills service at
docs/icp-mcp-privacy-policy-draft.md:130
- OAuth client registrations are explicitly persisted across restarts in
/var/lib/imcp2/oauth-clients.json(deploy/native/imcp2.service:18-22,src/auth.rs:192-225). They have no session-duration expiry and remain until LRU eviction, so including all “connection data” in the volatile-memory/30-day statement is false and would publish an incorrect retention commitment.
Session, authorization, account, and connection data are held in the
Service's volatile memory only. They are never written to disk, they expire
no later than the session duration you chose (at most 30 days), and they are
lost on a server restart. Tool-call data is processed transiently and not
retained after the call completes. Technical logs are retained for up to
three months and then deleted.
docs/anthropic-directory-submission.md:225
- “First-party APIs only” is not true for the implemented tool set: app resolution/discovery sends direct HTTPS requests to arbitrary user-selected application domains (
src/discover.rs:648-767,1132-1194). This affects a portal compliance acknowledgment, so the field must disclose those third-party app requests or the tools must be excluded before submission.
- **Data handling:** first-party APIs only — the server talks to the IC
through DFINITY-operated boundary-node infrastructure, and to
DFINITY-operated ancillary services (`dashboard.internetcomputer.org` public
API, `skills.internetcomputer.org`, Internet Identity at `id.ai`). No
personal-health data. No ads or sponsored content.
docs/icp-mcp-privacy-policy-draft.md:103
- Authentication events log pseudonymous session IDs and principals at info level (
src/auth.rs:1725-1872,src/identities.rs:567-652), but those retained identifiers are absent from this description. Add them so the policy covers the personal/identifying fields actually written to journald.
- **Technical log data.** Like most web services, our servers record
technical logs: IP address, user agent, request paths, timestamps, status
codes, and error traces. We use them for operating, securing, and debugging
the Service and for abuse prevention.
docs/icp-mcp-privacy-policy-draft.md:74
- The documented cookie name does not match the implementation:
src/auth.rssetsmcp_connect, notsid. A published policy using the wrong name prevents users or auditors from identifying the disclosed cookie.
This issue also appears in the following locations of the same file:
- line 87
- line 100
- line 107
- line 125
sets one transient cookie (`sid`; HttpOnly, Secure, SameSite=Lax). This
docs/anthropic-directory-submission.md:102
- This repeats the incorrect in-memory-only claim from the policy draft. Dynamic client registrations (client IDs, redirect URIs, and last-used values) are persisted to disk across restarts and do not expire with the user session (
src/auth.rs:160-225,deploy/native/imcp2.service:18-22). The submission/legal checklist needs to disclose their actual retention.
This issue also appears on line 221 of the same file.
- **Storage/retention:** session and OAuth state is held in bounded
**in-memory** stores only (lost on restart; sessions capped at the II grant
duration, ≤30 days); host-side request/tracing logs (including client IP
addresses at the TLS proxy) with their retention window.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
Suppressed comments (9)
docs/anthropic-directory-submission.md:224
- Calling this “first-party APIs only” contradicts the generic canister-call functionality and
open_app/resolve_app, which directly fetch user-selected application origins. Because the portal has a first-party-API acknowledgment, eligibility and the truthful portal answer must be resolved before submission rather than presenting this text as paste-ready.
- **Data handling:** first-party APIs only — the server talks to the IC
through DFINITY-operated boundary-node infrastructure, and to
DFINITY-operated ancillary services (`dashboard.internetcomputer.org` public
API, `skills.internetcomputer.org`, Internet Identity at `id.ai`). No
docs/anthropic-directory-submission.md:257
- The claim that every acknowledgment except financial transactions is straightforwardly true overlooks the unresolved first-party-API issue above: the connector can call arbitrary third-party canisters and fetch third-party app origins. This acknowledgment should remain blocked pending Anthropic's interpretation or a directory-safe tool profile.
Topics: directory guidelines, first-party API usage, financial transactions,
AI media generation, prompt injection, conversation-data collection, public
documentation. All are straightforwardly true for IMCP2 **except financial
transactions** (blocker 2): resolve that before checking the box. The server
docs/icp-mcp-privacy-policy-draft.md:72
- The cookie is actually named
mcp_connect, notsid(CONNECT_COOKIEand theSet-Cookieconstruction insrc/auth.rs). A published policy would therefore misidentify the service's only cookie.
sets one transient cookie (`sid`; HttpOnly, Secure, SameSite=Lax). This
docs/icp-mcp-privacy-policy-draft.md:109
- The “only” claim conflicts with the next paragraph and the implementation. Generic tool calls forward arguments and a per-application principal to user-selected applications, and app discovery fetches metadata from user-supplied origins (
src/discover.rs:653,1132-1194); those recipients can be third-party operators. They need to be disclosed rather than categorized as DFINITY infrastructure.
The Service shares data only with infrastructure required to perform your
requests, operated by DFINITY Foundation: the Internet Computer API boundary
nodes (which submit your requests to the network), Internet Identity
(`id.ai`), the public canister-metadata service at
`dashboard.internetcomputer.org`, and the developer-skills service at
docs/icp-mcp-privacy-policy-draft.md:88
- This overstates what is retained and omits what is actually persisted.
RegisterRequest.client_nameis only echoed in the registration response, while the on-diskClientRegstores the generated client ID, redirect URIs, and last-used timestamp. The policy should describe the real fields.
- **Connection (OAuth) data.** When an AI assistant connects, the Service
stores its OAuth client registration (redirect address and client name) and
issues short-lived authorization codes and access tokens whose lifetime is
capped by the session duration you chose.
docs/icp-mcp-privacy-policy-draft.md:101
- The deployed logging path does not record client IP addresses or user agents:
src/main.rs:46-61logs method/path/status/latency, and the Caddyfile has no access log. Conversely, info-level auth/session events log session IDs and session principals (src/auth.rs:1769,1872). This list both over-discloses absent fields and omits identifiers that are retained.
- **Technical log data.** Like most web services, our servers record
technical logs: IP address, user agent, request paths, timestamps, status
codes, and error traces. We use them for operating, securing, and debugging
the Service and for abuse prevention.
docs/anthropic-directory-submission.md:102
- This readiness mapping repeats the incorrect in-memory-only claim. Dynamic client registrations are persisted across deploys in
OAUTH_CLIENTS_FILEand have no time-based expiration, so the submission package must treat their retention as an unresolved legal/operational decision rather than implying the ≤30-day session bound applies.
- **Storage/retention:** session and OAuth state is held in bounded
**in-memory** stores only (lost on restart; sessions capped at the II grant
duration, ≤30 days); host-side request/tracing logs (including client IP
addresses at the TLS proxy) with their retention window.
docs/anthropic-directory-submission.md:111
- “None beyond DFINITY-operated services” is not accurate for this connector: user-selected canister calls send the per-app principal and tool arguments to application operators, and app discovery performs HTTPS requests to user-supplied application origins. These third-party recipients need to be included in the privacy-policy mapping.
- **Third parties:** none beyond DFINITY-operated services (boundary nodes,
`dashboard.internetcomputer.org`, `skills.internetcomputer.org`, Internet
Identity); no analytics on the MCP endpoints today (say so explicitly, or
disclose them if added).
docs/icp-mcp-privacy-policy-draft.md:128
- OAuth client registrations are explicitly written to
%S/imcp2/oauth-clients.jsonand survive restarts (deploy/native/imcp2.service:18-22), so grouping all connection data under “volatile memory only” is false. Also, session IDs and principals are written to technical logs. The persisted registration store has no time-based expiry; entries remain until LRU eviction at 10,000 registrations.
Session, authorization, account, and connection data are held in the
Service's volatile memory only. They are never written to disk, they expire
no later than the session duration you chose (at most 30 days), and they are
lost on a server restart. Tool-call data is processed transiently and not
retained after the call completes. Technical logs are retained for up to
…review) Every claim in the review verified against the code and stands: - The sign-in cookie is named mcp_connect (CONNECT_COOKIE, src/auth.rs), not sid. - OAuth client registrations are NOT in-memory: they persist to OAUTH_CLIENTS_FILE in the unit's StateDirectory, survive restarts, and expire only by LRU eviction (10,000 cap); stored fields are the generated client id, redirect URIs, and last-used timestamp, while client_name is echoed but never stored. - The request log records method/path/status/latency (never query strings or bodies) and auth events log session ids and the Service-scoped principal; client IPs and user agents are not systematically recorded (Caddy runs without access logs). The policy previously over-disclosed absent fields and omitted real ones. - Data sharing now names the user-directed recipients: applications receive the request arguments and per-app identity, and app discovery fetches user-supplied origins; DFINITY infrastructure is not the only recipient. - The submission doc no longer pre-fills dfinity.org/privacy (blocker 1 says it is insufficient; an incomplete policy is immediate rejection), no longer claims first-party APIs only, and flags the first-party-API acknowledgment as unresolved alongside financial transactions. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TGhwpdTbUqQbR5AiiN8Ljw
The summary paragraph still stated the five-minute figure as the Service's own; section 4 already attributes it. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TGhwpdTbUqQbR5AiiN8Ljw
|
Correction to my two previous comments: the commit with those policy fixes is a5e776d, not Generated by Claude Code |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.
Suppressed comments (2)
src/assets/privacy-policy.html:275
- The in-memory record is not discarded exactly when the selected duration elapses. Expiry makes the session unusable then, but
spawn_session_reaperphysically removes expired session keys and cached delegations only on its periodic 60-second sweep (and may run later if the runtime stalls). Since this is the served retention statement, describe cleanup as occurring on the next periodic sweep, and keep the Markdown source synchronized.
memory (the session key and any cached application delegations, which without
a valid authorization can no longer be used to act for you) is discarded when
the session duration you originally chose elapses, or when the Service
docs/anthropic-directory-submission.md:50
- This overstates the unit-test guarantee.
every_tool_has_correct_read_write_annotationschecks the tool count plusread_only_hintanddestructive_hint, but never assertstitle,idempotent_hint, oropen_world_hint; those fields could regress while this readiness check still passes. Either extend the test or describe the narrower coverage accurately.
| Every tool: `title` + `readOnlyHint`/`destructiveHint` (+ `idempotentHint`, `openWorldHint`) | ✅ on all 26 tools, enforced by a unit test ([`src/tools.rs`](../src/tools.rs)) |
…INITY-operated The sharing section labelled the whole dependency list 'operated by DFINITY Foundation', which is wrong for the two that matter most: Internet Identity (id.ai) and the public API boundary nodes the server submits through (IC_URL = https://icp-api.io) are part of the Internet Computer and governed by the NNS DAO. Only dashboard.internetcomputer.org and skills.internetcomputer.org are DFINITY-operated. Misidentifying who receives data is a substantive error in a privacy policy, so this is corrected in the served page and its source text, and in the submission package's data-handling and first-party-API notes — where it also strengthens the case that 'first-party APIs only' cannot be acknowledged as a clean yes. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TGhwpdTbUqQbR5AiiN8Ljw
|
Substantive correction in 1b9da7c: the policy's sharing section described the Service's whole dependency list as "operated by DFINITY Foundation". That is wrong for the two most significant recipients — Internet Identity ( Misidentifying who receives personal data is a real defect in a privacy policy, so this is fixed in the served page and its source text. It also propagates to the submission package: the data-handling draft and the first-party-API acknowledgment now note that the connector reaches the network through DAO-governed infrastructure as well as forwarding user-directed calls to third-party canisters — two independent reasons "first-party APIs only" cannot be checked as a clean yes, which strengthens the case for asking mcp-review rather than self-certifying. Revocation timing is attributed to Internet Identity for the same reason (cb38b02): with II under DAO governance, that attribution is accurate rather than a disclaimer. Generated by Claude Code |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.
Suppressed comments (3)
src/assets/privacy-policy.html:275
- This served policy promises that the in-memory session record is discarded when the duration elapses, but expired records are actually removed by the 60-second reaper in
src/lib.rs:345-378. Consequently the key and delegation cache can remain until a later cleanup tick; disclose that cadence rather than an immediate-deletion guarantee.
within at most five minutes, after which the Internet Computer rejects any
request made with that authorization.</p>
docs/anthropic-directory-submission.md:273
- A Questions-only grant cannot exercise all 17 read-only-annotated tools.
icp_canister_statusis semantically read-only but invokes the management canister through update ingress, and the repository explicitly documents that Questions-only grants reject it (README.md:704-710). Calling this out prevents the reviewer from interpreting that expected reconnect error as a failed read-only tool.
> 1. The connector authenticates with Internet Identity (passkey-based). Use
> the provided test identity: open the connector's sign-in, choose
> "Continue with recovery phrase" (or first create your own identity at
> https://id.ai — takes under a minute; any identity works for read-only
docs/icp-mcp-privacy-policy-draft.md:179
- The policy says this record is discarded exactly when the selected duration elapses, but the implementation only removes expired sessions during periodic cleanup (
src/lib.rs:345-378), which runs every 60 seconds and may run later if scheduling is delayed. The session key and cached delegations can therefore remain in memory after expiry; describe the cleanup cadence instead of promising immediate deletion, and keep the served policy synchronized.
within at most five minutes, after which the Internet Computer rejects any
request made with that authorization.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.
Suppressed comments (7)
docs/anthropic-directory-submission.md:247
- The paste-ready data-handling answer is incomplete: production also contacts
ic-api.internetcomputer.org,icrc-api.internetcomputer.org, andsns-api.internetcomputer.org(src/discover.rs:1307-1319), while it does not contact thedashboard.internetcomputer.orghostname. Listing the actual services is necessary for the intended truthful first-party-API acknowledgment.
- **Data handling:** declare the gateway model honestly. DFINITY operates
the server itself plus `dashboard.internetcomputer.org` and
`skills.internetcomputer.org`, but **not** the rest of what it talks to:
src/assets/privacy-policy.html:283
- This revocation description is not true for cached default-account delegations.
Identities::delegated_identityreturns a fresh cached delegation before contacting Internet Identity (src/identities.rs:1048-1054), while the bearer token remains accepted until its original grant-aligned TTL (src/auth.rs:793-798). After revocation, such a delegation can therefore still authorize canister calls until its own expiry (normally up to one hour), and the separate OAuth token record also remains in memory. The served policy must disclose that residual window and retained token state.
<p>Revoking ends the authorization. The session record the Service holds in
memory (the session key and any cached application delegations, which without
a valid authorization can no longer be used to act for you) is discarded when
the session duration you originally chose elapses, or when the Service
docs/icp-mcp-privacy-policy-draft.md:184
- This source text repeats the inaccurate revocation guarantee from the served page. Cached default-account delegations are reused without an Internet Identity check (
src/identities.rs:1048-1054), and the bearer token remains valid until the original grant expiry, so revocation does not immediately make every cached delegation unusable or remove all authorization records. Keep the source synchronized with an accurate residual-access/retention disclosure.
Revoking ends the authorization. The session record the Service holds in
memory (the session key and any cached application delegations, which
without a valid authorization can no longer be used to act for you) is
discarded when the session duration you originally chose elapses, or when
src/assets/privacy-policy.html:235
- This recipient list names the wrong metadata host and omits two services. The production defaults call
ic-api.internetcomputer.org,icrc-api.internetcomputer.org, andsns-api.internetcomputer.org(src/discover.rs:1307-1319); no deployment override is configured. Since this section presents an exhaustive sharing disclosure, list the actual endpoints.
Identity Privacy Policy</a>. The Service also queries two services that
DFINITY Foundation does operate: the public canister-metadata service at
<code>dashboard.internetcomputer.org</code> and the developer-skills service
at <code>skills.internetcomputer.org</code>.</p>
docs/icp-mcp-privacy-policy-draft.md:136
- The source policy must match the actual metadata recipients and the served page. Discovery calls
ic-api.internetcomputer.org,icrc-api.internetcomputer.org, andsns-api.internetcomputer.org(src/discover.rs:1307-1319), notdashboard.internetcomputer.org; the current exhaustive list omits the latter two APIs.
The Service also queries two services that DFINITY Foundation does operate:
the public canister-metadata service at `dashboard.internetcomputer.org` and
the developer-skills service at `skills.internetcomputer.org`.
docs/anthropic-directory-submission.md:120
- This submission audit carries the same incomplete third-party inventory as the policy. The connector actually calls three metadata hosts—
ic-api.internetcomputer.org,icrc-api.internetcomputer.org, andsns-api.internetcomputer.org(src/discover.rs:1307-1319)—rather thandashboard.internetcomputer.org. The review email and compliance answers should identify the real recipients.
This issue also appears on line 245 of the same file.
the NNS, not DFINITY-operated**; the DFINITY-operated
`dashboard.internetcomputer.org` and `skills.internetcomputer.org`; and,
at the user's direction, the applications the user chooses to interact
docs/anthropic-directory-submission.md:50
- The “all 26, enforced by a unit test” claim overstates both the annotations and the test. Only the nine write tools set
idempotentHint; the test atsrc/tools.rs:2333-2377checks annotation presence plusreadOnlyHint/destructiveHint, but does not assert titles,idempotentHint, oropenWorldHint. Narrow the row so the readiness evidence remains auditable.
| Every tool: `title` + `readOnlyHint`/`destructiveHint` (+ `idempotentHint`, `openWorldHint`) | ✅ on all 26 tools, enforced by a unit test ([`src/tools.rs`](../src/tools.rs)) |
The connectors-directory listing needs an icon. Commit the official ICP mark as SVG plus square transparent PNGs (1024 and 512) for the portal's icon field, and mark blocker 5 done. The mark is ~2.05:1, so the exports centre it at 84% of the canvas width on a square transparent field rather than cropping. Rendered with Chromium: the mark's linearGradients (one carrying a rotate transform) are mis-rendered by lighter rasterisers. Listing icon only — the served pages keep the DFINITY wordmark for their 'Hosted by' footer. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TGhwpdTbUqQbR5AiiN8Ljw
Blocker 2 is now waiting on a reply rather than on someone sending the email. Reframe its options as 'once the answer arrives', and note that the first-party-API acknowledgment needs a follow-up if the reply does not cover it. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TGhwpdTbUqQbR5AiiN8Ljw
Blocker 3: no shared test identity. Reviewers create their own Internet Identity and follow the setup instructions on the landing page, which is the right shape for a passkey-based, device-bound authenticator that nobody can pre-provision into. Reviewer instructions rewritten to match, with an offer to provision a canister-controlling, cycles-funded identity on request — that is the one thing a fresh identity cannot exercise, and the likeliest reason a reviewer pushes back on the 'fully populated account' criterion. Blocker 2: the 2026-07-31 email asked two questions (cycles funding and canister_update_call). Two gaps recorded: the first-party-API acknowledgment was not among them and needs its own follow-up, and the mitigation the email offers for canister_update_call — blocking the well-known ledger transfer/approve methods — is bypassable via custom ledgers and forwarding canisters, so it must not be shipped as-is if the reply takes it up. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TGhwpdTbUqQbR5AiiN8Ljw
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 8 changed files in this pull request and generated no new comments.
Suppressed comments (6)
docs/icp-mcp-privacy-policy-draft.md:176
- This overstates the effect of revocation. The service accepts the bearer token until its original TTL and returns a cached application delegation without rechecking Internet Identity (
src/auth.rs:794-797,src/identities.rs:1046-1050); that delegation can remain valid for up to one hour after issuance. Correct both policy copies to describe this residual window instead of saying every request is rejected and cached delegations cannot act.
active. Revocation is carried out by Internet Identity and takes effect
within at most five minutes, after which the Internet Computer rejects any
request made with that authorization.
src/assets/privacy-policy.html:275
- Revocation does not currently stop every authorized action after five minutes. Bearer-token validation only checks the original TTL (
src/auth.rs:794-797), whiledelegated_identityreuses a fresh cached application delegation without contacting Internet Identity (src/identities.rs:1046-1050); such delegations can live for up to one hour (src/identities.rs:1121-1123). Consequently, the following claim that cached delegations can no longer act is false. Update both policy copies to disclose that revocation prevents new delegations after Internet Identity observes it, but a cached delegation may remain usable until its own expiry, or change the runtime to enforce immediate revocation.
still active. Revocation is carried out by Internet Identity and takes effect
within at most five minutes, after which the Internet Computer rejects any
request made with that authorization.</p>
docs/icp-mcp-privacy-policy-draft.md:94
- Open DCR cannot guarantee that a registration contains no personal data. Redirect URIs are persisted verbatim (
src/auth.rs:1952-1957), and loopback callbacks allow any client-supplied path (src/auth.rs:2089-2094), which can include a user identifier. Remove this categorical claim or disclose that redirect-address data is client supplied, and make the same correction in the served policy.
A registration identifies the AI assistant software, not you, and contains
no personal data about you; it is kept on disk so the assistant can
reconnect across Service restarts, and is retained until it is displaced
docs/icp-mcp-privacy-policy-draft.md:159
- This repeats the unsupported assertion that persisted OAuth registrations cannot contain personal data. Because the client-controlled redirect URI is stored verbatim and loopback paths are unrestricted, it may contain identifying path data. Align this retention statement and the served policy with the actual fields rather than guaranteeing their legal classification.
restart. OAuth client registrations, which contain no personal data about
you, are kept on disk and retained until displaced from a bounded store.
docs/anthropic-directory-submission.md:105
- The implementation does not guarantee that these registrations contain no user data: it persists client-provided redirect URIs verbatim, and accepted loopback callbacks may have arbitrary paths that include identifiers (
src/auth.rs:1939-1957,src/auth.rs:2089-2094). Describe the stored fields without categorically classifying them as non-personal, and update the policy copies consistently.
grant duration, ≤30 days) — but OAuth client registrations are **persisted
to disk** (`OAUTH_CLIENTS_FILE`, kept in the unit's `StateDirectory` so
client ids survive redeploys) with no time-based expiry, only LRU eviction
at 10,000 entries; they contain no user personal data (client id, redirect
URI, last-used timestamp). Host-side tracing logs record method, path,
docs/anthropic-directory-submission.md:173
- The stated ≤5-minute revocation mitigation omits already cached application delegations. After Internet Identity rejects new delegation requests, the service can still reuse an existing delegation without contacting it (
src/identities.rs:1046-1050), and the default delegation lifetime is up to one hour (src/identities.rs:1121-1123). Disclose that residual window here so the submission does not overstate the safeguard.
another path. Note that a blocklist of known ledger canisters or transfer
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 8 changed files in this pull request and generated no new comments.
Suppressed comments (7)
docs/icp-mcp-privacy-policy-draft.md:182
- The session record is not discarded exactly when the chosen duration elapses. Expired records are removed by the 60-second reaper (
src/lib.rs:363-379), so absent a restart they can remain in memory until the next sweep. State the actual cleanup bound (for example, shortly after expiry/within the reaper interval) and keep the served policy synchronized.
Revoking ends the authorization. The session record the Service holds in
memory (the session key and any cached application delegations, which
without a valid authorization can no longer be used to act for you) is
discarded when the session duration you originally chose elapses, or when
the Service restarts, whichever comes first. Apart from that record and the
src/assets/privacy-policy.html:280
- The session record is not discarded exactly when the chosen duration elapses. Expired records are removed by the 60-second reaper (
src/lib.rs:363-379), so absent a restart they can remain in memory until the next sweep. State the actual cleanup bound and keep the Markdown source synchronized.
<p>Revoking ends the authorization. The session record the Service holds in
memory (the session key and any cached application delegations, which without
a valid authorization can no longer be used to act for you) is discarded when
the session duration you originally chose elapses, or when the Service
docs/icp-mcp-privacy-policy-draft.md:141
- This says every application request carries the user's per-application identity, but
canister_queryexplicitly supports anonymous Candid queries whenderivation_originis omitted (src/calls.rs:252-258), and the policy itself says public reads require no sign-in. Qualify this as applying to authenticated requests; anonymous reads carry no user-specific principal. Keep the served HTML copy synchronized.
This issue also appears on line 178 of the same file.
Third, at your direction, with the applications you choose to interact
with. A question or action you send to an application necessarily carries
your request arguments and your per-application identity to that application
and its operator, who may be a third party; and when you ask the Service to
src/assets/privacy-policy.html:240
- This says every application request carries the user's per-application identity, but
canister_queryexplicitly supports anonymous Candid queries whenderivation_originis omitted (src/calls.rs:252-258). Qualify this as applying to authenticated requests; anonymous reads carry no user-specific principal. Keep the Markdown source copy synchronized.
This issue also appears on line 277 of the same file.
<p>Third, at your direction, with the applications you choose to interact
with. A question or action you send to an application necessarily carries
your request arguments and your per-application identity to that application
and its operator, who may be a third party; and when you ask the Service to
docs/anthropic-directory-submission.md:346
- The parenthetical says both acknowledgments were asked about on July 31, but lines 157-158 and 288-290 explicitly say the first-party-API question was not included and still needs a follow-up. Distinguish the already-sent financial inquiry from the unsent first-party follow-up so the checklist cannot be mistaken for completed outreach.
- [ ] Reply received from [email protected] settling the financial-transactions and first-party-API acknowledgments (asked 2026-07-31; blocker 2)
docs/anthropic-directory-submission.md:195
- The PR description lists a recovery-phrase-based reviewer identity as a remaining blocker, while this section decides on self-service identity creation and the checklist marks reviewer access complete. These are materially different submission plans; update the PR description (or this section if the shared identity is still required) so reviewers know which plan is authoritative.
### 3. Reviewer access — self-serve, no shared identity
**Decided:** reviewers create their own Internet Identity rather than being
handed a shared test account, and the test-credentials field points them at
the setup instructions on <https://mcp.internetcomputer.org>. This is the
docs/anthropic-directory-submission.md:220
- The PR description still calls the icon asset a remaining blocker, but this section says it is ready and the SVG plus both PNG exports are present. Update the PR description to remove the resolved icon blocker (or mark this section unresolved if the assets are not final).
### 5. Icon asset — ready
The official ICP mark is committed at
[`assets/icp-logo.svg`](assets/icp-logo.svg), with square, transparent PNG
exports beside it for the portal's icon field:
Post-audit merges (#87-#115) that changed user-visible or documented behavior, folded into the README: - II's consent screen requires an explicit access-level choice (Questions only vs Actions & questions); it is not a read-only-by-default opt-out. - Name the connect binding cookie correctly: mcp_connect, not sid, with Secure conditional on an https PUBLIC_URL. - Document the official pages (/privacy-policy, /support, /terms) and the OpenAI domain-verification endpoint with its env-gated 404 behavior (#109, #112, #115). - /version now reports the served II pairings via the instances array (#94). - CWE-674: note the post-parse depth bounds on interface alias chains (#87) and the type-less reply decode/render path (#108). - Companion-control note: percent-encoded slashes/dots in redirect paths are rejected (#107). - Deploy: describe the reference native deployment pipeline (staging tracks main, release-* tags ship production with the binary attached) (#81, #93). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TGhwpdTbUqQbR5AiiN8Ljw
Replace the landing page at `/` with the latest self-contained bundle exported from Claude Design. Its cross-page links are rewritten from the export's relative `./<Name>.html` hrefs to the server's existing routes (`/privacy-policy`, `/terms`, `/support`), so no URLs change. The privacy, terms, and support pages are deliberately left as they are on main: their text is reviewed copy (privacy review #114, directory pages #109/#115) and is not sourced from the design tool. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Replace the landing page at `/` with the latest self-contained bundle exported from Claude Design. Its cross-page links are rewritten from the export's relative `./<Name>.html` hrefs to the server's existing routes (`/privacy-policy`, `/terms`, `/support`), so no URLs change. The privacy, terms, and support pages are deliberately left as they are on main: their text is reviewed copy (privacy review #114, directory pages #109/#115) and is not sourced from the design tool. Co-authored-by: Claude Opus 4.8 <[email protected]>
Summary
Everything needed to publish the production deployment (
https://mcp.internetcomputer.org/mcp) to Anthropic's Connectors Directory: a verified submission guide with every portal field pre-drafted, the privacy policy's source text, corrections to the served policy page, and the landing-page footer link to it.Key contents:
docs/anthropic-directory-submission.md): submission happens in-product atclaude.ai/admin-settings/directory/submissions/new; requires a Claude Team/Enterprise org with Owner or delegated Directory management access; governed by the Anthropic Software Directory Policy (2026-04-15) and Terms (2026-03-16). The open MCP Registry is explicitly not a prerequisite.201for theclaude.ai/api/mcp/auth_callbackredirect), all four discovery documents,title+readOnlyHint/destructiveHinton all 26 tools (test-enforced), separate read/write tools, structured output.canister_update_calland theicpfunding paths) and the first-party-API acknowledgment — both to be settled with [email protected] before the compliance step, since neither can be acknowledged truthfully today. Also: a recovery-phrase-based reviewer test identity, the production release, and an icon asset.docs/icp-mcp-privacy-policy-draft.md): the text served by Serve the ICP MCP privacy policy at /privacy-policy #112, kept in sync with the page. Effective date August 3, 2026.Unauthorizeddoes not evict the session andprune_stalekeys off the original expiry); and Internet Identity and the API boundary nodes are DAO-governed via the NNS, not DFINITY-operated, which the sharing section previously got wrong. Revocation timing is attributed to Internet Identity accordingly./privacy-policy. The landing page is a bundler shell whose document lives as a JS string literal insrc/assets/index.html, so this is a surgical edit to that string — matching the sibling "Hosted by DFINITY" anchor's styling and spaced by the flex row's existing gap — not a bundle regeneration.Related issues
Companion to #112 (the policy page and route, merged) and #111 (journald retention bound, merged).
Changes
docs/anthropic-directory-submission.md— submission guide, readiness audit, blockers, paste-ready portal field drafts.docs/icp-mcp-privacy-policy-draft.md— the policy's source text.src/assets/privacy-policy.html: the three corrections described above.src/assets/index.html: add the footer link to/privacy-policy.src/main.rs: the route's doc comment no longer describes the landing-page link as outstanding.Testing
cargo build --locked --all-targetscargo test --locked --all-targetsPrivacy policy → /privacy-policy, clicking it lands on the policy page (title "ICP MCP Privacy Policy", effective date August 3, 2026)src/assets/index.html's document string still parses as a valid string literal after the editcargo fmt --all/cargo clippy --all-targets— no warnings introduced;cargo fmt --checkreports tree-wide diffs from a newer local rustfmt on untouched files, so no reformat was appliednpm test --prefix monitoring/mcp-status— n/a, dashboard unchangedDirectory facts were verified against the official Anthropic docs (submission, review-criteria, authentication pages; Directory Policy/Terms) and against the live production endpoints on 2026-07-31.
Checklist