Skip to content

SSE auto ping #9

@michalbogacz

Description

@michalbogacz

It's easy to lost connection between MCP server and agent. This issue is faced by many people who create MCP server.
One way to keep connection on server side is implemented heartbeat. Examples of how this was approached in different projects:

Scala Metals
https://github.com/scalameta/metals/blob/39146132ddf16e827e3792c38eef0435b2a5e2f3/metals/src/main/scala/scala/meta/internal/metals/mcp/MetalsMcpServer.scala#L105

Rust SDK
modelcontextprotocol/rust-sdk#74

I think it would be useful for people implementing MCP server to have some example how to do it with chimp (or even better to have some convenient abstraction).

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