rpk ai mcp create
Create an MCP server
Flags
| Value | Type | Description |
|---|---|---|
|
string |
human-readable description of the server. |
|
- |
whether server is enabled (default true). |
|
- |
help for create. |
|
- |
rpk ai mcp types managed MCP config JSON. The @type may be the short name from rpk ai mcp types (e.g. '{"@type":"SQLMCP","driver":"sqlite3","dsn":":memory:"}') or the full proto URL. The per-MCP oneof |
|
string |
server name (required). |
|
string |
transport: sse, streamable-http (default "sse"). |
|
string |
server URL (for remote backend). |
|
string |
for --url (remote) servers: name of the OAuthProvider whose per-user tokens should authenticate upstream requests. Ignored for managed servers — set auth.user_oauth inside --managed-config instead. |
|
strings |
minimum OAuth scopes a user’s connection must have (user_oauth.required_scopes). Applies only when --user-oauth-provider is set. |
|
string |
output format: table|wide|json|yaml|markdown (env: RPAI_FORMAT) (default "table"). |
|
- |
disable colored output (env: NO_COLOR). |
|
string |
path to rpai config (env: RPAI_CONFIG) (default "/var/lib/redpanda/.rpai/config"). |
|
string |
override the selected environment’s AI Gateway URL for this invocation. |
|
string |
rpai profile name (env: RPAI_PROFILE). |
|
- |
verbose debug logging to stderr (env: RPAI_VERBOSE). |
|
string |
static bearer token override (ambient RPAI_TOKEN is ignored under rpk ai). |