Kaimon Jl 标志

Kaimon Jl

社区
kahliburke

MCP server giving AI agents full access to Julia's runtime via a live Gate — code execution, introspection, debugging, testing, and semantic search

发布者kahliburke
代码仓库Kaimon.jl
语言Julia
复刻数
6
星标数
50
可用工具
0
传输类型stdio
许可协议MIT
链接
  • 将工具接入 AI 工作流

    Kaimon Jl 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 50 个星标和 6 个复刻。

Kaimon.jl

Opening the gate between AI and Julia.

CI Docs Julia 1.12+ License: MIT

Kaimon is an MCP (Model Context Protocol) server that gives AI agents full access to Julia's runtime. Connect Claude Code, Cursor, or any MCP client to a live Julia session with a focused default surface of 49 tools for code execution, introspection, debugging, testing, and code search.

Key Features

  • Live Code Execution — evaluate Julia code in persistent REPL sessions with full state, package access, and streaming output
  • Deep Introspection — inspect types, methods, lowered IR, type-inferred code, and macro expansions directly from the agent
  • The Gate — connect external Julia processes and register custom tools via ZMQ. Your app's domain logic becomes agent-callable with automatic schema generation
  • Interactive Debugging — Infiltrator.jl integration with breakpoints, variable inspection, and expression evaluation at pause points
  • Semantic Code Search — index projects into Qdrant and search with natural language queries like "function that handles HTTP routing"
  • Terminal Dashboard — real-time TUI monitoring sessions, tool calls, test runs, and search results across all connected REPLs
  • Security — three modes (strict/relaxed/lax), API key management, IP allowlists
  • Testing & Profiling — run tests with pattern filtering and coverage, profile code, stress-test with concurrent simulated agents

Quick Start

julia
]app add Kaimon

This installs the kaimon command to ~/.julia/bin/ (make sure it's on your PATH). Then:

bash
kaimon

The first run opens a setup wizard (security mode, API key, port). After that, the terminal dashboard launches:

Kaimon dashboard

From the dashboard:

  • Press i in the Config tab to write MCP config for Claude Code, Cursor, VS Code, or Gemini CLI
  • Press g to add a Gate snippet to ~/.julia/config/startup.jl so every Julia session auto-connects
  • Or connect manually from any REPL: ]add KaimonGate; using KaimonGate; KaimonGate.serve()

Tool Categories

CategoryToolsDescription
Code Executionex, manage_replEvaluate code, restart/shutdown sessions
Introspectioninvestigate_environment, search_methods, type_info, list_names, workspace_symbols, document_symbols, macro_expandExplore types, methods, and symbols
Code Analysiscode_lowered, code_typed, format_code, lint_packageIR inspection, formatting, linting
Navigationgoto_definition, navigate_to_fileJump to definitions and source locations
VS Codeexecute_vscode_command, list_vscode_commandsVS Code command execution
Debuggingdebug_ctrl, debug_eval, debug_exfiltrate, debug_safehouseInfiltrator.jl breakpoint debugging
Packagespkg_add, pkg_rmAdd/remove packages
Testingrun_tests, stress_testTest execution, load testing
Searchsearch_code, grep_code, qdrant_index_project, qdrant_sync_index, qdrant_reindex_file, qdrant_list_collectionssearch_code finds code by meaning (hybrid semantic + lexical); grep_code runs an exact pattern/regex over the live tree and returns each hit's enclosing symbol
Agentsagent_open, agent_send, agent_run, agent_output, agent_status, agent_list, agent_interrupt, agent_closeSpawn & drive headless claude agents
Extensionsextension_info, manage_extensionInspect & control extension lifecycle
Infoping, usage_instructions, usage_quiz, tool_helpServer status and documentation

Advanced/infra tools (IR inspection code_lowered/code_typed, macro_expand, profile_code, lint_package, and the raw Qdrant vector-DB admin tools) are gated off the default surface to keep tool selection focused -- enable them per project in .kaimon/tools.json.

The Gate

The gate is a separately installable, lightweight package — KaimonGate (ZMQ + stdlib only, no heavy deps) — so you can drop it into any project, or onto a remote/compute node, without the full Kaimon dependency tree:

julia
]add KaimonGate

Connect any Julia process and expose domain-specific tools to AI agents:

julia
using KaimonGate: GateTool, serve

function analyze_data(path::String, threshold::Float64=0.95)
    data = load(path)
    filter(x -> x.score > threshold, data)
end

# Kaimon auto-generates the MCP schema from the function signature
serve(tools=[GateTool("analyze_data", analyze_data)])

The connected REPL appears as a session in Kaimon's TUI. The agent can call analyze_data alongside all built-in tools, with full argument validation and type checking. The full Kaimon install bundles KaimonGate automatically (a deprecated Kaimon.Gate alias keeps old Gate.serve() snippets working).

Documentation

Full documentation: kahliburke.github.io/Kaimon.jl

Requirements

  • Julia 1.12+
  • Any MCP-compatible client (Claude Code, Cursor, VS Code with Copilot Chat or Continue, Gemini CLI). VS Code's Copilot Chat / Continue speak MCP natively — no extra extension needed; press i in the Config tab to write the client config (.vscode/mcp.json).
  • Optional: Qdrant for semantic code search
  • Optional: Kaimon's built-in VS Code extension — install from the Config tab with v (or run Kaimon.install_vscode_remote_control()) — to enable the in-editor command tools (execute_vscode_command, list_vscode_commands, navigate_to_file).

Contributing

Contributions are welcome. Please open an issue to discuss changes before submitting a pull request.

License

MIT


Kaimon (開門) — "opening the gate." The gate between AI agents and the Julia ecosystem.

将 Kaimon Jl MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Kaimon Jl 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 Kaimon Jl 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Kaimon Jl MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "kaimon-jl": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Kaimon Jl MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Kaimon Jl MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Kaimon Jl 帮我完成这项任务吗?
Kaimon Jl
当然,我看过了。
以下是我使用 Kaimon Jl 得到的结果。

常见问题

Kaimon Jl MCP 服务器有什么用途?

Kaimon Jl 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Kaimon Jl MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 Kaimon Jl。

为什么在 TypingMind 中使用 Kaimon Jl MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 Kaimon Jl 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Kaimon Jl MCP 连接到 TypingMind?

Kaimon Jl 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Kaimon Jl MCP 在 TypingMind 中提供哪些工具?

Kaimon Jl 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Kaimon Jl MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 Kaimon Jl 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇