Skip to content

fix: remove URL format validation for MCP server endpoints - #17270

Merged
1 commit merged into
BerriAI:mainfrom
uc4w6c:fix/remove-mcp-url-format-warning
Dec 2, 2025
Merged

fix: remove URL format validation for MCP server endpoints#17270
1 commit merged into
BerriAI:mainfrom
uc4w6c:fix/remove-mcp-url-format-warning

Conversation

@uc4w6c

@uc4w6c uc4w6c commented Nov 28, 2025

Copy link
Copy Markdown
Contributor

Title

fix: remove URL format validation for MCP server endpoints

Relevant issues

#N/A

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • I have added a screenshot of my new test passing locally
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem

Type

🐛 Bug Fix

Changes

MCP endpoints can accept URLs that don't end with /mcp or /sse, so the validation check was unnecessarily restrictive. This change allows users to configure MCP servers with any valid URL format without warnings.

image

@vercel

vercel Bot commented Nov 28, 2025

Copy link
Copy Markdown

@uc4w6c is attempting to deploy a commit to the CLERKIEAI Team on Vercel.

A member of the Team first needs to authorize it.

@ghost
ghost merged commit fe41e14 into BerriAI:main Dec 2, 2025
4 of 7 checks passed
@uc4w6c
uc4w6c deleted the fix/remove-mcp-url-format-warning branch January 3, 2026 22:39
fzowl pushed a commit to fzowl/litellm that referenced this pull request Jun 24, 2026
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant