clue2app-mcp
v0.1.1MCP Server for Clue2App - Deploy apps from AI coding assistants
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
c2a_auth_status
Check if authenticated with Clue2App. Returns CLI command to run.
c2a_login
Login to Clue2App. Returns CLI command to run.
c2a_list_projects
List all projects. Returns CLI command to run.
c2a_use_project
Switch to a project. Returns CLI command to run.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project name to switch to |
c2a_create_project
Create a new project. Returns CLI command to run.
| Parameter | Type | Description |
|---|---|---|
name * | string | Project name (namespace is auto-generated) |
description | string | Optional project description |
c2a_show_project
Show project details. Shows active project if no name given.
| Parameter | Type | Description |
|---|---|---|
name | string | Project name (optional, defaults to active project) |
c2a_list_apps
List all applications in current project. Returns CLI command to run.
| Parameter | Type | Description |
|---|---|---|
all | boolean | Show across all projects |
project | string | Optional project name (overrides active project) |
c2a_get_app
Get application details including service URL and status.
| Parameter | Type | Description |
|---|---|---|
name * | string | Application name |
c2a_create_app
Deploy a new application from Git. Returns CLI command to run. For private repos, use git_secret (from c2a_secrets_list) to provide credentials.
| Parameter | Type | Description |
|---|---|---|
git_url * | string | Git repository URL |
name * | string | Application name |
branch | string | Git branch (default: main) |
git_secret | string | K8s secret name for private repo access (from c2a_secrets_list) |
port | integer | Container port (default: 8080) |
c2a_rebuild_app
Trigger application rebuild. Returns CLI command to run.
| Parameter | Type | Description |
|---|---|---|
name * | string | Application name |
c2a_restart_app
Restart a running application. Triggers a new revision.
| Parameter | Type | Description |
|---|---|---|
name * | string | Application name |
c2a_delete_app
Delete an application. Returns CLI command to run.
| Parameter | Type | Description |
|---|---|---|
name * | string | Application name |
c2a_app_logs
Get application runtime logs. Returns CLI command to run.
| Parameter | Type | Description |
|---|---|---|
name * | string | Application name |
lines | integer | Number of lines (default: 100) |
c2a_build_logs
Get application build logs. Returns CLI command to run.
| Parameter | Type | Description |
|---|---|---|
name * | string | Application name |
lines | integer | Number of lines (default: 100) |
c2a_build_list
List builds for the current project or a specific app.
| Parameter | Type | Description |
|---|---|---|
name | string | Optional app name to filter builds |
project | string | Optional project name |
c2a_set_env
Set environment variables for an application.
| Parameter | Type | Description |
|---|---|---|
key * | string | Environment variable name |
name * | string | Application name |
value * | string | Environment variable value |
c2a_list_env
List environment variables for an application.
| Parameter | Type | Description |
|---|---|---|
name * | string | Application name |
c2a_deploy_current
Deploy the current directory to Clue2App. Checks git status and deploys from GitHub remote.
| Parameter | Type | Description |
|---|---|---|
name | string | Application name (optional, defaults to folder name) |
c2a_check_repo
Check if current directory is a git repo with a GitHub remote. Useful before deploying.
| Parameter | Type | Description |
|---|---|---|
path | string | Path to check (default: current directory) |
c2a_status
Show overall Clue2App status including auth and current project.
c2a_analyze
Analyze a repository before deployment. Checks for common issues like missing start scripts, Procfile, etc. ALWAYS run this before c2a_create_app to catch problems early. Note: for static sites (Vite/React/Vue), the app needs a server.js using Node.js built-ins — node_modules is pruned at runtime by the buildpack, so npx/serve won't work.
| Parameter | Type | Description |
|---|---|---|
path | string | Path to repository (default: current directory) |
c2a_secrets_list
List Git and registry secrets in the current project. Use to find existing credentials for private repos.
| Parameter | Type | Description |
|---|---|---|
type | string | Filter by type: git, registry, or all (default: all) |
c2a_secrets_create
Create a Git credential secret for accessing private repositories. Requires a GitHub (or GitLab) username and Personal Access Token (PAT).
| Parameter | Type | Description |
|---|---|---|
name * | string | Display name for the secret (e.g., 'github-myorg') |
token * | string | Personal Access Token (PAT) with repo access |
username * | string | Git username (e.g., GitHub username) |
c2a_secrets_delete
Delete a Git or registry secret by its K8s name.
| Parameter | Type | Description |
|---|---|---|
name * | string | Secret name (K8s name from secrets list) |
c2a_domains_register
Register a custom domain zone for the current project. DELEGATION (recommended): one-time NS setup, then fully automatic subdomains and apex. SUBDOMAIN_DELEGATION: delegate just a subdomain (e.g., app.example.com) while leaving root DNS intact. CNAME_ONLY: no nameserver changes, but manual DNS per subdomain and no apex support.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain to register (e.g., example.com or app.example.com) |
method | string | DELEGATION (default): full Route53 zone, supports apex. SUBDOMAIN_DELEGATION: Route53 zone for a subdomain only. CNAME_ONLY: manual DNS, no apex support. |
c2a_domains_add
Add one or more custom domains to an application (e.g., api.example.com -> myapp). Auto-registers the base domain if needed. For DELEGATION domains, subdomains and apex are fully automatic (no manual DNS needed). Use the `c2a_domains_assign` tool for granular per-subdomain control or apex (`@`).
| Parameter | Type | Description |
|---|---|---|
app_name * | string | Application name |
domains * | array | List of FQDNs (e.g., ['api.example.com', 'www.example.com']) |
method | string | DNS method to use if the base domain is auto-registered (default: DELEGATION) |
c2a_domains_assign
Assign a single subdomain (or apex with `@`) to an app under a registered base domain. Use this for explicit, granular control — e.g., apex assignment (`@`) or when you need to specify which registered base domain to use. Creates DNS records, TLS cert, and Knative DomainMapping.
| Parameter | Type | Description |
|---|---|---|
app_name * | string | Application name to assign the domain to |
subdomain * | string | Subdomain label, or '@' for apex (e.g., 'www', 'api', '@') |
domain | string | Base registered domain (e.g., 'example.com'). Required when multiple domains are registered. |
c2a_domains_assignments
List domain assignments (FQDN -> app mappings) for the current project, optionally filtered by app.
| Parameter | Type | Description |
|---|---|---|
app_name | string | Optional: filter by application name |
c2a_domains_status
Check DNS delegation status for a registered domain via the platform API. Reports current NS state and whether delegation is healthy.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Registered domain to check |
c2a_domains_list
List custom domains for an application or all domains in the project
| Parameter | Type | Description |
|---|---|---|
app_name | string | Optional: filter by application name |
c2a_domains_remove
Remove a custom domain mapping
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain to remove |
c2a_domains_info
Show domain details and reprint NS record setup instructions for a registered domain.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain name (e.g., app.demome.cloud) |
c2a_domains_verify
Verify NS records are correctly configured for a DELEGATION domain. Performs DNS lookup to check if NS records match expected Route53 nameservers.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain to verify |
c2a_domains_delete
Delete a registered custom domain and all its assignments.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain name to delete |
c2a_daari_llm_list_instances
List Daari LLM Gateway instances in the active project.
c2a_daari_llm_create_instance
Create a per-project LLM Gateway instance. Mints a project-scoped JWT and writes an OPENAI_API_KEY + OPENAI_BASE_URL binding secret in the project namespace.
| Parameter | Type | Description |
|---|---|---|
name * | string | Instance name (e.g. 'expense-backend') |
c2a_daari_llm_bind_app
Attach a Daari LLM Gateway binding secret to an app via envFrom. CLI emits the kubectl patch — operator decides whether the merge-patch is safe for the specific app (it replaces containers[0]).
| Parameter | Type | Description |
|---|---|---|
app_name * | string | Application name (Knative service name) |
binding_name * | string | Binding secret name from c2a_daari_llm_list_instances |
support_get_my_permissions
SUPPORT BOT: Read the caller's effective permissions (roles, projects, entitlements) as coord sees them. Use this first when diagnosing 'why can't I do X'. Returns CLI command to run — the CLI carries your session JWT.
support_describe_my_app
SUPPORT BOT: Fetch describe-level detail for a single app the caller owns — service URL, revision, last build state, image, envFrom bindings. Read-only. Uses the existing `c2a app show` verb; the CLI enforces caller ownership via JWT.
| Parameter | Type | Description |
|---|---|---|
app_name * | string | Application name |
support_get_recent_build_failures
SUPPORT BOT: List recent FAILED builds in the caller's active project (or filtered to a single app). Use as the entry point for build-failure triage before pulling logs.
| Parameter | Type | Description |
|---|---|---|
app_name | string | Optional app name to filter |
limit | integer | Max failures to return (default: 10) |
support_read_recent_app_logs
SUPPORT BOT: Read the caller's app runtime logs (tail). Read-only. Uses the existing `c2a app logs` verb; the CLI enforces caller ownership via JWT.
| Parameter | Type | Description |
|---|---|---|
app_name * | string | Application name |
lines | integer | Tail lines (default: 200) |
support_search_docs
SUPPORT BOT: Search Clue2App public docs (clue2app.ai/docs) for a natural-language query. Returns ranked doc hits with URLs. No customer data is sent to any LLM — coord indexes docs server-side and returns lexical hits.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query (plain English) |
limit | integer | Max hits (default: 5) |
support_get_recent_release_notes
SUPPORT BOT: Fetch recent platform release notes. Use to check whether a recent change may have caused a regression.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max entries (default: 10) |
since_days | integer | Look-back window in days (default: 14) |
support_diagnose_failure
SUPPORT BOT: Ask coord to synthesise a diagnosis for an app failure. Coord gathers app metadata + last build log + last runtime log + recent related release notes, PII-scrubs via RedactUtil, then routes the prompt through the Daari LLM Gateway (model=claude-haiku-4-5). Returns the diagnosis + a suggested next action. This is the ONLY LLM-touching tool. Never call an LLM SDK from the MCP client directly.
| Parameter | Type | Description |
|---|---|---|
app_name * | string | Application name experiencing the failure |
build_id | string | Optional specific build ID to focus the diagnosis |
hint | string | Optional operator/customer hint to steer the diagnosis (will be redacted server-side before Gateway call) |
support_file_ticket
SUPPORT BOT: File a customer-support ticket into the dedicated support Jira project (SCK-649). Ticket carries the caller's redacted diagnostic bundle. In PR-4 this is a STUB and returns 'ticket filing not yet enabled' — flipped on by C2A_SUPPORT_TICKET_FILING_ENABLED once SCK-649 is provisioned and coord PR-3 lands. Blocking (SOC 2 load-bearing).
| Parameter | Type | Description |
|---|---|---|
description * | string | Free-form description (coord will PII-scrub before persisting) |
subject * | string | Short subject line |
app_name | string | Optional related application |
severity | string | Severity (default: MEDIUM) |