Skip to content

feat(mcp): add draft endpoint probe - #17

Merged
bkearns merged 1 commit into
mainfrom
feature/mcp-draft-probe
Jul 21, 2026
Merged

feat(mcp): add draft endpoint probe#17
bkearns merged 1 commit into
mainfrom
feature/mcp-draft-probe

Conversation

@bkearns

@bkearns bkearns commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Executive Summary

Add a black-box Forge probe for Ferrosa Memory's documented MCP draft HTTP subset. The probe uses server/discover to report whether a live endpoint is compliant, unsupported, or malformed without claiming full MCP draft conformance.

Changes

  • Add forge-mcp-probe, a reusable probe library with mock endpoint tests.
  • Add frg mcp-probe --endpoint <url> with optional HTTP Basic authentication.
  • Expose mcp_probe through Forge's stdio MCP server.
  • Validate draft request headers and metadata indirectly through server/discover, then evaluate protocol version, server identity, advertised methods, and task-resource SSE semantics.

Test Plan

  • cargo test -p forge-mcp-probe --lib
  • cargo check -p forge
  • cargo clippy -p forge-mcp-probe --lib -- -D warnings
  • cargo clippy -p forge -- -D warnings
  • Live probe against local ferrosa-memory endpoint; correctly reported unsupported before PR #169's discovery-profile change is deployed.

@bkearns
bkearns enabled auto-merge July 21, 2026 00:05
@bkearns
bkearns added this pull request to the merge queue Jul 21, 2026
Merged via the queue into main with commit 1bdb404 Jul 21, 2026
5 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.

1 participant