litellm/litellm
Shivam Rawat 4e7003afef
Fix 404 when fetching config-based MCP servers by ID (#22711)
* fixed mcp api

* added non-admin test

* resolved greptile comemnt

* fix: add IP filtering to get_mcp_server_by_id path in fetch_mcp_server

Apply _is_server_accessible_from_ip check after get_mcp_server_by_id lookup
to prevent external callers from accessing MCP servers configured with
available_on_public_internet=False when they know the server_id.

Made-with: Cursor
2026-03-11 18:30:30 -07:00
..
a2a_protocol CircleCI test stability (#23055) 2026-03-07 15:19:39 -08:00
anthropic_interface
assistants
batch_completion
batches Agents - add max budget + tpm/rpm limiting per agent AND per agent session (#22849) 2026-03-07 19:12:42 -08:00
caching Revert "feat: add model_cost aliases expansion support" 2026-03-10 22:39:19 -03:00
completion_extras Revert "feat: add model_cost aliases expansion support" 2026-03-10 22:39:19 -03:00
containers
endpoints/speech/speech_to_completion_bridge
evals
experimental_mcp_client fix(mcp): add AWS SigV4 auth for Bedrock AgentCore MCP servers (#22782) 2026-03-10 11:11:20 -07:00
files Merge pull request #22765 from BerriAI/main 2026-03-04 17:40:42 +05:30
fine_tuning Agents - add max budget + tpm/rpm limiting per agent AND per agent session (#22849) 2026-03-07 19:12:42 -08:00
google_genai fix(completion): unify finish_reason mapping to OpenAI-compatible values 2026-02-26 00:12:39 -03:00
images refactor(bfl): separate HTTP logic into dedicated handlers 2026-03-04 18:10:09 -03:00
integrations fix: anthropic prompt caching returns a string instead of an int 2026-03-10 13:51:17 -04:00
interactions
litellm_core_utils Fix ruff lint errors: unused imports, undefined names, and statement counts 2026-03-11 14:34:43 -07:00
llms Merge pull request #23322 from BerriAI/litellm_gemini_embedding_2_support 2026-03-11 19:30:09 +05:30
ocr Enable local file support for OCR (#22133) 2026-02-27 10:50:02 -08:00
passthrough fix(passthrough): propagate Azure 429/5xx errors in async streaming instead of silent HTTP 200 (#22913) 2026-03-05 10:12:43 -08:00
proxy Fix 404 when fetching config-based MCP servers by ID (#22711) 2026-03-11 18:30:30 -07:00
proxy_auth
rag
realtime_api fix(azure): forward realtime_protocol from config and relax api_version check for GA path (#22369) 2026-03-02 19:21:27 +05:30
rerank_api
responses Merge pull request #21398 from Chesars/feat/openai-like-responses-api 2026-03-11 00:15:06 -03:00
router_strategy Revert "feat: add model_cost aliases expansion support" 2026-03-10 22:39:19 -03:00
router_utils Fix encrypted content streaming affinity issue 2026-03-03 18:37:22 +05:30
search
secret_managers feat: Hashicorp Vault config override backend endpoints 2026-03-05 16:57:08 -08:00
skills
types feat(mcp): add AWS SigV4 auth support in UI and fix credential merge on edit (#23282) 2026-03-11 09:43:28 -07:00
vector_store_files
vector_stores
videos
__init__.py merge: resolve conflicts between main and litellm_oss_staging_03_04_2026 2026-03-10 10:45:04 -03:00
_lazy_imports_registry.py Merge pull request #22866 from mubashir1osmani/feat/bedrock-mantle-provider-clean 2026-03-05 18:24:00 +05:30
_lazy_imports.py
_logging.py
_redis.py
_service_logger.py
_uuid.py
_version.py
anthropic_beta_headers_config.json
anthropic_beta_headers_manager.py
blog_posts.json
budget_manager.py
constants.py fix: resolve merge conflicts with staging branch 2026-03-10 17:27:57 -03:00
cost_calculator.py feat(azure_ai): add router flat cost when response contains actual model 2026-03-06 18:18:06 +05:30
cost.json
exceptions.py Remove nit 2026-02-26 13:44:06 -08:00
main.py Fix ruff lint errors: unused imports, undefined names, and statement counts 2026-03-11 14:34:43 -07:00
model_prices_and_context_window_backup.json fix: align Vertex AI Claude deprecations with Google's schedule 2026-03-11 15:11:07 -03:00
mypy.ini
policy_templates_backup.json feat(add-new-block_code_execution-guardrail): prevent agent from executing code (#22154) 2026-02-25 22:02:14 -08:00
provider_endpoints_support_backup.json feat(search): add Serper (serper.dev) as search provider (#23112) 2026-03-09 08:40:37 -07:00
py.typed
router.py Merge branch 'main' into litellm_oss_staging_03_10_2026 2026-03-11 18:32:17 +05:30
scheduler.py
timeout.py
utils.py Merge pull request #23322 from BerriAI/litellm_gemini_embedding_2_support 2026-03-11 19:30:09 +05:30