Skip to content

Support progress reporting to the client in LiteMCP #45

@aniketmaurya

Description

@aniketmaurya

Support progress reporting to the client

FastMCP provides progress reporting, add this to LiteMCP.

async def send_action_goal(
    action_name: str,
    action_type: str,
    goal: dict,
    timeout: float | None = None,
    ctx: Context | None = None,
) -> dict:
    ...
    await ctx.report_progress(progress=feedback_count, total=None, message=completion_msg) 

https://github.com/CelestoAI/ros-mcp-server/blob/b6b2a1d91fccd5e376be19d5665beca783e11c6b/server.py#L2591-L2592

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