6 views
-/https://github.com/berriai/litellm/issues/30470
GitHub · issue

#30470 [Feature]: Add 'claude mcp add' CLI example to MCP modal in Model Hub

  • State: open
  • Author: @RytisStreimikis
  • Labels: enhancement, llm translation, ui-dashboard, claude code

### Check for existing issues

- [x] I have searched the existing issues and checked that my issue is not a duplicate.

### The Feature

When rendering the MCP server details modal in the Model Hub, show a dynamically generated `claude mcp add` CLI snippet (Anthropic Claude Code) alongside the existing FastMCP example. The snippet should include the transport, alias, URL and any required headers (including x-litellm-api-key and any per-server static_headers) as `--header` flags.

### Motivation, pitch

Claude Code is an official Anthropic MCP client with native HTTP transport support. Providing a ready-made `claude mcp add` snippet removes friction and reduces support burden for users who need to register MCP servers via the CLI. And looking further mcp hub then start to function as MCP registry.

### What part of LiteLLM is this about?

UI Dashboard

### LiteLLM is hiring a founding backend engineer, are you interested in joining us and shipping to all our users?

No

### Twitter / LinkedIn details

@RytisStreimikis

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (1 events)
#0 of 0 · 31d17h41m40s ago — entered · #import:https:::github.com:berriai:litellm post #3189
The left requires UI integration, dynamic command construction, transport and header edge-case handling, and validation; the right is a narrowly scoped synchronized metadata change.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search