LangBot Docs

MCP server

Manage a LangBot workspace from Claude, Cursor or any other MCP client: endpoint, authentication and tools.

LangBot has its own MCP server. With it, an AI assistant or agent outside LangBot can manage one workspace: bots, processors, workflows, knowledge bases, scheduled tasks and monitoring. (To let your bots use tools of other MCP servers, see MCP.)

Connect

SettingValue
TransportStreamable HTTP
URLhttp://<your-langbot>:5300/mcp
AuthenticationX-API-Key: <key> or Authorization: Bearer <key>

Create a key under API Integration in the sidebar. A key belongs to one workspace and only sees what its scopes allow. On a self-hosted instance with a single workspace, the global api.global_api_key in config.yaml also works. Treat keys like passwords: a key with write scopes can change your bots.

Tools

Tools use the same operations, permissions and checks as the WebUI. Secrets are masked in what they return.

AreaTools
Botslist_bots, get_bot, create_bot, update_bot, delete_bot, list_bot_event_route_statuses, …
Agents and other processorslist_processors, create_processor, update_processor, debug_agent, list_processor_runs, …
Chats (Pipelines)list_pipelines, create_pipeline, update_pipeline, run_pipeline, …
Workflowslist_workflows, get_workflow, get_workflow_options, create_workflow, update_workflow, test_workflow, copy_workflow, delete_workflow
Workflow runs and versionslist_workflow_runs, get_workflow_run, list_workflow_versions, get_workflow_version, restore_workflow_version
Workflow data tableslist_workflow_data_tables, create_workflow_data_table, list_workflow_data_table_rows, add_workflow_data_table_row, update_workflow_data_table_rows, delete_workflow_data_table_rows, …
Scheduled taskslist_schedules, create_schedule, pause_schedule, trigger_schedule, list_schedule_runs, …
Knowledge, models, plugins, skillslist_knowledge_bases, retrieve_knowledge_base, list_llm_models, list_plugins, list_skills, …
Monitoringget_monitoring_executions, get_inflight_executions, get_monitoring_errors, get_monitoring_llm_calls, …
Workspace and sandboxget_system_info, get_workspace_timezone, get_sandbox_status, …

Workflow graphs, step types and trigger formats are described in the langbot-mcp-ops skill. Give that file to your agent before it builds workflows. get_workflow_options returns the step types and operations available on your instance.

  • lbctl: the same workspace from a terminal.
  • Settings: api.global_api_key.

On this page