Skip to content

[BUG]示例化不支持传递base_url参数 #121

Open
@xjw8396761

Description

@xjw8396761

在示例化时传递参数base_url,代码如下:
mcp = FastApiMCP(
app,
exclude_tags=["get_weather_tag"],
base_url="http://localhost:8000"
)
启动fastapi应用时报如下错误:
mcp = FastApiMCP(
TypeError: FastApiMCP.init() got an unexpected keyword argument 'base_url'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions