Skip to content

How to manually send logs to the mcp client #12

@y7ut

Description

@y7ut

The Python sdk said, use server.request_context.session.send_log_message to send log.
I write a mcp server with this library, how can i send some log to mcp client.
i notice that server has errLogger attribute, but i can't use it .
Do you have any suggestions about these?

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