Skip to content

Conversation

@bokelley
Copy link
Contributor

@bokelley bokelley commented Feb 3, 2026

Summary

  • Add documentation recommending agents use MCP transport's sessionId as fallback when clients don't provide explicit context_id
  • Document implementation pattern using MCP SDK's extra.sessionId parameter
  • Include fallback behavior table and benefits
  • Add separate best practices for MCP agents vs MCP buyers
  • Link to Snap AdCP Agent as reference implementation

Closes #939

Test plan

  • All existing tests pass
  • Changeset created
  • Review documentation renders correctly in Mintlify

🤖 Generated with Claude Code

bokelley and others added 4 commits February 3, 2026 18:55
Document how AdCP agents should use the MCP transport's sessionId as a
fallback when clients don't provide explicit context_id. This enables
automatic session persistence for simple clients like ChatGPT and Claude
while preserving full control for advanced buyers.

Closes #939

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Move the session ID fallback recommendation from a standalone section
into the existing MCP context documentation for better flow.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bokelley bokelley merged commit ab7eef7 into main Feb 4, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Recommendation: Use transport session ID as fallback for context_id

2 participants