clue2app-mcp

v0.1.1
clue2app-mcp Checked 12 hours ago Published 2 months ago

MCP 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.

ParameterTypeDescription
project *stringProject name to switch to

c2a_create_project

Create a new project. Returns CLI command to run.

ParameterTypeDescription
name *stringProject name (namespace is auto-generated)
descriptionstringOptional project description

c2a_show_project

Show project details. Shows active project if no name given.

ParameterTypeDescription
namestringProject name (optional, defaults to active project)

c2a_list_apps

List all applications in current project. Returns CLI command to run.

ParameterTypeDescription
allbooleanShow across all projects
projectstringOptional project name (overrides active project)

c2a_get_app

Get application details including service URL and status.

ParameterTypeDescription
name *stringApplication 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.

ParameterTypeDescription
git_url *stringGit repository URL
name *stringApplication name
branchstringGit branch (default: main)
git_secretstringK8s secret name for private repo access (from c2a_secrets_list)
portintegerContainer port (default: 8080)

c2a_rebuild_app

Trigger application rebuild. Returns CLI command to run.

ParameterTypeDescription
name *stringApplication name

c2a_restart_app

Restart a running application. Triggers a new revision.

ParameterTypeDescription
name *stringApplication name

c2a_delete_app

Delete an application. Returns CLI command to run.

ParameterTypeDescription
name *stringApplication name

c2a_app_logs

Get application runtime logs. Returns CLI command to run.

ParameterTypeDescription
name *stringApplication name
linesintegerNumber of lines (default: 100)

c2a_build_logs

Get application build logs. Returns CLI command to run.

ParameterTypeDescription
name *stringApplication name
linesintegerNumber of lines (default: 100)

c2a_build_list

List builds for the current project or a specific app.

ParameterTypeDescription
namestringOptional app name to filter builds
projectstringOptional project name

c2a_set_env

Set environment variables for an application.

ParameterTypeDescription
key *stringEnvironment variable name
name *stringApplication name
value *stringEnvironment variable value

c2a_list_env

List environment variables for an application.

ParameterTypeDescription
name *stringApplication name

c2a_deploy_current

Deploy the current directory to Clue2App. Checks git status and deploys from GitHub remote.

ParameterTypeDescription
namestringApplication name (optional, defaults to folder name)

c2a_check_repo

Check if current directory is a git repo with a GitHub remote. Useful before deploying.

ParameterTypeDescription
pathstringPath 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.

ParameterTypeDescription
pathstringPath 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.

ParameterTypeDescription
typestringFilter 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).

ParameterTypeDescription
name *stringDisplay name for the secret (e.g., 'github-myorg')
token *stringPersonal Access Token (PAT) with repo access
username *stringGit username (e.g., GitHub username)

c2a_secrets_delete

Delete a Git or registry secret by its K8s name.

ParameterTypeDescription
name *stringSecret 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.

ParameterTypeDescription
domain *stringDomain to register (e.g., example.com or app.example.com)
methodstringDELEGATION (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 (`@`).

ParameterTypeDescription
app_name *stringApplication name
domains *arrayList of FQDNs (e.g., ['api.example.com', 'www.example.com'])
methodstringDNS 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.

ParameterTypeDescription
app_name *stringApplication name to assign the domain to
subdomain *stringSubdomain label, or '@' for apex (e.g., 'www', 'api', '@')
domainstringBase 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.

ParameterTypeDescription
app_namestringOptional: 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.

ParameterTypeDescription
domain *stringRegistered domain to check

c2a_domains_list

List custom domains for an application or all domains in the project

ParameterTypeDescription
app_namestringOptional: filter by application name

c2a_domains_remove

Remove a custom domain mapping

ParameterTypeDescription
domain *stringDomain to remove

c2a_domains_info

Show domain details and reprint NS record setup instructions for a registered domain.

ParameterTypeDescription
domain *stringDomain 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.

ParameterTypeDescription
domain *stringDomain to verify

c2a_domains_delete

Delete a registered custom domain and all its assignments.

ParameterTypeDescription
domain *stringDomain 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.

ParameterTypeDescription
name *stringInstance 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]).

ParameterTypeDescription
app_name *stringApplication name (Knative service name)
binding_name *stringBinding 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.

ParameterTypeDescription
app_name *stringApplication 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.

ParameterTypeDescription
app_namestringOptional app name to filter
limitintegerMax 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.

ParameterTypeDescription
app_name *stringApplication name
linesintegerTail 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.

ParameterTypeDescription
query *stringSearch query (plain English)
limitintegerMax 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.

ParameterTypeDescription
limitintegerMax entries (default: 10)
since_daysintegerLook-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.

ParameterTypeDescription
app_name *stringApplication name experiencing the failure
build_idstringOptional specific build ID to focus the diagnosis
hintstringOptional 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).

ParameterTypeDescription
description *stringFree-form description (coord will PII-scrub before persisting)
subject *stringShort subject line
app_namestringOptional related application
severitystringSeverity (default: MEDIUM)