MCP Tools Reference

Complete reference for all tools exposed by the AgentLed MCP server. Available from Claude Code, Cursor, Windsurf, Codex, and any MCP-compatible client.


Workflows

ToolDescription
list_workflowsList all workflows in the workspace
get_workflowGet full workflow definition by ID
create_workflowCreate a new workflow from pipeline JSON
update_workflowUpdate an existing workflow
add_stepAdd a step with automatic positioning and next-pointer rewiring
update_stepDeep-merge updates into a single step by ID
remove_stepRemove a step with automatic next-pointer rewiring
delete_workflowPermanently delete a workflow
validate_workflowValidate pipeline structure, returns errors per step
publish_workflowChange workflow status (draft, live, paused, archived)
export_workflowExport a workflow as portable JSON
import_workflowImport a workflow from exported JSON

Drafts & Snapshots

ToolDescription
get_draftGet the current draft version of a workflow
promote_draftPromote a draft to the live version
discard_draftDiscard the current draft
create_snapshotCreate a manual config snapshot
delete_snapshotDelete a specific config snapshot
list_snapshotsList version snapshots for a workflow
restore_snapshotRestore a workflow to a previous snapshot

Executions

ToolDescription
start_workflowStart a workflow execution with input
list_executionsList executions for a workflow (paginated via nextToken)
get_executionGet execution details with step results
list_timelinesList step execution records for an execution (paginated)
get_timelineGet a single timeline by ID with full step output
stop_executionStop a running execution
retry_executionRetry a failed step — auto-detects most recent failure if no timeline ID

Apps & Testing

ToolDescription
list_appsList available apps and integrations
get_app_actionsGet action schemas for an app
test_app_actionTest an app action without creating a workflow
test_ai_actionTest an AI prompt without creating a workflow
test_code_actionTest JavaScript code in the same sandboxed VM as production
get_step_schemaGet allowed PipelineStep fields grouped by category

Knowledge & Data

ToolDescription
get_workspaceGet workspace info and settings
list_knowledge_listsList knowledge lists in the workspace
get_knowledge_rowsGet rows from a knowledge list
get_knowledge_textGet text content from a knowledge entry
query_kg_edgesQuery knowledge graph edges
get_scoring_historyGet scoring history for an entity

Branding (White-Label)

ToolDescription
get_brandingGet workspace white-label branding config
update_brandingUpdate displayName, logo, colors, favicon, tagline, badge visibility

Conversational Agent

ToolDescription
chatSend a message to the AgentLed AI agent. Build workflows via natural language. Supports multi-turn conversations via session_id.
doNatural language intent router — describe what you want and it selects and executes the right tool

n8n Import

ToolDescription
preview_n8n_importPreview an n8n workflow import (dry run)
import_n8n_workflowImport an n8n workflow into AgentLed

Installation

# Claude Code
claude mcp add agentled \
  -e AGENTLED_API_KEY=wsk_... \
  -- npx -y @agentled/mcp-server

# Cursor / Windsurf (add to MCP settings JSON)
{
  "mcpServers": {
    "agentled": {
      "command": "npx",
      "args": ["-y", "@agentled/mcp-server"],
      "env": { "AGENTLED_API_KEY": "wsk_..." }
    }
  }
}

Get your API key from agentled.app > Workspace Settings > Developer.