Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docker/local/.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DATABASE_URL=postgres://postgres:postgres@stackerdb:5432/stacker
DATABASE_URL=postgres://postgres:postgres@localhost:5432/stacker
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=stacker
Expand Down
16 changes: 16 additions & 0 deletions src/mcp/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ use crate::mcp::tools::{
DeleteCloudTool,
DeleteProjectTool,
DeleteProxyTool,
// Ansible Roles tools
DeployRoleTool,
DiagnoseDeploymentTool,
DiscoverStackServicesTool,
EscalateToSupportTool,
Expand All @@ -43,11 +45,14 @@ use crate::mcp::tools::{
GetInstallationDetailsTool,
GetLiveChatInfoTool,
GetProjectTool,
GetRoleDetailsTool,
GetRoleRequirementsTool,
GetServerResourcesTool,
GetSubscriptionPlanTool,
GetUserProfileTool,
// Phase 5: Vault Configuration tools
GetVaultConfigTool,
ListAvailableRolesTool,
ListCloudsTool,
ListContainersTool,
ListInstallationsTool,
Expand All @@ -69,6 +74,7 @@ use crate::mcp::tools::{
UpdateAppDomainTool,
UpdateAppPortsTool,
ValidateDomainTool,
ValidateRoleVarsTool,
// Phase 5: Stack Validation tool
ValidateStackConfigTool,
};
Expand Down Expand Up @@ -227,6 +233,16 @@ impl ToolRegistry {
Box::new(AdminValidateTemplateSecurityTool),
);

// Ansible Roles tools (SSH deployment method)
registry.register("list_available_roles", Box::new(ListAvailableRolesTool));
registry.register("get_role_details", Box::new(GetRoleDetailsTool));
registry.register(
"get_role_requirements",
Box::new(GetRoleRequirementsTool),
);
registry.register("validate_role_vars", Box::new(ValidateRoleVarsTool));
registry.register("deploy_role", Box::new(DeployRoleTool));

registry
}

Expand Down
Loading
Loading