langbot-mcp-ops
Fungsinya
Skill ini menunjukkan kepada agent AI cara mengendalikan instans LangBot melalui koneksi MCP-nya. Skill ini untuk orang yang menjalankan LangBot dan ingin AI mereka yang mengelolanya.
Kapan dipakai
- โSaat Anda ingin AI Anda mendaftar, membuat, atau memperbarui bot dan pipeline LangBot.
- โSaat Anda perlu menghubungkan klien AI ke alamat MCP LangBot dengan kunci API.
- โSaat Anda ingin memeriksa izin apa yang dimiliki kunci API LangBot.
Link skill
https://github.com/langbot-app/LangBot/blob/master/skills/skills/langbot-mcp-ops/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
โSaya ingin AI saya memakai server MCP LangBot untuk mendaftar bot saya dan mengubah model untuk salah satu bot.โ
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent terhubung ke alamat MCP LangBot dengan kunci API. Lalu agent memanggil alat yang terdaftar, yang mencerminkan sebagian API layanan LangBot.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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:
- 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 withX-Workspace-Id. - Global API key โ set in
data/config.yamlunderapi.global_api_key. Requires no login session and no DB record; does not need thelbk_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 thelangbot-deployskill 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 / ` |
Pertanyaan umum
Di mana saya mendapatkan kunci API?
Kunci web-UI dibuat di antarmuka web LangBot di bawah API Keys. Rahasianya hanya ditampilkan sekali, jadi simpan saat muncul.
Apa yang terjadi jika kunci saya tidak diizinkan melakukan sesuatu?
Server mengembalikan respons forbidden. Kunci perlu memiliki scope yang sesuai untuk tindakan itu.
Bisakah agent pindah ke workspace lain?
Tidak. Kunci web-UI terikat pada satu workspace, dan pemanggil tidak bisa mengubahnya dengan header.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 19k
- Peringkat
- #10511
- Lisensi
- Apache-2.0
- Diperbarui
- 2/11/2026
Komentar
- โฆ
Skill lain dari repositori ini
langbot-deploy
19kMembantu agent Anda menerapkan dan mengatur instans LangBot yang di-host sendiri dengan Docker, Compose, atau Kubernetes, termasuk pengaturan model dan kunci API.
langbot-env-setup
19kMembantu agent Anda menjalankan lingkungan uji LangBot lokal, termasuk pemeriksaan saat mulai, pengaturan proxy, dan browser yang tetap masuk.
langbot-plugin-dev
19kMengajari agent Anda membangun, men-debug, dan menguji plugin LangBot, termasuk bagian-bagiannya, SDK plugin, dan uji WebSocket otomatis.
langbot-space-ops
19kMemungkinkan agent Anda mencari plugin, server MCP, dan skill di marketplace LangBot Space, serta mendapatkan daftar model yang diurutkan untuk pengaturan.
Skill serupa
mcporter
394kMembantu agent Anda mendaftar, memanggil, dan memeriksa server MCP beserta alatnya lewat HTTP atau stdio, serta mengatur pengaturan login mereka.
fastmcp
260kMembantu Anda membangun, menguji, dan menerapkan server MCP Python yang memberi asisten AI akses ke API, basis data, atau file Anda sebagai alat.
mcp-oauth-remote-gateway
260kMemandu Anda masuk dengan OAuth untuk server MCP jarak jauh saat Hermes berjalan di server, di mana proses masuk browser biasa tidak dapat menjangkaunya.