Kaimon Jl logo

Kaimon Jl

Community
kahliburke

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

Publisherkahliburke
RepositoryKaimon.jl
LanguageJulia
Forks
6
Stars
50
Available tools
0
Transport typestdio
LicenseMIT
Links
  • Connect tools to AI workflows

    Kaimon Jl exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    50 stars and 6 forks from the linked repository.

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.

Use Kaimon Jl MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Kaimon Jl is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Kaimon Jl as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Kaimon Jl MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "kaimon-jl": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Kaimon Jl MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Kaimon Jl MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Kaimon Jl to help me with this task?
Kaimon Jl
Sure. I read it.
Here is what I found using Kaimon Jl.

Frequently asked questions

What is the Kaimon Jl MCP server used for?

Kaimon Jl is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Kaimon Jl MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Kaimon Jl with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Kaimon Jl MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Kaimon Jl connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Kaimon Jl MCP to TypingMind?

Kaimon Jl runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Kaimon Jl MCP provide in TypingMind?

Kaimon Jl exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Kaimon Jl MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Kaimon Jl requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇