13 releases (7 breaking)
Uses new Rust 2024
| new 0.115.1 | Aug 23, 2026 |
|---|---|
| 0.114.1 | Jul 11, 2026 |
| 0.111.0 | Mar 1, 2026 |
| 0.109.1 | Dec 2, 2025 |
| 0.109.0 | Nov 29, 2025 |
#754 in Artificial intelligence
2,416 downloads per month
Used in 2 crates
3MB
65K
SLoC
nu-mcp Crate
This crate provides support for MCP (Model Context Protocol) in Nushell.
Feature Flag
The mcp feature flag controls whether MCP functionality is compiled into Nushell.
Building with MCP Support
To build Nushell with MCP support, use:
cargo build --features mcp
Running MCP Server
To run Nushell with the MCP server enabled:
nu --mcp
Transport Options
The MCP server supports two transport modes:
stdio(default): Standard I/O transport for local usage.http: Streamable HTTP with SSE for remote access.
To use HTTP transport:
nu --mcp --mcp-transport http
To specify a custom port (default is 8080):
nu --mcp --mcp-transport http --mcp-port 3000
If Nushell was built without the MCP feature and you attempt to use the --mcp flag, it will display an error message instructing you to recompile with the feature enabled.
Dependencies
~33–62MB
~1M SLoC