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は、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 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で「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  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モデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. Kaimon JlのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Kaimon Jlを使ってこのタスクを手伝ってもらえますか?
Kaimon Jl
はい、読みました。
Kaimon Jlで調べた結果をお伝えします。

よくある質問

Kaimon Jl MCPサーバーは何に使いますか?

Kaimon Jlは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでKaimon Jl MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでKaimon Jlを利用できます。

TypingMindでKaimon Jl MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Kaimon Jlを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Kaimon Jl MCPをTypingMindに接続するにはどうすればよいですか?

Kaimon JlはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでKaimon Jl MCPのどのようなツールを利用できますか?

Kaimon JlはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Kaimon Jl MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Kaimon Jlで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇