Skip to content

MCP

The MCP server exposes the same executable tool registry as the in-app assistant (Database, Dashboards, Hosting, Git, Project management). DNS tools are not included.

By default tools/list advertises discovery tools (search_tools, invoke_tool) plus first-class web_search / web_get instead of every domain schema. Domain tools stay callable: load a schema with search_tools (set name to the tool) then run it with invoke_tool. Hosted MCP also still accepts tools/call with the inner name (for scripts). Opt into the full catalog with ?toolMode=all or header X-Kataflax-Tool-Mode: all (stdio: KATAFLAX_MCP_TOOL_MODE=all). web_search / web_get run on hosted MCP and the in-app assistant; stdio MCP cannot execute them.

Auth: personal access token (kfx_…) or platform JWT. Create a PAT in Settings → Developers → API keys.

No local process. Cursor talks to the platform API:

{
"mcpServers": {
"kataflax": {
"url": "https://api.tefily.com/mcp",
"headers": {
"Authorization": "Bearer kfx_…"
}
}
}
}

Use Authorization: Bearer, not a custom API_KEY header. Full catalog: https://api.tefily.com/mcp?toolMode=all or header X-Kataflax-Tool-Mode: all.

Optional default project: set KATAFLAX_PROJECT_ID only on stdio / local HTTP processes. For hosted MCP, pass projectId in tool arguments or rely on tools that list projects first.

Terminal window
KATAFLAX_API_URL=https://api.tefily.com \
KATAFLAX_TOKEN=kfx_… \
dart run packages/kataflax_mcp/bin/kataflax_mcp.dart --transport=http --port=3000
{
"mcpServers": {
"kataflax": {
"url": "http://localhost:3000/mcp",
"headers": {
"Authorization": "Bearer kfx_…"
}
}
}
}

From the Kataflax repository root (so the package path resolves):

{
"mcpServers": {
"kataflax": {
"command": "dart",
"args": ["run", "packages/kataflax_mcp/bin/kataflax_mcp.dart"],
"env": {
"KATAFLAX_API_URL": "https://api.tefily.com",
"KATAFLAX_TOKEN": "kfx_…"
}
}
}
}
Variable Description
KATAFLAX_API_URL Backend URL (default http://localhost:8080)
KATAFLAX_TOKEN PAT or platform JWT. Required for HTTP.
KATAFLAX_EMAIL / KATAFLAX_PASSWORD Auto-login alternative (stdio)
KATAFLAX_PROJECT_ID Optional default project
KATAFLAX_MCP_TRANSPORT stdio (default) or http
KATAFLAX_MCP_PORT HTTP port (default 3000)
KATAFLAX_MCP_TOOL_MODE deferred (default: search_tools + invoke_tool) or all (full catalog)

See MCP tools for the catalog and prompts.