Skip to content

refactor: Move mcp directory out of adk and place it in `samples/…#760

Merged
sugoi-yuzuru merged 1 commit intomainfrom
move
Mar 3, 2026
Merged

refactor: Move mcp directory out of adk and place it in `samples/…#760
sugoi-yuzuru merged 1 commit intomainfrom
move

Conversation

@sugoi-yuzuru
Copy link
Collaborator

…agent` as a sibling.

Description

The intent is that mcp will house further MCP-related examples, and by separating it out from the adk directory, we want to refine the adk directory to be where the Agents are defined. Since MCP is still a Agent-specific resource, we will place it within the samples/agent directory.

Pre-launch Checklist

If you need help, consider asking for advice on the discussion board.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request refactors the project structure by moving the mcp directory from samples/agent/adk/ to samples/agent/. While the uv.lock dependency updates are correct, the moved server.py file introduces security risks due to a permissive CORS policy and enabled debug mode, which are unsuitable for production environments. Furthermore, the refactoring is incomplete, leading to critical pathing issues as several files, including samples/agent/mcp/server.py and samples/agent/mcp/pyproject.toml, contain broken relative paths that must be updated to prevent runtime errors.

…agent` as a sibling.

The intent is that `mcp` will house further MCP-related examples, and by separating it out from the `adk` directory, we want to refine the `adk` directory to be where the Agents are defined. Since MCP is still a Agent-specific resource, we will place it within the `samples/agent` directory.
@sugoi-yuzuru sugoi-yuzuru merged commit 5ee1c5b into main Mar 3, 2026
10 checks passed
@sugoi-yuzuru sugoi-yuzuru deleted the move branch March 3, 2026 22:09
@github-project-automation github-project-automation bot moved this from Todo to Done in A2UI Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants