mcp-server-kilango
Operate one Kilango workspace as an MCP assistant: build and manage portals, pages, blocks, widgets, apps, and backend connections.
Discover context — confirm workspace/key role, tenant metadata, vocabulary (brands, portals, personas, apps, providers), and search/describe API operations.
Manage portals — list/get/create/update, check readiness, preview drafts, manage navigation, publish/unpublish/archive, delete.
Edit pages & layout — list/get/create/update/delete pages, fetch blocks, save Puck layouts, add/update/delete content blocks.
Place & arrange widgets — add/update/delete app widgets, move a block, or reorder all blocks by drag-and-drop semantics.
Manage apps — browse catalog/connectors, list installations, install/uninstall, list/activate/deactivate per portal, and connect apps to backends.
Handle connections — list/get/health-check/delete backend connections; secrets are never returned.
Use escape hatch — call any
/v1/openapi.jsonoperation viakilango_call_operationwith path/query/body, with automatic ETag handling for whole-document writes.Respect safety gates — writes depend on
KILANGO_ENABLE_WRITESand API key scopes; ADMIN is required for deletes/archives; caller-supplied refs are validated.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-server-kilango Create a new client portal page and add a Pipedrive widgets block to it."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-server-kilango
Operator MCP server for Kilango. It wraps Kilango's operator/control
API (/v1 on the gateway) as MCP tools so an AI assistant can build and manage portals
in a Kilango workspace: create/manage portals, pages, blocks and app widgets (including
drag-and-drop reordering), install apps, and connect them to their backend systems.
Portal end-users only ever see widgets — Kilango holds the broad backend access. This server operates the studio/operator plane on the operator's behalf.
Auth & tenancy model
One host maps to one company's Kilango workspace
(e.g. kilango.<company>.mcp.example.com). Access is gated by an Entra security group
at an authenticating MCP gateway in front; the gateway forwards the verified user as X-MCP-User (recorded
in the audit log). The server authenticates to Kilango with a single shared,
workspace-bound API key (KILANGO_API_KEY, a hub_live_… key that self-scopes to that
one workspace). Mint an ADMIN write key so full portal building (incl. deletes/publish)
works. The key's own role/scopes are the real capability boundary — Kilango enforces them
server-side.
Related MCP server: Taskade MCP Server
Tools
Hybrid surface — curated golden-path tools plus a contract-driven escape hatch:
Discovery —
kilango_get_workspace,kilango_get_meta,kilango_get_vocabulary,kilango_search_operations,kilango_describe_operation.Portals — list/get/create/update, readiness, publish/unpublish/archive, preview, get/save navigation, delete.
Pages & blocks — list/get pages, get blocks, create/update/delete page, save layout, add/update/delete content block,
kilango_place_widget,kilango_update_widget,kilango_delete_widget, and drag-and-drop:kilango_move_block/kilango_reorder_blocks.Apps — catalog list/get, connectors, installations list/get, install/uninstall, list/activate/deactivate per portal, and
kilango_connect_app(see below).Connections — list/get/health-check/delete.
Escape hatch —
kilango_call_operation(operationId, {path, query, body})covers every operation in/v1/openapi.jsonnot wrapped by a curated tool.
Whole-document writes (save layout, save navigation, reorder blocks) require an If-Match
ETag; the client fetches and sends it automatically and retries once on a 412.
Connecting apps
kilango_connect_app(appKey, portalRef?):
No credentials (native/scaffold apps) → installs (and activates if a portal is given).
API-key apps (fynk, pipedrive, dalux, …) → returns a one-time browser URL (
/kilango/connect-app) where the operator enters the secret. It goes straight to Kilango's encrypted vault viasave_connection— never through the chat, never persisted or logged here. Then the app is installed, connected, activated (if a portal was given), and health-checked.OAuth apps (e.g. SharePoint) → returns a clear "not supported yet" message. Kilango's OAuth connect flow is a planned fast-follow (it currently returns
501 oauth_flow_not_implemented); once it ships, this tool switches to the redirect flow.
Configuration
See .env.example. Key vars: KILANGO_API_BASE_URL, KILANGO_PUBLIC_BASE_URL,
KILANGO_API_KEY, KILANGO_ENABLE_WRITES (coarse kill-switch), KILANGO_AUDIT_LOG,
MCP_HTTP_TOKEN (protects the loopback /mcp).
Security notes:
MCP_HTTP_TOKENis compared in constant time. WithKILANGO_TRUST_FORWARDED_USER=truethe HTTP server refuses to start unlessMCP_HTTP_TOKENis set.Every non-GET operation in the OpenAPI contract counts as a write for
KILANGO_ENABLE_WRITES;x-hub-write: truecan additionally mark a GET as a write, butx-hub-write: falseno longer downgrades a mutating method.Caller-supplied path values (portal/page/app/provider refs, operation path params) are rejected if they are empty,
./.., or contain/,\,?,#or encoded dots/slashes.kilango_check_connection_healthstays available when writes are disabled (it only re-verifies stored credentials); the same POST viakilango_call_operationis gated.
Develop
npm install
npm run typecheck
npm test
npm run dev # stdio transport
npm run dev:http # HTTP transport on :3000Live smoke test against a real (dev) Kilango gateway — also cross-checks the curated tool
paths against the live /v1/openapi.json:
KILANGO_API_BASE_URL=https://<dev-gateway> KILANGO_API_KEY=hub_test_... npm run smoke:liveDeploy
See deploy/ for the docker-compose service block, hosts.json entries, Caddy site blocks,
and example env files.
The image publishes to ghcr.io/borgels/mcp-server-kilango:latest on push to main.
Available Tools
48 toolskilango_activate_app_in_portalActivate App in PortalB
Activate an installed app in a portal (precondition for placing its widgets). Optional per-portal config.
Inputs: appKey (required), portalRef (required), config, dryRun.
kilango_add_content_blockAdd Content BlockA
Add a Hub-native content block (e.g. Heading, RichText, WidgetGrid) to a page at an optional position (at most one of index/before/after).
Inputs: type (required), pageRef (required), portalRef (required), props, +2 more.
kilango_archive_portalArchive Portal (ADMIN)CDestructive
Archive a portal. Requires an ADMIN key.
Inputs: portalRef (required), dryRun.
kilango_call_operationCall Kilango OperationA
Escape hatch: call any operator API operation by its operationId (discover ids with kilango_search_operations / kilango_describe_operation). Provide path params, query, and body separately. If-Match operations fetch and send the current ETag automatically. Mutating calls are gated by KILANGO_ENABLE_WRITES and by the API key's own scopes.
Inputs: operationId (required), body, path, query, +2 more.
kilango_check_connection_healthCheck Connection HealthCRead-only
Verify a connection's credentials against the source system.
Inputs: provider (required).
kilango_connect_appConnect AppA
Install and connect an app to its backend. For apps that need credentials (API key), returns a one-time browser URL where the operator enters the secrets — they go straight to Kilango's vault, never through this chat. Apps without credentials are installed (and activated if a portal is given) immediately. OAuth apps are not connectable yet.
Inputs: appKey (required), portalRef.
kilango_create_pageCreate PageA
Create a page in a portal. sortOrder controls page order in navigation. Layout is added separately with kilango_save_page_layout / kilango_add_content_block.
Inputs: slug (required), title (required), portalRef (required), dryRun, +2 more.
kilango_create_portalCreate PortalA
Create a portal in a brand. With seedHomePage (default true) it gets an "overblik" page + a navigation entry and starts as DRAFT with a preview token. Slug is not editable after creation.
Inputs: kind (required), name (required), brandId (required), slug, +3 more.
kilango_deactivate_app_in_portalDeactivate App in PortalCDestructive
Deactivate an app in a portal. Cascades widget removal within that portal.
Inputs: appKey (required), portalRef (required), dryRun.
kilango_delete_connectionDelete ConnectionADestructive
Remove a backend connection (drops the stored secret from Kilango's vault).
Inputs: provider (required), dryRun.
kilango_delete_content_blockDelete Content BlockBDestructive
Remove a block from a page.
Inputs: blockId (required), pageRef (required), portalRef (required), dryRun.
kilango_delete_pageDelete Page (ADMIN)BDestructive
Delete a page. Requires an ADMIN key.
Inputs: pageRef (required), portalRef (required), dryRun.
kilango_delete_portalDelete Portal (ADMIN)ADestructive
Delete a portal. Requires an ADMIN key. Refuses if it has pages or accesses unless force=true.
Inputs: portalRef (required), force, dryRun.
kilango_delete_widgetDelete App WidgetCDestructive
Remove an app-widget block from a page.
Inputs: blockId (required), pageRef (required), portalRef (required), dryRun.
kilango_describe_operationDescribe Kilango OperationARead-onlyIdempotent
Return the method, path, path/query params, whether it needs If-Match, and whether it is a write for a given operationId. Use before kilango_call_operation.
Inputs: operationId (required).
kilango_get_app_installationGet App InstallationBRead-onlyIdempotent
Return the installation record (pinned manifest version, config, status) for one app.
Inputs: appKey (required).
kilango_get_catalog_appGet Catalog AppARead-onlyIdempotent
Return one app manifest: appClass, authMode (apikey/oauth), the connectionFields a human must supply, and its widgets (widgetKey + renderRole).
Inputs: appKey (required).
kilango_get_connectionGet ConnectionARead-onlyIdempotent
Return the connection for one provider (status/health, never the secret).
Inputs: provider (required).
kilango_get_metaGet Kilango MetaARead-onlyIdempotent
Return server/tenant metadata for the connected workspace.
Inputs: no named parameters.
kilango_get_pageGet PageBRead-onlyIdempotent
Fetch one page (by slug or id) including its layout.
Inputs: pageRef (required), portalRef (required).
kilango_get_page_blocksGet Page BlocksBRead-onlyIdempotent
Return the ordered blocks of a page. Each block has a stable blockId; app-widget blocks carry a widgetInstanceId.
Inputs: pageRef (required), portalRef (required).
kilango_get_portalGet PortalARead-onlyIdempotent
Fetch one portal by uuid or slug. Returns counts, domains, urls, navigation, theme overrides, and the navigation ETag.
Inputs: portalRef (required).
kilango_get_portal_previewGet Portal PreviewBRead-onlyIdempotent
Return { previewUrl, token } for previewing a DRAFT portal.
Inputs: portalRef (required).
kilango_get_portal_readinessGet Portal ReadinessARead-onlyIdempotent
Return { ready, blockers[], warnings[] } for a portal. Each problem carries a code and whether it is overridable. Check before publishing.
Inputs: portalRef (required).
kilango_get_vocabularyGet Kilango VocabularyARead-onlyIdempotent
Return tenant data to fill argument values: brands, portals, personas, installed apps (with their widget keys), and connected providers. Use this to discover valid ids before creating or editing.
Inputs: no named parameters.
kilango_get_workspaceGet Kilango WorkspaceARead-onlyIdempotent
Return the workspace this connector is bound to, plus the key role/scopes. Call this first to confirm which workspace and what capability (read vs write, ADMIN) you have.
Inputs: no named parameters.
kilango_install_appInstall AppA
Install an app into the workspace (idempotent; pins the manifest version). Installing does NOT make it visible — activate it per portal with kilango_activate_app_in_portal. For apps that need credentials, use kilango_connect_app instead.
Inputs: appKey (required), dryRun.
kilango_list_app_installationsList App InstallationsARead-onlyIdempotent
List apps installed in the workspace.
Inputs: no named parameters.
kilango_list_catalog_appsList Catalog AppsARead-onlyIdempotent
List installable apps with their manifests (appClass, authMode, connectionFields, widgets).
Inputs: no named parameters.
kilango_list_connectionsList ConnectionsARead-onlyIdempotent
List the workspace's backend connections (one per provider). Secrets are never returned.
Inputs: no named parameters.
kilango_list_connectorsList ConnectorsCRead-onlyIdempotent
List providers and their scope capabilities.
Inputs: no named parameters.
kilango_list_pagesList PagesARead-onlyIdempotent
List the pages of a portal, ordered by sortOrder.
Inputs: portalRef (required).
kilango_list_portal_appsList Portal AppsARead-onlyIdempotent
List which installed apps are activated in a given portal.
Inputs: portalRef (required).
kilango_list_portalsList PortalsARead-onlyIdempotent
List portals in the workspace. Optional filters: kind, status, brandId, q (free text). Paged with cursor.
Inputs: q, kind, cursor, status, +1 more.
kilango_move_blockMove Block (drag-and-drop)A
Move one block to a new position (index, or before/after another blockId). Fetches the current order, computes the complete permutation, and calls reorder with If-Match. Position within a render tier follows the widget renderRole, so the visual result may differ from the array index — read the rendering note.
Inputs: blockId (required), pageRef (required), position (required), portalRef (required).
kilango_place_widgetPlace App WidgetA
Place an app widget on a page. The app must be installed AND activated in the portal first (otherwise the app_not_activated_in_portal error names the fixing call). Visual position follows the widget's renderRole tier — read the returned rendering note; index 0 is not necessarily top of page.
Inputs: appKey (required), pageRef (required), portalRef (required), widgetKey (required), +3 more.
kilango_publish_portalPublish PortalA
Publish a portal (idempotent). Pass force=true to publish despite overridable readiness blockers.
Inputs: portalRef (required), force, dryRun.
kilango_reorder_blocksReorder BlocksA
Set the full block order on a page. order must be a complete permutation of every existing blockId (no adds/drops). Sent to reorder with If-Match.
Inputs: order (required), pageRef (required), portalRef (required).
kilango_save_page_layoutSave Page LayoutA
Replace the whole page layout (a Puck payload { root, content: [...] }). Whole-document write: the current ETag is fetched and sent as If-Match automatically. Preserve each app-widget block's widgetInstanceId verbatim, or the widget row is recreated.
Inputs: layout (required), pageRef (required), portalRef (required), dryRun.
kilango_search_operationsSearch Kilango OperationsARead-onlyIdempotent
Search the full operator API contract (from /v1/openapi.json) for operations not covered by a curated tool. Returns operationIds usable with kilango_call_operation.
Inputs: limit, query.
kilango_uninstall_appUninstall App (ADMIN)ADestructive
Uninstall an app from the workspace. Requires an ADMIN key. Cascades: removes its widgets from all pages.
Inputs: appKey (required), dryRun.
kilango_unpublish_portalUnpublish PortalB
Take a portal offline (back to DRAFT).
Inputs: portalRef (required), dryRun.
kilango_update_content_blockUpdate Content BlockC
Update a content block's props and/or move it (position). Position is at most one of index/before/after.
Inputs: blockId (required), pageRef (required), portalRef (required), props, +2 more.
kilango_update_pageUpdate PageC
Update a page (title / sortOrder / visibility).
Inputs: pageRef (required), portalRef (required), title, dryRun, +2 more.
kilango_update_portalUpdate PortalC
Update a portal (name / kind / defaultPersonaId). Slug cannot be changed.
Inputs: portalRef (required), kind, name, dryRun, +1 more.
kilango_update_widgetUpdate App WidgetB
Update an app-widget block's config and/or position.
Inputs: blockId (required), pageRef (required), portalRef (required), config, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 48 tools
Most tools follow a clear resource+action pattern (portal, page, block, app, widget, connection), making them distinguishable. Some minor overlap exists: kilango_add_content_block vs kilango_place_widget both add items to a page, and kilango_move_block vs kilango_update_content_block/kilango_update_widget vs kilango_reorder_blocks all deal with positioning/moving elements. The descriptions do help disambiguate these cases, but an agent could misselect between move/reorder/update-position tools.
All 48 tools follow a consistent `kilango_` prefix with verb_noun naming: list/get/create/update/delete/archive/publish/unpublish/save/add/place/activate/deactivate/install/uninstall/connect each pair with a clear object (portal, page, block, widget, app, connection). The pattern holds uniformly across all tools, making the naming predictable.
48 tools is on the larger side, but the domain is genuinely broad — portal management, page building, widget placement, app lifecycle, connection management, and an escape hatch. Each tool covers a fairly distinct operation. However, there are many overlapping position/move tools (move_block, reorder_blocks, update_content_block, update_widget) that could arguably be consolidated, and the count feels slightly heavy.
The tool surface is remarkably complete for the domain: full portal lifecycle (create, update, get, list, publish, unpublish, archive, delete, preview, readiness), page CRUD with fine-grained block/widget operations, app catalog and installation/activation lifecycle, connection management, vocabulary discovery, navigation editing with ETag handling, and an escape-hatch call_operation for anything not covered. There are no obvious dead ends — even readiness blockers and force-publish edge cases are handled.
Related MCP Connectors
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
MCP server for progressive tool usage at any scale (see https://klavis.ai)
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants like Claude, Cursor, VS Code, and Windsurf to manage workspaces, projects, tasks, and AI agents through natural language, with a hosted OAuth server or a local stdio package. Also supports generating MCP tools from any OpenAPI spec.2,530 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables clients such as Claude, Cursor, VS Code, and Windsurf to manage workspaces, projects, tasks, and AI agents through a hosted OAuth endpoint or a local stdio package, and to generate MCP tools from OpenAPI specs.2,530 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables AI clients such as Claude, Cursor, VS Code, and Windsurf to list and manage workspaces, projects, tasks, AI agents, and automations through a hosted OAuth-secured endpoint or a local stdio package. Also generates MCP tools from any OpenAPI spec.2,530 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables AI clients such as Claude, Cursor, VS Code, and Windsurf to manage workspaces, projects, tasks, and AI agents through natural language, using a hosted OAuth-authenticated endpoint or a local stdio package. It also ships an OpenAPI codegen tool for generating MCP tools from any OpenAPI spec.2,530 npmMIT