Skip to content
Closed
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
e30e463
feat(mcp): add admin-declared per-user fields for MCP servers
claude May 19, 2026
fa671c6
fix(mcp): address security and correctness bugs in user-fields PR
cursoragent May 19, 2026
a432772
fix(lint): extract user-credential annotation helper to satisfy PLR0915
mateo-berri May 19, 2026
8255b00
fix(mcp): scope user-field-values endpoints to caller's allowed servers
mateo-berri May 19, 2026
adbc4c2
fix(lint): widen user_fields helpers to accept LiteLLM_MCPServerTable
mateo-berri May 19, 2026
e45eda4
fix(mcp): tighten user-fields/BYOK collisions and dedupe value resolu…
cursoragent May 19, 2026
6b0af7f
Fix MCP user_fields TOCTOU + handle Pydantic-typed user_fields entries
cursoragent May 19, 2026
5215fbe
fix(mcp): return 409 on BYOK/user-fields conflict; coerce Pydantic us…
mateo-berri May 19, 2026
4350118
test(mcp): cover DELETE and aggregate list user-field-values endpoints
mateo-berri May 19, 2026
d9e1ce2
fix: address bugbot findings on user-fields MCP credential paths
cursoragent May 19, 2026
501afd2
fix(mcp): provide data arg to RecordNotFoundError; preserve BYOK has_…
cursoragent May 19, 2026
4618e28
fix(mcp): return 409 on user-fields conflict for OAuth credential POST
mateo-berri May 19, 2026
cbb13bf
Fix concurrent write race + warning message in MCP user-fields
cursoragent May 19, 2026
3851d8a
fix(mcp): forward user_fields on temp records and dedupe normalization
mateo-berri May 19, 2026
2cce538
test(mcp): cover user_fields helper edge cases for codecov
mateo-berri May 19, 2026
5437285
fix(mcp): drop orphan user-field keys + reject duplicate field_keys
mateo-berri May 19, 2026
0023194
fix(mcp): inject user-field headers for OpenAPI/local tool dispatch
mateo-berri May 19, 2026
19b6872
fix(mcp): security/correctness fixes for user-fields header injection…
cursoragent May 19, 2026
bd9a6e4
fix(mcp): inject user_fields headers on managed OpenAPI dispatch and …
cursoragent May 19, 2026
a6ae106
fix(mcp): address bugbot user_fields + BYOK conflict and header dedup
mateo-berri May 19, 2026
56790e4
test(mcp): cover user_fields header template fallback for codecov
mateo-berri May 19, 2026
b7fd2ec
fix(mcp): reject oauth2+user_fields admin config to prevent user dead…
mateo-berri May 19, 2026
7218458
fix(mcp): enforce required user_fields in MCPServerManager.call_tool
mateo-berri May 19, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "LiteLLM_MCPServerTable" ADD COLUMN IF NOT EXISTS "user_fields" JSONB NOT NULL DEFAULT '[]';
5 changes: 5 additions & 0 deletions litellm-proxy-extras/litellm_proxy_extras/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,11 @@ model LiteLLM_MCPServerTable {
is_byok Boolean @default(false)
byok_description String[] @default([])
byok_api_key_help_url String?
// Admin-defined per-user fields (e.g. bearer tokens, workspace IDs) that
// each end-user must supply via the dashboard before they can use the
// server. Each entry is a JSON object describing how the field is rendered
// in the dashboard and injected at request time.
user_fields Json @default("[]")
source_url String?
// BYOM submission lifecycle
approval_status String? @default("active")
Expand Down
Loading
Loading