Julia VSCode MCP (unofficial)Companion extension for Julia for VS Code that exposes Julia REPL tools to AI coding agents via MCP (Model Context Protocol). This lets the Claude Code extension, Codex extension, non-VSCode CLI agents, any and other MCP-compatible tools use the integrated Julia REPL in VS Code. This extension is likely to be superceded by something more official in the Julia extension and/or VSCode and/or Claude/Codex in the future, but its not clear when or how, so for now enjoy this. Important notesYou need Julia for VS Code version 1.209.2 or later, which includes the necessary tool endpoints. Currently, Julia for VS Code does not report stdout/stderr from the REPL back to the agent, so the agent will only see the return value. This may not currently work reliably with the Codex VS Code extension due to upstream MCP issues; see openai/codex#6465 and openai/codex#15508. It works fine with the Codex CLI. This extension runs an HTTP server on a random localhost port to listen for requests. Session authentication is handled by lock files in SetupInstall the extension, then run the one-time command for your platform and agent from below in a terminal. These commands can also be shown in VSCode by running "Julia MCP: Show Setup Command" — the platform-appropriate path is copied automatically. macOS / Linux
Windows(Windows is untested, feedback welcome!)
UsageThe agent should automatically use the REPL when appropriate, nothing else is needed. If it's not doing so, run The working directory of the agent needs to be the same as the VSCode workspace directory for the agent to find the right window to send commands to. This happens automatically for Claude/Codex VSCode extensions in that window; if you're running from How it worksThe extension reads tool definitions from the official Julia extension's |