Skip to content

How to fill in Client's configuration of remote mcp server? #1616

@Septemberlemon

Description

@Septemberlemon

Question

I use qwen_agent as mcp client, and I can connect to a local mcp server with configuratoin like:

tools = [ { 'mcpServers': { # You can specify the MCP configuration file "get_life_state": { "command": sys.executable, "args": ["life_states/get_life_state.py"] } } }, ]

but how can I write it when I wanna add a remote mcp server I wrote myself
by the way, how can I specify the port of myself's mcp server with transport="streamable-http"

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions