COAZ-MCP defines no mapping for `initialize`, so Unknown Methods denies it
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 160
- Forks
- 40
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 23
Description
Unknown Methods says:
A request whose
methodhas neither a default mapping defined by this binding nor an applicable declared mapping, and that is not in the pass-through set above, MUST be denied.
initialize does not appear anywhere in the document. It has no default mapping, and the pass-through set is ping and all notifications, so it is not there either. It is a client-to-server request carrying an id, so the Server-initiated Requests carve-out does not reach it. A conforming PEP therefore MUST deny initialize, and no session can be established through it.
notifications/initialized does pass through under notifications/*, so the notification half of the handshake is allowed while the request half is denied.
Either add initialize to the pass-through set, or give it a default mapping. The mapping form also lets a PDP refuse a session by protocol version or agent:
// initialize
{ "evaluation": {
"subject": { "type": "identity", "id": "$token.sub" },
"context": { "agent": "$token.?client_id", "protocol_version": "$params.protocolVersion" },
"action": { "name": "initialize" },
"resource": { "type": "mcp_server", "id": "$token.aud" } } }
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the COAZ-MCP document's Unknown Methods section and review how the pass-through set, default mappings, and Server-initiated Requests carve-out handle the handshake. Decide how initialize should be permitted, update the specification so the request and notifications/initialized are consistent, and verify that the resulting text allows a conforming session to begin.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100