rpk ai mcp tools list
List tools on an MCP server by calling tools/list through the aigw MCP proxy.
Hits the server’s /mcp/v1/<name> endpoint, so the same auth and token-vault path used by tools/call is exercised here. Useful for checking that a managed MCP’s tool schema loaded correctly and that a user-delegated server is reachable with the caller’s vault token.
With --code-mode the session targets the virtual code-mode sibling endpoint (/mcp/v1/<name>-code), which exposes the sandbox meta-tools (search, execute). To see the parent’s tool catalog from the sandbox, invoke the search tool explicitly:
rpk ai mcp tools call <server> search --code-mode
Flags
| Value | Type | Description |
|---|---|---|
|
- |
Target the virtual code-mode sibling endpoint (<server>-code) instead of the primary. |
|
- |
help for list. |
|
string |
output format: table |
|
json |
yaml |
|
--no-color |
- |
|
-c, --rpai-config |
string |
|
-s, --rpai-endpoint |
string |
|
-p, --rpai-profile |
string |
|
-v, --rpai-verbose |
- |
|
--token |
string |