#model-context-protocol #nu-shell #mcp-server #module #run

nu-mcp

Modules to run a model context protocol (MCP) server that provides Nushell as a tool

4 releases (2 breaking)

Uses new Rust 2024

0.110.0 Jan 18, 2026
0.109.1 Dec 2, 2025
0.109.0 Nov 29, 2025
0.108.0 Oct 15, 2025

#68 in #run

Download history 5/week @ 2025-10-26 5/week @ 2025-11-23 4/week @ 2025-11-30 724/week @ 2026-01-18 308/week @ 2026-01-25 260/week @ 2026-02-01 253/week @ 2026-02-08

1,545 downloads per month
Used in nu

MIT and maybe CC-PDDC

2MB
51K 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

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–69MB
~1M SLoC