Summary
Add a profile_create tool to MCP that allows users to create profiles directly through the agent, without needing to use the CLI first.
Motivation
Current state requires users to:
- Install redisctl CLI
- Run
redisctl profile create ...
- Then use MCP
For a true "zero friction" experience (especially with Docker), users should be able to:
- Start MCP
- Ask: "Help me set up a connection to my Enterprise cluster"
- Agent guides them through credential collection
- Profile is created
Proposed Implementation
New Tool: profile_create
pub struct CreateProfileInput {
pub name: String,
pub profile_type: String, // "cloud", "enterprise", "database"
// Cloud credentials
pub api_key: Option<String>,
pub api_secret: Option<String>,
// Enterprise credentials
pub enterprise_url: Option<String>,
pub enterprise_user: Option<String>,
pub enterprise_password: Option<String>,
pub enterprise_insecure: Option<bool>,
// Database credentials
pub host: Option<String>,
pub port: Option<u16>,
pub password: Option<String>,
pub tls: Option<bool>,
}
MCP Elicitation
MCP supports elicitation for collecting sensitive information from users. This could be used to:
- Prompt for credentials securely
- Not expose secrets in conversation history
- Provide a guided setup flow
Need to check tower-mcp support for elicitation.
Security Considerations
- Credentials will be stored in the config file (same as CLI)
- Consider keyring integration for sensitive values
- Mask credentials in any output/logging
- Require
--read-only=false for this tool
Alternative: Environment Variables
For Docker/container scenarios, could also support:
- "Create a profile from environment variables"
- Reads REDIS_CLOUD_API_KEY, REDIS_ENTERPRISE_URL, etc.
- Creates profile automatically
Related
Summary
Add a
profile_createtool to MCP that allows users to create profiles directly through the agent, without needing to use the CLI first.Motivation
Current state requires users to:
redisctl profile create ...For a true "zero friction" experience (especially with Docker), users should be able to:
Proposed Implementation
New Tool:
profile_createMCP Elicitation
MCP supports elicitation for collecting sensitive information from users. This could be used to:
Need to check tower-mcp support for elicitation.
Security Considerations
--read-only=falsefor this toolAlternative: Environment Variables
For Docker/container scenarios, could also support:
Related