Skip to content

Make main() be able to receive parameters #19

@drozenfa

Description

@drozenfa

Hi. I believe it would be useful to receive and pass to FastMCP the same parameters it can receive. Namely:
def run(
self,
transport: Transport | None = None,
**transport_kwargs: Any,
) -> None:

That way one can customize url or port, for example

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions