Skip to content

deprecate mcp_servers param on Agent and AgentSession#5667

Open
longcw wants to merge 1 commit intomainfrom
longc/deprecate-mcp-servers
Open

deprecate mcp_servers param on Agent and AgentSession#5667
longcw wants to merge 1 commit intomainfrom
longc/deprecate-mcp-servers

Conversation

@longcw
Copy link
Copy Markdown
Contributor

@longcw longcw commented May 7, 2026

Summary

  • Move mcp_servers into the deprecated parameter section of Agent, AgentTask, and AgentSession.
  • Emit the deprecation warning at construction time instead of when AgentActivity starts, so users see it immediately rather than only on first turn.

Use MCPToolset instead.

Move mcp_servers into the deprecated parameter section of Agent,
AgentTask, and AgentSession. Emit the deprecation warning at
construction time instead of when AgentActivity starts, so users
see it immediately. Use MCPToolset instead.
@chenghao-mou chenghao-mou requested a review from a team May 7, 2026 07:17
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

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