본문으로 건너뛰기
Skillpedia
커넥터 (MCP)19k · #10511

langbot-mcp-ops

하는 일

이 스킬은 AI 에이전트가 MCP 연결을 통해 LangBot 인스턴스를 제어하는 방법을 보여 줍니다. LangBot을 운영하며 AI가 이를 관리하기를 원하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓AI가 LangBot 봇과 파이프라인을 조회하거나 만들거나 수정하기를 원할 때.
  • ✓API 키로 AI 클라이언트를 LangBot MCP 주소에 연결해야 할 때.
  • ✓LangBot API 키에 어떤 권한이 있는지 확인하고 싶을 때.

스킬 링크

https://github.com/langbot-app/LangBot/blob/master/skills/skills/langbot-mcp-ops/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/langbot-app/LangBot/blob/master/skills/skills/langbot-mcp-ops/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“AI가 제 LangBot MCP 서버를 사용해 봇 목록을 보고, 그중 한 봇의 모델을 바꾸도록 해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 API 키로 LangBot MCP 주소에 연결합니다. 그다음 목록에 있는 도구를 호출하며, 이 도구들은 LangBot 서비스 API의 일부를 그대로 반영합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

LangBot MCP Operations

LangBot exposes an MCP server so AI agents can manage an instance programmatically. It mirrors a curated subset of the HTTP service API.

Endpoint

http://<langbot-host>:5300/mcp

Transport: streamable HTTP (stateless, JSON responses). Same host/port as the web UI and HTTP API.

Authentication

Reuses the same API keys as the HTTP API. Send either header:

X-API-Key: <api-key>
# or
Authorization: Bearer <api-key>

Two kinds of key are accepted:

  1. Web-UI key — created in the web UI (sidebar → API Keys), prefixed lbk_. The secret is shown once; only its SHA-256 hash is stored. Each key is bound to one Workspace and has explicit scopes, status, optional expiry, and last-used metadata. The key determines the Workspace; callers cannot switch it with X-Workspace-Id.
  2. Global API key — set in data/config.yaml under api.global_api_key. Requires no login session and no DB record; does not need the lbk_ prefix. It is accepted only by a community instance with exactly one local Workspace and is disabled for SaaS multi-Workspace operation. Leave empty to disable. See the langbot-deploy skill for config details.

Invalid, revoked, or expired keys get 401 Unauthorized. A valid key whose scopes do not authorize a tool gets 403 Forbidden.

To inspect key identity and permissions, call GET /api/v1/system/context with the API key.

Client configuration

{
  "mcpServers": {
    "langbot": {
      "url": "http://<langbot-host>:5300/mcp",
      "headers": { "X-API-Key": "<api-key>" }
    }
  }
}

Tool surface

Slack quick setup: create a disabled slack-omni bot draft first, then use start_slack_setup with the user's App Configuration access/refresh tokens. Choose socket_mode=true with a browser-reachable OAuth redirect_url, or provide the public HTTPS webhook_url ending in /bots/<bot_uuid>. Poll get_slack_setup_status for the Slack installation authorization URL; the user must authorize installation. On success, apply the returned config using the normal bot update flow. Socket Mode also requires a separately generated app_token (xapp-, scope connections:write). Never log tokens. cancel_slack_setup removes the temporary session without deleting the Slack application. Sessions expire after 15 minutes and are bound to the initiating Workspace, principal, and placement generation. Restarting a failed setup can create another Slack application; inspect the returned app_id first.

The tools wrap the LangBot service layer. Current tools (v1):

create_pipeline and HTTP POST /api/v1/pipelines preserve a supplied config and extensions_preferences; omit config to use installed Runner defaults. Selecting ai.runner.id never grants extension access: an empty plugins list with enable_all_plugins=false still denies that plugin's Tool, EventListener and Command components, while allowing its selected Runner. Editing and copying a pipeline retain these independent settings.

Tool Purpose
get_system_info Version, edition, instance id
list_bots / get_bot / create_bot / update_bot / delete_bot Manage messaging-platform bots (secrets redacted on read)
list_bot_event_route_statuses Inspect bot event-route runtime status
list_processors / get_processor / create_processor / update_processor / delete_processor Manage the peer Agent, Pipeline and Event processor types
get_processor_metadata Discover installed event-capable Runner components, schemas and supported event patterns.
list_processor_runs / get_processor_run_events Read one Agent or plugin processor run history and logs; paginate with before_id / after_sequence.
debug_agent Execute a synthetic Agent event (processor_uuid, payload); requires runtime.operate. Returns final text and up to 1000 execution events (thinking, text, tool arguments/results). Platform tools use Mock; other configured tools execute normally. Optional payload.mock: errors/results keyed by platform tool name, unsupported_apis lists unavailable platform APIs.
list_pipelines / get_pipeline / create_pipeline / update_pipeline / delete_pipeline Manage pipelines
list_llm_models / get_llm_model / list_embedding_models / list_asr_models / list_tts_models / list_model_providers Inspect models & providers
list_knowledge_bases / `
자주 묻는 질문

API 키는 어디서 받나요?

웹 UI 키는 LangBot 웹 인터페이스의 API Keys에서 만듭니다. 비밀 값은 한 번만 표시되므로, 나타날 때 저장하세요.

키에 허용되지 않은 작업을 하면 어떻게 되나요?

서버가 forbidden 응답을 반환합니다. 해당 작업에 맞는 범위(scope)가 키에 있어야 합니다.

에이전트가 다른 워크스페이스로 바꿀 수 있나요?

아니요. 웹 UI 키는 한 워크스페이스에 묶여 있으며, 호출자가 헤더로 바꿀 수 없습니다.

상세 정보

작성자의 원본 설명

Operate a LangBot instance through its built-in MCP (Model Context Protocol) server. Use when an AI agent needs to manage LangBot — list/create/update/delete bots, agents, pipelines, models, knowledge bases, MCP servers, and skills — over MCP instead of raw HTTP. Covers the /mcp endpoint, API-key auth (web-UI lbk_ keys and the config.yaml global key), the tool surface, and client configuration. Triggers on "langbot mcp", "manage langbot via mcp", "langbot /mcp", "langbot mcp server".

repo: langbot-app/LangBot

인기도

GitHub 스타
19k
순위
#10511
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬