mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
fix(mcp): default Linear MCP registry entry to streamable HTTP (#30396)
Linear is deprecating the SSE transport at https://mcp.linear.app/sse in favor of streamable HTTP at https://mcp.linear.app/mcp. Update the curated discovery registry so the Linear preset uses transport "http" and the /mcp URL.
This commit is contained in:
parent
df92c7fd07
commit
2655d1dd5e
2 changed files with 11 additions and 2 deletions
|
|
@ -44,8 +44,8 @@
|
|||
"icon_url": "https://cdn.simpleicons.org/linear",
|
||||
"category": "Developer Tools",
|
||||
"registry_url": "https://registry.modelcontextprotocol.io/servers/app.linear%2Flinear",
|
||||
"transport": "sse",
|
||||
"url": "https://mcp.linear.app/sse",
|
||||
"transport": "http",
|
||||
"url": "https://mcp.linear.app/mcp",
|
||||
"env_vars": []
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -85,6 +85,15 @@ class TestMCPRegistryFile:
|
|||
"url" in server and server["url"]
|
||||
), f"HTTP/SSE server {server['name']} missing 'url'"
|
||||
|
||||
def test_linear_uses_streamable_http(self, registry_path):
|
||||
"""Linear's MCP server should default to streamable HTTP at /mcp, not SSE at /sse."""
|
||||
with open(registry_path, "r") as f:
|
||||
data = json.load(f)
|
||||
linear = next(s for s in data["servers"] if s["name"] == "linear")
|
||||
assert linear["transport"] == "http"
|
||||
assert linear["url"] == "https://mcp.linear.app/mcp"
|
||||
assert "/sse" not in linear["url"]
|
||||
|
||||
def test_well_known_servers_present(self, registry_path):
|
||||
"""Ensure key well-known MCPs are in the registry."""
|
||||
with open(registry_path, "r") as f:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue