<!-- description: StreamableHTTP is the transport protocol used by AgentRQ to deliver real-time agent notifications and messages over standard HTTP without the overhead of WebSockets or traditional SSE. -->

# StreamableHTTP

**StreamableHTTP** is the transport protocol used by AgentRQ to enable real-time, bidirectional-like communication over standard HTTP. It allows the server to stream data to the client (like Claude Code) while maintaining compatibility with standard web infrastructure.

## Why StreamableHTTP?

While the [Model Context Protocol (MCP)](mcp) supports several transports, AgentRQ uses StreamableHTTP (configured as `http` in Claude Code) for several reasons:

1. **Firewall Friendly**: Works over standard port 443/80.
2. **No Persistent Overhead**: More efficient than WebSockets for intermittent agent updates.
3. **Native Support**: Claude Code and other modern MCP clients support `http` transport natively for remote servers.

## Configuration in Claude Code

When connecting to AgentRQ, you must specify `http` as the type in your `mcpServers` configuration, not `sse`.

```json
{
  "mcpServers": {
    "agentrq": {
      "type": "http",
      "url": "https://WORKSPACE_ID.mcp.agentrq.com/mcp?token=MCP_TOKEN"
    }
  }
}
```

## How it Works in AgentRQ

AgentRQ uses StreamableHTTP to deliver real-time [notifications](notification) and messages to connected clients. When a [Claude Code](claude-code) agent calls the `reply` [MCP tool](mcp-tool), AgentRQ pushes the message to your [task board](task-board) via the open HTTP stream — appearing instantly without any refresh or polling on your end.

## Related Terms

- [MCP](mcp)
- [MCP Server](mcp-server)
- [Notification](notification)
- [Channel](channel)
- [Task Board](task-board)
