From 7e2c1a59850b3809c577ac9326c45f806288e2ea Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Wed, 4 Mar 2026 15:11:22 -0800 Subject: [PATCH] fix: add missing spec_path column to root and proxy-extras schema files PR #21575 added spec_path to litellm/proxy/schema.prisma but missed the root schema.prisma and litellm-proxy-extras schema. This caused "Could not find field spec_path" errors when creating OpenAPI-based MCP servers. Made-with: Cursor --- litellm-proxy-extras/litellm_proxy_extras/schema.prisma | 3 ++- litellm/proxy/schema.prisma | 3 ++- schema.prisma | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/litellm-proxy-extras/litellm_proxy_extras/schema.prisma b/litellm-proxy-extras/litellm_proxy_extras/schema.prisma index 5abe7a0a2b1..c9f0cda2032 100644 --- a/litellm-proxy-extras/litellm_proxy_extras/schema.prisma +++ b/litellm-proxy-extras/litellm_proxy_extras/schema.prisma @@ -277,8 +277,9 @@ model LiteLLM_MCPServerTable { alias String? description String? url String? + spec_path String? transport String @default("sse") - auth_type String? + auth_type String? credentials Json? @default("{}") created_at DateTime? @default(now()) @map("created_at") created_by String? diff --git a/litellm/proxy/schema.prisma b/litellm/proxy/schema.prisma index 25ee2750548..e450d7896e8 100644 --- a/litellm/proxy/schema.prisma +++ b/litellm/proxy/schema.prisma @@ -277,8 +277,9 @@ model LiteLLM_MCPServerTable { alias String? description String? url String? + spec_path String? transport String @default("sse") - auth_type String? + auth_type String? credentials Json? @default("{}") created_at DateTime? @default(now()) @map("created_at") created_by String? diff --git a/schema.prisma b/schema.prisma index 25ee2750548..e450d7896e8 100644 --- a/schema.prisma +++ b/schema.prisma @@ -277,8 +277,9 @@ model LiteLLM_MCPServerTable { alias String? description String? url String? + spec_path String? transport String @default("sse") - auth_type String? + auth_type String? credentials Json? @default("{}") created_at DateTime? @default(now()) @map("created_at") created_by String?