SSE MCP not connecting
Pre-submit Checks
- [x] I have searched Warp bugs and there are no duplicates
- [x] I have searched Warp known issues page and my issue is not there
- [x] I have included the logs (optional, but helps expedite the bug fix). Log gathering intructions
Describe the bug
warp preview - mcp -- SSE -- does not seem to connect. Using two different hosted mcp - pipedream and composio
To reproduce
add any known working SSE MCP server. click start.
Expected behavior
No response
Screenshots, videos, and logs
No response
Operating system (OS)
Select an OS
Operating system and version
15.4.1
Shell Version
No response
Current Warp version
v0.2025.04.30.08.11.preview_03
Regression
No, this bug or issue has existed throughout my experience using Warp
Recent working Warp date
No response
Additional context
No response
Does this block you from using Warp daily?
No
Is this an issue only in Warp?
Yes, I confirmed that this only happens in Warp, not other terminals.
Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e
None
Thanks for the bug report! I'd love to dig into this, but I'll need a bit more information. Could you post the logs for those servers? (To do that: click "View Logs", which is next to the "Start" button, and paste the output here.)
here is one of the logs.... they are all similar to SSE mcp servers. (all stdio servers work.). this is true for sse from zapier, pipedream, and composio
ail -f /Users/jpc/Library/Application\ Support/dev.warp.Warp-Preview/mcp/yE0v9Jl8c7EPgDehXYFubl.log
2025-05-09 08:30:48.120 | [info] MCP SSE: Connection opened to Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("mcp.pipedream.net")), port: None, path: "/12857ad7-856e-40ed-a0b0-5d619dbf4882/dart", query: None, fragment: None }
2025-05-09 08:30:48.120 | [info] MCP SSE connection opened to Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("mcp.pipedream.net")), port: None, path: "/12857ad7-856e-40ed-a0b0-5d619dbf4882/dart", query: None, fragment: None }
2025-05-09 08:30:48.120 | [info] MCP SSE: Sending request: "{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"initialize\",\"params\":{\"protocolVersion\":\"2024-11-05\",\"capabilities\":{},\"clientInfo\":{\"name\":\"warp\",\"version\":\"1.0.0\"}}}"
There appears to be no support for SSE headers either. When a MCP config is saved that has headers set, they are silently deleted from the config.
2025-08-17 17:26:27.982 | [error] MCP SSE: connection error: InvalidStatusCode(401, Response { url: "https://api.githubcopilot.com/mcp/", status: 401, headers: {"content-security-policy": "default-src 'none'; sandbox", "content-type": "text/plain; charset=utf-8", "strict-transport-security": "max-age=31536000", "www-authenticate": "Bearer error=\"invalid_request\", error_description=\"No access token was provided in this request\", resource_metadata=\"https://api.githubcopilot.com/.well-known/oauth-protected-resource/mcp/\"", "x-content-type-options": "nosniff", "date": "Mon, 18 Aug 2025 00:26:27 GMT", "content-length": "51", "x-github-backend": "Kubernetes", "x-github-request-id": "C0A9:36E22F:148F0D2:208E7AB:68A27333"} })
I just tried configuring an SSE MCP using Warp v0.2025.08.27.08.11.stable_03, and it would not connect until I changed it to use the http version. Here's a link to what I was trying to get to work using SSE: https://linear.app/docs/mcp in case you need something to test with.
Same issue here connecting to an SSE MCP (Archon).
Same issue here. I'm unable to connect to the GitHub SSE Server. I've referenced the request header information from Claude Code and other IDEs, but it's still not working. It doesn't even seem to be saving the configuration.
2025-09-05 12:17:11.954 | [note] Attention! There may be sensitive information (such as API keys) in these logs. Make sure to redact any secrets before sharing with others.
2025-09-05 12:17:11.955 | [info] MCP: Using stdio transport
2025-09-05 12:17:11.971 | [info] MCP: Sending request: {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"dev.warp.Warp","version":"v0.2025.09.03.08.11.stable_03"}}}
2025-09-05 12:17:11.976 | [info] MCP [pid: 53458] stderr: 2025-09-05T10:17:11.976799Z INFO codex_core::config: cwd not set, using current dir
2025-09-05 12:17:11.977 | [info] MCP [pid: 53458] stderr: 2025-09-05T10:17:11.976799Z INFO codex_core::config: cwd not set, using current dir
2025-09-05T10:17:11.976969Z INFO codex_mcp_server::message_processor: initialize -> params: InitializeRequestParams { capabilities: ClientCapabilities { elicitation: None, experimental: None, roots: None, sampling: None }, client_info: Implementation { name: "dev.warp.Warp", title: None, version: "v0.2025.09.03.08.11.stable_03" }, protocol_version: "2025-03-26" }
2025-09-05 12:17:11.977 | [info] MCP: Received response: {"jsonrpc":"2.0","id":0,"result":{"protocolVersion":"2025-03-26","capabilities":{"tools":{"listChanged":true}},"serverInfo":{"name":"codex-mcp-server","version":"0.29.0"}}}
2025-09-05 12:17:11.977 | [info] MCP: Sending request: {"jsonrpc":"2.0","method":"notifications/initialized"}
2025-09-05 12:17:11.977 | [info] MCP: Connected to server: Some(
InitializeResult {
protocol_version: ProtocolVersion(
"2025-03-26",
),
capabilities: ServerCapabilities {
experimental: None,
logging: None,
completions: None,
prompts: None,
resources: None,
tools: Some(
ToolsCapability {
list_changed: Some(
true,
),
},
),
},
server_info: Implementation {
name: "codex-mcp-server",
version: "0.29.0",
},
instructions: None,
},
)
2025-09-05 12:17:11.977 | [info] MCP [pid: 53458] stderr: 2025-09-05T10:17:11.976799Z INFO codex_core::config: cwd not set, using current dir
2025-09-05T10:17:11.976969Z INFO codex_mcp_server::message_processor: initialize -> params: InitializeRequestParams { capabilities: ClientCapabilities { elicitation: None, experimental: None, roots: None, sampling: None }, client_info: Implementation { name: "dev.warp.Warp", title: None, version: "v0.2025.09.03.08.11.stable_03" }, protocol_version: "2025-03-26" }
2025-09-05T10:17:11.977280Z WARN codex_mcp_server::message_processor: Failed to convert notification: Unknown method: notifications/initialized
2025-09-05 12:17:11.977 | [info] MCP: Sending request: {"jsonrpc":"2.0","id":1,"method":"resources/list","params":{"_meta":{"progressToken":0}}}
2025-09-05 12:17:11.977 | [info] MCP [pid: 53458] stderr: 2025-09-05T10:17:11.976799Z INFO codex_core::config: cwd not set, using current dir
2025-09-05T10:17:11.976969Z INFO codex_mcp_server::message_processor: initialize -> params: InitializeRequestParams { capabilities: ClientCapabilities { elicitation: None, experimental: None, roots: None, sampling: None }, client_info: Implementation { name: "dev.warp.Warp", title: None, version: "v0.2025.09.03.08.11.stable_03" }, protocol_version: "2025-03-26" }
2025-09-05T10:17:11.977280Z WARN codex_mcp_server::message_processor: Failed to convert notification: Unknown method: notifications/initialized
2025-09-05T10:17:11.977481Z INFO codex_mcp_server::message_processor: resources/list -> params: Some(ListResourcesRequestParams { cursor: None })
Most interesting log message using RUST_LOG=trace:
2025-09-05T10:17:11.977280Z WARN codex_mcp_server::message_processor: Failed to convert notification: Unknown method: notifications/initialized
Warp supports SSE and Token or OAuth for MCP servers https://docs.warp.dev/knowledge-and-collaboration/mcp
Closing as resolved.
Hey Folks,
Note we added support for custom HTTP headers in MCP Streamable HTTP or SSE server connections in the recent release, this should help address the connection issues that require said headers.
You can now pass headers in the following way:
{
"My-MCP-Server": {
"url": "https://mcp.my-mcp-server.com/sse",
"headers": {
"my-header": "my-header-value"
}
}
}
We've updated the MCP docs to reflect this.