Skip to content

How to use mcp server in adk cli #731

@shiv-codegit

Description

@shiv-codegit

I added mcp server and it's working in adk web.

The final line in agent.py file looks like (from the documentation)
root_agent = create_agent ()

This function returns the root agent

But I'm unable to call this through adk run command in cli.

For normal tools, I'm able to call the same script in adk web and adk run.
How to enable adk run for mcp tools?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions