# MCP SSE implementation failing

**URL:** <https://forum.cursor.com/t/mcp-sse-implementation-failing/51081>\
**Category:** Bug Reports\
**Created:** [February 14, 2025, 9:59pm UTC](https://forum.cursor.com/t/mcp-sse-implementation-failing/51081 "2025-02-14T21:59:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![keviddles](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/keviddles/32/26793_2.png) [@keviddles](https://forum.cursor.com/u/keviddles)\
**Post date:** [February 14, 2025, 9:59pm UTC](https://forum.cursor.com/t/mcp-sse-implementation-failing/51081/1 "2025-02-14T21:59:52Z")

</div>

I’ve set up a custom MCP exposed via SSE.

I have a local Librechat installation (web UI interface for LLMs) that is successfully leveraging the tools from the MCP server. So I have some confidence the tools are working correctly.

I’ve added the MCP to Cursor and it shows up green and lists the tools. However, when trying to use the tools, it fails.

It fails for both OpenAI and Claude.

In the dev tools, I see these error messages:

 ![Screenshot 2025-02-14 at 16.57.30](https://us1.discourse-cdn.com/cursor1/original/3X/6/8/68c7c4a6b0d842f6e9f6410b55071ac4b7d00440.png)

The servers in the array are correct.

The specific line where the error appears to originate is:

```auto
                    c.response.case === "streamUnifiedChatResponse" && (yield c.response.value)

```

And the two values being processed both have `text: ""`.

I’m not sure how to debug further.

---

<div class="post-metadata">

**Author:** ![keviddles](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/keviddles/32/26793_2.png) [@keviddles](https://forum.cursor.com/u/keviddles)\
**Post date:** [February 14, 2025, 10:12pm UTC](https://forum.cursor.com/t/mcp-sse-implementation-failing/51081/2 "2025-02-14T22:12:18Z")

</div>

![Screenshot 2025-02-14 at 17.11.56](https://us1.discourse-cdn.com/cursor1/original/3X/1/1/116b5efead5dd91bab3b286aa8a64b020d4b8a0d.png)

Here’s a screenshot, which maybe supplies a bit more info. Hard for me to trace it back since all the code is minified.

---

<div class="post-metadata">

**Author:** ![keviddles](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/keviddles/32/26793_2.png) [@keviddles](https://forum.cursor.com/u/keviddles)\
**Post date:** [February 18, 2025, 9:03pm UTC](https://forum.cursor.com/t/mcp-sse-implementation-failing/51081/3 "2025-02-18T21:03:19Z")

</div>

An update: Cursor [integrates with the everything example here](https://github.com/modelcontextprotocol/servers/blob/e055e18f8c56951203fdf8f64a811802dad8144b/src/everything/sse.ts#L2).

So it’s something specific to my code. Hard to tell what, though.

---

<div class="post-metadata">

**Author:** ![keviddles](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/keviddles/32/26793_2.png) [@keviddles](https://forum.cursor.com/u/keviddles)\
**Post date:** [February 18, 2025, 9:39pm UTC](https://forum.cursor.com/t/mcp-sse-implementation-failing/51081/4 "2025-02-18T21:39:22Z")

</div>

I believe the issue was that I had `.` in my tool names.

After I switched these to underscores, the MCP server works great.

Would love to have richer debugging in the Cursor dev tools to help debug issues like this in the future.
