Reasonix: Open-Source Coding Agent for DeepSeek, Setup and MCP Servers
Reasonix is a free open-source coding agent that supports MCP servers over stdio, HTTP and SSE, set up with reasonix mcp add or a config file.
Reasonix is a free, community-built coding agent for your terminal, desktop app, browser and editor, and it supports MCP servers that add tools such as GitHub, a browser or Stripe. It is built around DeepSeek models but works with any OpenAI- or Anthropic-compatible provider.
Add a server with reasonix mcp add or a short config file, for one project or every project.
The software is free, but you pay your model provider per token, and an installed server's tools run without asking each time.
Good for
- Developers who want a coding agent that runs on DeepSeek or another low-cost model
- Claude Code users who already have a .mcp.json and want to reuse it
- Teams that keep shared servers in a reasonix.toml in git
- Anyone who prefers paying per token to a monthly plan
Install Reasonix
Reasonix
- 1
Have these values ready, then replace the placeholders in the snippet.
DEEPSEEK_API_KEY Required Name the DeepSeek preset uses. reasonix setup saves the value in ~/.reasonix/.env; a variable exported in your shell is not used as a fallback. REASONIX_HOME Optional Moves the Reasonix home folder (config, keys, state) for CI or portable installs. REASONIX_TELEMETRY Optional Set to 0 (or set DO_NOT_TRACK) to turn off the anonymous daily ping and counters. - 2
Run this in a terminal.
shellnpm i -g reasonix
Requires Node 18+ (launcher).
Pick npm on any system, Homebrew on macOS, or the Studio desktop app if you would rather not use a terminal. The desktop app needs no CLI setup; you add the model and key in its settings. Updates are one command.
The VS Code extension SivanLiu.reasonix-agent does not include the CLI. Install the CLI first, then the extension starts reasonix acp.
Older guides show npx reasonix code and ~/.reasonix/config.json. Those belong to the old 0.x line, which is now maintenance only. Current docs use the commands above and config.toml.
Sources disagree on which line npm and Homebrew give you. The studio README lists both under the 1.x line. reasonix.io labels npm i -g reasonix as 2.x, and on Nov 2, 2026 the npm latest tag and the Homebrew cask were both 2.57.0, with 1.x on the npm tag legacy-v1 (1.39.10). Run reasonix --version after installing to check.
From the vendor's docs. Source.
At a glance
- License
- MIT
- Latest version
- 2.57.0 (CLI and Studio desktop app), released 2026-11-02
- Install
- npm i -g reasonix, brew install esengine/reasonix/reasonix on macOS, or the Studio desktop app
- MCP support
- Yes: stdio, Streamable HTTP (http) and SSE
- Add a local server
- reasonix mcp add <name> -- <command> [args...]
- Add a hosted server
- reasonix mcp add <name> --http <url> [--header K=V]
- Server config format
- [[plugins]] tables in config.toml or reasonix.toml; mcpServers in .mcp.json
- Sign in to a hosted server
- reasonix mcp auth <name>, or press a in the /mcp panel
- Models
- DeepSeek presets (deepseek-flash, deepseek-pro) or any OpenAI- or Anthropic-compatible provider
Install Reasonix and add an MCP server
- 1
Install Reasonix and pick a model
Install it with the command in the box above, then run
reasonix setup. Add the DeepSeek provider (or any OpenAI- or Anthropic-compatible one), paste your key, choose a default model and pick Save and exit.The key is saved in
~/.reasonix/.env. Reasonix does not read aDEEPSEEK_API_KEYexported in your shell, so enter it here.Tip: Get a DeepSeek key at platform.deepseek.com/api_keys.
- 2
Add a local server from the terminal
reasonix mcp add fs -- npx -y @modelcontextprotocol/server-filesystem .Everything after
--is the launch command. Use--env K=Vto pass a setting to the server. The entry is saved to~/.reasonix/config.toml.Tip: CLI changes apply on the next session. In a running session, open /mcp and press n to add and connect now.
- 3
Add a hosted server with a key
reasonix mcp add stripe --http https://mcp.stripe.com --header "Authorization=Bearer $STRIPE_KEY"Use
--sse <url>instead of--httpfor an older SSE server. Servers that sign you in through your browser need no header; see the sign-in step below.Uses Stripe MCP
- 4
Or edit the config file by hand
Servers you install live in
~/.reasonix/config.toml(Windows:%APPDATA%\reasonix\config.toml). Servers for one project go inreasonix.tomlin the project root, and they override global entries with the same name.[[plugins]] # local server name = "example" command = "reasonix-plugin-example" # startup_timeout_seconds = 60 # optional # call_timeout_seconds = 600 # optional [[plugins]] # hosted server over Streamable HTTP name = "stripe" type = "http" url = "https://mcp.stripe.com" headers = { Authorization = "Bearer ${STRIPE_KEY}" }${STRIPE_KEY}expands from your environment, so the key stays out of the file. - 5
Or reuse a .mcp.json
Reasonix reads a Claude-style
.mcp.jsonin the project root as it is. If the same name appears inreasonix.toml, the TOML entry wins.{ "mcpServers": { "filesystem": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-filesystem", "/path"] }, "stripe": { "type": "http", "url": "https://mcp.stripe.com", "headers": { "Authorization": "Bearer ${STRIPE_KEY}" } } } } - 6
Start a session and check the server
Run
cd your-project, thenreasonix. Answer the Trust this folder prompt, and servers connect in the background.Type
/mcpto see each server and its tools. Pressrto reconnect a failed one.Tip: A server gets 30 seconds to start by default. Raise startup_timeout_seconds in its entry if it needs longer.
- 7
Sign in to a hosted server if it asks
Press
ain the /mcp panel, or runreasonix mcp auth <name>in your shell. Reasonix handles the sign-in details itself.To browse the official MCP Registry instead, run
reasonix mcp browseand thenreasonix mcp install <registry-name>. - 8
Use it by name
Ask in plain words. Reasonix shows each tool to the model as
mcp__<server>__<tool>.PromptUse the fs server to list the files in this folder and tell me which one is largest.Tip: Calls time out after 300 seconds by default.
- 9
Hide tools you do not want
Add
disabled_toolsto the server's entry to hide tools by their exact name.disabled_tools = ["write_file", "delete_file"]Installing a server authorizes all its tools to run without asking each time, so this is the way to keep a server read-only.
Best MCP servers for Reasonix
Official servers with an approved PlugWiki page that the Reasonix docs or a Reasonix user report show working. Documented first, then user reports by GitHub stars.
- 1
Stripe MCPOfficialHosted or LocalOAuthReasonix's own guide and command help use Stripe's hosted server as the example of a remote server with a key.
2,014 GitHub stars - 2
Context7OfficialHosted or LocalAPI keyLooks up current library docs. A Reasonix user reports it connects normally when started with npx.
64,001 GitHub stars - 3
Playwright MCPOfficialLocalDrives a real browser to test what Reasonix builds. The same user report lists it as working.
38,887 GitHub stars - 4
GitHub MCP ServerOfficialHosted or LocalOAuthPull requests, issues and code search. A startup bug with it was fixed in Studio 2.20.0, and a later user says their config works.
34,115 GitHub stars
Common errors and fixes
An exported DEEPSEEK_API_KEY is ignored
Cause: Provider keys are read only from the Reasonix home .env file, not from your shell.
Fix: Run reasonix setup and enter the key there.
A server you just added is missing in the running session
Cause: Changes made with the CLI take effect on the next session.
Fix: Restart the session, or press n in the /mcp panel to save and connect at once.
A hosted server says it needs sign-in (HTTP 401)
Cause: The server uses OAuth and there is no static Authorization header.
Fix: Run reasonix mcp auth <name>. Add --upgrade if it later asks for more access.
Some of a server's tools are held back after it updates
Cause: Tools whose definitions changed after you approved them wait for your OK.
Fix: Run reasonix mcp trust <name>. Add --follow to accept future changes; each change is still announced.
MCP startup fails in a few milliseconds with context canceled (Go or Python servers such as github-mcp-server)
Cause: Older Studio builds tied extra panes to a request that ended at once.
Fix: Update to Studio 2.20.0 or later.
reasonix mcp add prints dependency failure and exits 2
Cause: Version 2.47.0 hid the real usage error behind a generic message.
Fix: Update to a later release. reasonix mcp --help shows the add syntax.
A local server stays on connecting, then fails after about 5 minutes with context deadline exceeded (Windows Studio, Rust server)
Cause: Not confirmed. The maintainer suspects the newer protocol version Reasonix sends or the private temp folder it gives stdio servers on Windows.
Fix: Open issue with no fix yet. Test the server's handshake with protocol version 2025-11-25 as the maintainer asks.
A headless reasonix run refuses edits and exits 4 with permission.untrusted_folder
Cause: Version 2.x does not let an untrusted folder write files or run shell commands without someone to approve.
Fix: Trust the folder once with reasonix trust --dir <folder>, or pass --permission-mode auto if you accept the risk.
Verdict
Reasonix is a good pick for a free, open-source agent on DeepSeek or another cheap model, with MCP set up in one command. The main limit is that installed servers run all their tools without asking, and it has had many security fixes, so stay on 2.53.0 or later.
Reasonix is a good pick for a free, open-source agent on DeepSeek or another cheap model, with MCP set up in one command. The main limit is that installed servers run all their tools without asking, and it has had many security fixes, so stay on 2.53.0 or later.
Best for
- Developers who want to pay a model provider per token, not a monthly plan
- Claude Code users who want to reuse a project .mcp.json
- People who switch between DeepSeek, Kimi, Qwen or a local model
Skip it if
- You need per-tool approval for every MCP call
- You would open folders you do not trust and click through the Trust this folder prompt
- You follow a guide that uses npx reasonix code or config.json, which is the old 0.x line
Questions
What is Reasonix?
Reasonix is a free, open-source coding agent that runs in your terminal, a desktop app, your browser or your editor. It has a DeepSeek preset built in and works with any OpenAI- or Anthropic-compatible provider.
Is Reasonix made by DeepSeek?
No evidence says so. The project is community-built, licensed MIT and maintained by Huahui Yu, and its docs never say DeepSeek makes or endorses it. DeepSeek is one built-in model preset.
Is Reasonix free?
Yes, the software is free and MIT-licensed. You pay your model provider per token. On DeepSeek's price page in November 2026, deepseek-flash costs $0.15 per 1M cache-miss input tokens and $0.60 per 1M output tokens off-peak, and about double at peak hours (01:00-04:00 and 06:00-10:00 UTC on weekdays).
How do I install Reasonix?
Use the install box above. npm works on any system and needs Node 18+, Homebrew works on macOS, and the Studio desktop app needs neither. Then run reasonix setup to pick a model and paste your key.
Does Reasonix support MCP, and how do I add a server?
Yes. It connects to local servers and to hosted servers over HTTP or SSE. Run reasonix mcp add <name> -- <command> for a local one or reasonix mcp add <name> --http <url> for a hosted one, or follow the steps above.
Where is the Reasonix config file?
Your global file is ~/.reasonix/config.toml (Windows: %APPDATA%\reasonix\config.toml). A project can add reasonix.toml or a .mcp.json in its root, and the project file wins when names match. Set REASONIX_HOME to move the folder.
Why does Reasonix ignore my DEEPSEEK_API_KEY?
It reads provider keys only from the .env file in its home folder, not from your shell. Run reasonix setup and enter the key there.
Which models does Reasonix support?
It has DeepSeek presets (deepseek-flash by default, and deepseek-pro). You can add any OpenAI- or Anthropic-compatible provider, with presets for Kimi, Qwen, GLM, MiniMax, Ollama Cloud and others.
Reasonix vs Claude Code or OpenCode?
Reasonix and OpenCode are both open-source terminal agents that take many model providers and support MCP. Reasonix has DeepSeek presets built in, keeps config in TOML and reads a Claude-style .mcp.json as it is. See how to add MCP servers to OpenCode for the other setup.
Is Reasonix safe to use?
Mostly, if you keep it updated. It has 16 published security advisories, all fixed, and several covered project MCP config and instruction files in cloned repos. Use 2.53.0 or later, trust only folders you know, and add only servers you trust. Set REASONIX_TELEMETRY=0 to turn off its anonymous daily ping.
Information
updated Nov 2, 2026
Sources
Docs, issue trackers and discussions this page is built from.
Show all 19Hide
- Reasonix · reasonix.io
- Reasonix README · github.com
- Reasonix CLI reference · github.com
- Reasonix Guide: Configuration · github.com
- Reasonix config paths · github.com
- Reasonix migration guide · github.com
- reasonix on the npm registry (dist-tags) · registry.npmjs.org
- Homebrew cask for reasonix · github.com
- Reasonix Guide: Plugins (MCP) · github.com
- reasonix mcp command source and usage text · github.com
- DeepSeek models and pricing · api-docs.deepseek.com
- Reasonix security advisories · github.com
- Reasonix Guide: custom providers · github.com
- Reasonix v2.57.0 · github.com
- reasonix.example.toml · github.com
- Studio stdio MCP 'context canceled' (issue 9931) · github.com
- stdio MCP server deadline exceeded (issue 12368) · github.com
- Maintainer reply on issue 9931 · github.com
- reasonix mcp add dependency failure (issue 14052) · github.com