feat(mcp): implement StdioMCPTransport for JSON-RPC 2.0 stdio communication #11129
No reviewers
Labels
No labels
auto/needs-reevaluation
controller-managed
auto/blocked-by-deps
auto/ci-timeout
auto/claimed-implementer
auto/claimed-merge
auto/claimed-reviewer
auto/driver-down
auto/invariant-violation
auto/last-attempt-tier-0
auto/last-attempt-tier-1
auto/last-attempt-tier-2
auto/last-attempt-tier-min
Automation Tracking
auto/needs-conflict-resolution
auto/needs-implementer
auto/postmortem
auto/ready-to-merge
auto/restart-throttled
auto/revert
auto/sentinel
auto/stale-inactivity
auto/unstable
Blocked
Bounty
$100
Bounty
$1000
Bounty
$10000
Bounty
$20
Bounty
$2000
Bounty
$250
Bounty
$50
Bounty
$500
Bounty
$5000
Bounty
$750
MoSCoW
Could have
MoSCoW
Must have
MoSCoW
Should have
Needs Feedback
Points
1
Points
13
Points
2
Points
21
Points
3
Points
34
Points
5
Points
55
Points
8
Points
88
Priority
Backlog
Priority
CI Blocker
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Signed-off: Owner
Signed-off: Scrum Master
Signed-off: Tech Lead
Spike
State
Completed
State
Duplicate
State
In Progress
State
In Review
State
Paused
State
Unverified
State
Verified
State
Wont Do
Type
Automation
Type
Bug
Type
Discussion
Type
Documentation
Type
Epic
Type
Feature
Type
Legendary
Type
Refactor
Type
Support
Type
Task
Type
Testing
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Blocks
#4918 Implement concrete MCP transport layer (stdio) for tool discovery and invocation
cleveragents/cleveragents-core
Reference
cleveragents/cleveragents-core!11129
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "bugfix/m3-integrate-mcp-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?
Summary
StdioMCPTransportclass for MCP JSON-RPC 2.0 stdio protocoltransport="stdio"inMCPServerConfigChanges
src/cleveragents/mcp/stdio_transport.py- New StdioMCPTransport classsrc/cleveragents/mcp/adapter.py- Auto-select stdio transportsrc/cleveragents/mcp/__init__.py- Export StdioMCPTransportfeatures/mocks/mcp_stub_server_stdio.py- MCP stub server for testingfeatures/tdd_stdio_transport.feature- 14 BDD test scenariosfeatures/steps/tdd_stdio_transport_steps.py- Step definitionsTesting
Closes #4918
PR Quality Checklist (per CONTRIBUTING.md)
Verification
nox -s lint- All checks passednox -s typecheck- 0 errorsnox -s unit_tests- 93 scenarios passed (14 new stdio transport scenarios)050d13ad3ba8f977d7a3a8f977d7a32cce3478dbCI Checks Are Failing
This PR currently has failing CI checks. Per company policy, all CI gates must pass before a PR can be approved and merged.
The required CI gates are:
lint— code style and formatting checkstypecheck— static type analysis (Pyright)security— security vulnerability scanningunit_tests— BDD unit test suite (Behave)coverage— test coverage threshold (≥ 97%)Please investigate the CI failures, address any issues they report, and push a fix. A full code review will be conducted once all CI checks are green.
If CI is consistently failing on infrastructure (not code) issues, please flag this in a comment so it can be investigated separately.
Automated by CleverAgents Bot
Supervisor: PR Review | Agent: pr-review-worker
Automated by CleverAgents Bot
Supervisor: PR Review | Agent: pr-review-worker
Looks good to me. (Reviewed by a human.)
2cce3478db7ff961c2e9