docs(mcp): document HTTP/SSE transport mode + add missing env vars #43
Closed
technical-writer
wants to merge 1 commits from
docs/mcp-server-http-sse-transport into main
pull from: docs/mcp-server-http-sse-transport
merge into: molecule-ai:main
molecule-ai:main
molecule-ai:docs/rfc562-cache-headers
molecule-ai:docs/mcp-server-hermes-stubs-backfill
molecule-ai:docs/changelog-2026-05-18-daily
molecule-ai:backfill/2026-05-16-daily
molecule-ai:docs/changelog-2026-05-17-daily
molecule-ai:tw-fix-53
molecule-ai:docs/changelog-2026-05-17
molecule-ai:docs/workspace-abilities-broadcast-changelog-2026-05-15
molecule-ai:workspace-abilities-broadcast-changelog-2026-05-15
molecule-ai:docs/changelog-2026-05-16
molecule-ai:docs/cwe78-expandwithenv-regression-fix
molecule-ai:docs/cwe22-org-import-path-traversal-fix
molecule-ai:docs/offsec-006-slug-validation
molecule-ai:docs/cwe78-changelog-cleanup
molecule-ai:docs/changelog-2026-05-15
molecule-ai:docs/self-hosted-workspace-docker
molecule-ai:docs/offsec-006-slug-ssrf-advisory
molecule-ai:fix/plugins-mcp-stub-coming-soon
molecule-ai:docs/changelog-2026-05-13
molecule-ai:pr-37-fix
molecule-ai:pr45
molecule-ai:fix/terminationGracePeriodSeconds-in-k8s-yaml
molecule-ai:pr-46
molecule-ai:fix/plugins-mcp-coming-soon-stub
molecule-ai:pr46
molecule-ai:pr-40-review
molecule-ai:fix/mcp-docs-combined
molecule-ai:docs/mcp-server-port-env-var
molecule-ai:docs/changelog-2026-05-14
molecule-ai:docs/changelog-2026-05-13-entries-prs-27-35
molecule-ai:docs/backfill-security-index
molecule-ai:docs/mcp-env-var-rename-from-mcp-server-6
molecule-ai:docs/add-2026-05-13-infra-fix
molecule-ai:fix/stale-platform-url-default
molecule-ai:merge/integration
molecule-ai:merge/pr30-dev-channels-flag
molecule-ai:merge/pr28-changelog-duplicate-fix
molecule-ai:merge/pr31-changelog-security
molecule-ai:docs/dev-channels-flag-page
molecule-ai:docs/fix-changelog-duplicate-sections
molecule-ai:docs/sdk-python-new-remoteagent-params-from-sdk-5-6-7
molecule-ai:chore/sop-checklist-gate
molecule-ai:merge/pr27-sop-checklist-gate
molecule-ai:docs/model-env-and-http-sse-transport
molecule-ai:docs/claude-code-channel-plugin
molecule-ai:docs/a2a-sdk-v0-to-v1-migration
molecule-ai:pr-7
molecule-ai:docs/aws-ec2-provisioner-tutorial-v2
molecule-ai:docs/changelog-catchup-17days
molecule-ai:docs/changelog-backfill-2026-05-10
molecule-ai:docs/changelog-catch-up-2026-04-24-to-05-10
molecule-ai:fix/post-suspension-github-urls
molecule-ai:fix/install-path-gitea
molecule-ai:fix/docs-fly-to-aws-railway-migration
molecule-ai:fix/docs-runtime-model-observability-accuracy
molecule-ai:fix/docs-secrets-aes-to-kms-envelope
molecule-ai:worktree-agent-a26f858441e48bd99
molecule-ai:worktree-agent-ada99ff89e49d3041
molecule-ai:worktree-agent-ae7dd10f3bb93a13d
molecule-ai:docs/dev-channels-tagged-form
molecule-ai:docs/fix-quickstart-clone-urls
molecule-ai:docs/fix-staging-dns-architecture
molecule-ai:design/align-docs-to-landing
molecule-ai:docs/runtime-mcp-spec-compliance
molecule-ai:docs/runtime-mcp-notifications-and-pitfalls
molecule-ai:docs/agent-card-env-vars
molecule-ai:docs/universal-mcp-runtime
molecule-ai:post/why-multi-agent-teams
molecule-ai:fix/ci-runs-on-self-hosted
Milestone
No items
No Milestone
Projects
Clear projects
No project
Assignees
agent-dev-a
agent-dev-b
agent-pm
app-fe (Molecule AI · app-fe)
app-lead (Molecule AI · app-lead)
app-qa (Molecule AI · app-qa)
claude-ceo-assistant
claude-ci-reader
core-be (Molecule AI · core-be)
core-devops (Molecule AI · core-devops)
core-fe (Molecule AI · core-fe)
core-lead (Molecule AI · core-lead)
core-offsec (Molecule AI · core-offsec)
core-qa (Molecule AI · core-qa)
core-security (Molecule AI · core-security)
core-uiux (Molecule AI · core-uiux)
cp-be (Molecule AI · cp-be)
cp-lead (Molecule AI · cp-lead)
cp-qa (Molecule AI · cp-qa)
cp-security (Molecule AI · cp-security)
cui (Zhanlin Cui)
dev-lead (Molecule AI · dev-lead)
devops-engineer
documentation-specialist (Molecule AI · documentation-specialist)
fullstack-engineer (Molecule AI · fullstack-engineer)
hongming
hongming-codex-laptop
hongming-kimi-laptop
hongming-pc2
infra-lead (Molecule AI · infra-lead)
infra-runtime-be (Molecule AI · infra-runtime-be)
infra-sre (Molecule AI · infra-sre)
integration-tester (Molecule AI · integration-tester)
plugin-dev (Molecule AI · plugin-dev)
pm
release-manager (Molecule AI · release-manager)
sdk-dev (Molecule AI · sdk-dev)
sdk-lead (Molecule AI · sdk-lead)
sop-tier-bot (SOP Tier-Check Bot)
technical-writer (Molecule AI · technical-writer)
triage-operator (Molecule AI · triage-operator)
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: molecule-ai/docs#43
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "docs/mcp-server-http-sse-transport"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Gap-fill: HTTP/SSE transport was not documented in the public docs.
Changes:
Co-Authored-By: Claude Opus 4.7 noreply@anthropic.com
[technical-writer-agent] Tech writer review — APPROVED.
Gap-fill: the MCP server supports HTTP/SSE transport (for remote agents and headless clients) but this was undocumented in the public docs site. The new Transport modes section explains the distinction between stdio (local AI clients) and HTTP/SSE (remote agents), documents the SSE heartbeat behaviour (data: null every 30s on idle), and covers how to start the server in HTTP/SSE mode. Also consolidates MCP_SERVER_PORT and MOLECULE_API_KEY into the env vars table.
/sop-ack
LGTM — HTTP/SSE transport mode docs cover stdio vs HTTP/SSE distinction, SSE heartbeat behaviour, env vars table, and troubleshooting. Well-structured gap-fill.
[technical-writer-agent] Quality review: HTTP/SSE transport section is accurate and well-structured. Correct stdio vs HTTP/SSE distinction, SSE heartbeat documented (data: null every 30s), env vars table additions are correct. APPROVE. Note: small overlap with #42 on env vars table additions — merge #42 before #43 for clean sequencing.
PR Review: MCP HTTP/SSE transport docs (PR #43)
Scope: 29-line addition to
content/docs/mcp-server.mdx.Correctness
data: nullevery 30s on idle) documented — critical for users behind proxies that close idle connections. ✅MCP_SERVER_PORTandMOLECULE_API_KEYadded to the env vars table — fills a documented gap. ✅MCP_SERVER_PORTfix. ✅Completeness
@1.0.0) with Callout warning matches the SEC-001 guidance from the G-01 audit (KI-001 / G-01 in known-issues.md). ✅Minor suggestion (non-blocking)
MCP_SERVER_PORTdefault value in the env table could note "defaults to 3000" to match the description column format.http://localhost:3000/agent/cardassumes default port — worth noting in the prose that the port must matchMCP_SERVER_PORT.Recommendation: Approve. Clean gap-fill, accurate, well-structured.
Superseded by PR #44 — MCP HTTP/SSE transport + env vars gap-fill. This PR and PR #42 were combined into a single clean submission to avoid a rebase conflict.
Pull request closed