← Back to directory
F

Fauxnix MCP Server

Community
Run Linux-style commands natively on Windows.
Category
Dev Tools #357 of 751
Stars
★ 900 Very popular
Transport
stdio (local process)
Runtime
Node.js 22.20.0+
Credentials
No credential needed
License
MIT
Last commit
Tools
2
51FMRS · D

This stdio MCP server targets Windows AI-agent workflows and deterministically translates supported Bash-style commands into PowerShell. Its documentation states the prerequisites, client configuration, command scope, and compatibility deviations; it is not a full Bash or Linux environment.

Strongest · Documentation 16/20 Weakest · Security and permissions 4/20

Reliability
8/20
Security and permissions
4/20
Maintenance
10/20
Documentation
16/20
Setup experience
13/20
Why each score
Reliability 8/20
The README claims 1,990 automated tests, CI, and an MCP round-trip diagnostic, and describes several explicit failure cases. However, no workflow, test files, or manifest are available to verify startup or the init and tool-list handshake. Windows, PowerShell, and Node version requirements also limit applicability, so the score remains modest.
Security and permissions 4/20
The README says curl/wget block private and reserved addresses and describes file-operation limits. However, the MCP tool executes bash commands, including deletion commands such as rm, and the supplied material does not show confirmation before dangerous operations or filesystem permission isolation. This meets the stated red line for unconfirmed deletion, so security is scored in the 0–4 range.
Maintenance 10/20
The material identifies an MIT license, a v2.3.0 checkout, open issues, and several unmerged PRs, which are signs of versioning and ongoing work. It provides no verifiable commit or release history, dependency update evidence, or security response channel, so sustained maintenance cannot be established.
Documentation 16/20
The README gives setup examples for several clients, runtime requirements, supported commands, behavioral deviations, and known limitations. Deductions reflect the uncached manifest and links, unverified parameter details and test claims, and the absence of a clear cost statement.
Setup experience 13/20
The README provides a global npm install path, client-specific install commands, a doctor check, and configuration examples, making the steps reasonably clear. Windows, PowerShell 5.1+, and Node.js 22.20.0+ are required, and the manifest and successful connection cannot be verified from the supplied material, so the score is below full marks.

Static review · not runReviewed 2026-11-30

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesRuns commands or codeUses the network

Best for

  • AI-agent workflows that need Bash-style commands with access to the native Windows filesystem.
  • Windows environments that can work within the implemented command subset and its documented compatibility limits.

Not for

  • Workflows requiring full Bash, the full GNU toolset, or behavior identical to Linux.
  • Tasks that require unsupported syntax and cannot tolerate an explicit error.
  • Environments without Windows, PowerShell 5.1+, and Node.js 22.20.0+.

Required permissions

  • The user permissions needed to run commands on Windows; access to files and system resources follows the running account's permissions.
  • Network access for network requests; curl and wget refuse the local, private, and reserved addresses listed in the documentation.

Risks and side effects

  • Commands run in local PowerShell; supplied commands may read or modify files and environment data available to the running account.
  • Only a subset of Bash and commands is supported; the documentation describes deviations and operations that are explicitly rejected.
  • Unknown commands pass through natively, and Windows .cmd/.bat programs may run through cmd.exe.
  • Background processes, encoding, and file operations have documented limitations; behavior should not be assumed to match GNU/Linux exactly.

Setup

Before you start

Runtime:Node.js 22.20.0+

Other optional settings (3)
FAUXNIX_TOOL_NAME optional Optional: sets the MCP tool name; the default is `bash`.
FAUXNIX_PS optional Optional: set to `pwsh` to use PowerShell 7; Windows PowerShell 5.1 is the default.
FAUXNIX_NATIVE_ENCODING optional Optional: set to `ansi` to handle native Windows administration tool output encoding in pipelines.

Requires Windows, PowerShell 5.1 or later, and Node.js 22.20.0 or later. Run npm install -g fauxnix-cli, then configure a client with fauxnix install --codex, --claude, --opencode, --kimi, or --qwen. Alternatively, configure an MCP client to launch fauxnix mcp over stdio; on Windows, the documented robust form uses absolute paths to the Node executable and installed entry file.

.mcp.json
{"mcp":{"fauxnix":{"type":"local","command":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\<you>\\AppData\\Roaming\\npm\\node_modules\\fauxnix-cli\\dist\\index.js","mcp"]}}

Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

Check that it works

Confirm that `bash` and `bash_batch` appear in the client's tool list. Call `bash` with `pwd` and check that it returns the current working directory.

Troubleshooting

  1. Confirm the host is Windows and check that PowerShell is at least 5.1 and Node.js is at least 22.20.0.
  2. Run fauxnix doctor to check encoding, client configuration, and the MCP round trip.
  3. If a Windows MCP client cannot start the server, check that its configuration uses absolute paths to the Node executable and entry file.
  4. For garbled output from native Chinese Windows administration tools, the documentation suggests setting FAUXNIX_NATIVE_ENCODING=ansi; PowerShell 7 can be selected with FAUXNIX_PS=pwsh.

Things to try

Once connected, you can ask your AI assistant things like:

  • List the files in the current directory and show the first 10 entries.
  • Find all .ts files under the current directory and count them.
  • Create notes.txt, write one line to it, then read it back.

Tools 2

bash destructive
Runs Bash-style commands and returns GNU/Linux-style output with Bash-style errors.
bash_batch destructive
Precompiles multiple commands, runs them in order in one session, and returns a structured result for each step; stops at the first nonzero exit code by default.

Use cases

Let AI agents run common Bash-style file, text-processing, and system commands on Windows.
Run a known sequence of commands in one MCP call and receive a result for each step.

Supported clients

Claude Code
Codex
OpenCode
Kimi Code
Qwen Code

Listed from the project's documentation, not tested by this site.

Overview

Fauxnix deterministically translates a subset of Bash commands into PowerShell and runs them on Windows, without a VM or WSL. It provides an MCP server over stdio with the bash and bash_batch tools, GNU/Linux-style output, and UTF-8/GBK handling.

Similar servers

Source revision 3d08fe0241af Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/fauxnix.svg)](https://followmcp.com/en/servers/fauxnix)