Skip to content

HTTP Server #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
toby opened this issue Mar 4, 2025 · 3 comments
Open

HTTP Server #2

toby opened this issue Mar 4, 2025 · 3 comments
Labels

Comments

@toby
Copy link
Member

toby commented Mar 4, 2025

Implement a HTTP based MCP server that matches the functionality of the CLI server. It should require OAuth to access. We can reference the Anthropic docs on authorization but be flexible to implement our own best practices.

SamMorrowDrums pushed a commit that referenced this issue Mar 13, 2025
@jngiam
Copy link

jngiam commented Apr 4, 2025

We're have a HTTP based client that supports the latest specs; right now our AI agent connects to Github via APIs, would be interested to try this out / test whenever you have it ready.

@mathiasschopmans
Copy link

I want to second @toby‘s request.

Having a global GitHub.com/mcp / Streamable HTTP Transport would be awesome.

Now that the latest MCP spec was released in the end of march, the link is broken and the auth docs can be found here: https://spec.modelcontextprotocol.io/specification/2025-03-26/basic/authorization/

It may not fit into GitHubs Server-Stack or this Golang implementation, but Cloudflare created a great abstraction with their agents/mcp Typescript Library. Worth a read: https://developers.cloudflare.com/agents/guides/remote-mcp-server/

manian0430 pushed a commit to ChrisLally/github-mcp-server that referenced this issue Apr 12, 2025
@SamMorrowDrums
Copy link
Collaborator

Reposting the comment from @elizabetht 's issue, as I closed it as a dupe:


Describe the feature or problem you’d like to solve

As part of building interactive and responsive developer tools on top of the MCP server, we have a need to expose HTTP endpoints that can stream data incrementally to clients using Server-Sent Events (SSE). This is particularly useful for use cases like:

  • Real-time progress updates for long-running tool executions
  • Streaming logs or partial results as they become available
  • Event-driven workflows triggered by tools or models

However, the current MCP server does not appear to support SSE-style HTTP streaming out of the box. Since SSE relies on keeping an HTTP connection open and continuously pushing updates using the text/event-stream content type, it requires explicit support at the server level to manage connection lifecycle and event formatting.

Without native support, it's challenging to build streaming, real-time experiences using MCP — which limits the kind of rich developer tools and UIs that can be built on top of it.

Proposed solution

Adding SSE support would unlock:

  • Real-time user experiences (e.g., showing partial results or live updates)
  • Streaming logs or status updates for tool execution
  • Lower latency responses without requiring polling
  • Simplified client-side implementations using native browser support (vs. websockets)

Additional context

SSE support would:

  • Enhance Developer Experience: Provide users with more flexibility to build real-time tools or dashboards powered by MCP.
  • Broaden Adoption: Many organizations have frontends or APIs that rely on streaming capabilities — this would make MCP compatible with those out-of-the-box.
  • Improve Integration with AI/LLM Tooling: LLM-related use cases often benefit from streamed outputs (like token-by-token streaming) — SSE is ideal for that.
  • Align with Open Standards: SSE is supported in most browsers and backend frameworks, making it easier to integrate across diverse ecosystems.
  • Encourage Community Contributions: Clear extensibility via streaming would likely attract more usage and contributions in tool/plugin scenarios.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants