From 3818562df8390a7de8ea1a40408fa13a47fcc20c Mon Sep 17 00:00:00 2001 From: Tin Chi Lo Date: Mon, 15 Jun 2026 16:49:52 -0700 Subject: [PATCH] fix(mcp): default Linear registry entry to OAuth --- litellm/proxy/mcp_registry.json | 1 + .../proxy/_experimental/mcp_server/test_mcp_discovery.py | 1 + 2 files changed, 2 insertions(+) diff --git a/litellm/proxy/mcp_registry.json b/litellm/proxy/mcp_registry.json index 47424a3b909..449c2d9e54f 100644 --- a/litellm/proxy/mcp_registry.json +++ b/litellm/proxy/mcp_registry.json @@ -46,6 +46,7 @@ "registry_url": "https://registry.modelcontextprotocol.io/servers/app.linear%2Flinear", "transport": "http", "url": "https://mcp.linear.app/mcp", + "auth_type": "oauth2", "env_vars": [] }, { diff --git a/tests/test_litellm/proxy/_experimental/mcp_server/test_mcp_discovery.py b/tests/test_litellm/proxy/_experimental/mcp_server/test_mcp_discovery.py index 1fa8933b8ff..4d36edc3ee7 100644 --- a/tests/test_litellm/proxy/_experimental/mcp_server/test_mcp_discovery.py +++ b/tests/test_litellm/proxy/_experimental/mcp_server/test_mcp_discovery.py @@ -92,6 +92,7 @@ class TestMCPRegistryFile: 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 linear["auth_type"] == "oauth2" assert "/sse" not in linear["url"] def test_slack_defaults_to_streamable_http_oauth(self, registry_path):