nu-mcp

Crates.ionu-mcp
lib.rsnu-mcp
version0.110.0
created_at2025-10-15 13:08:52.289586+00
updated_at2026-01-18 03:17:28.005828+00
descriptionModules to run a model context protocol (MCP) server that provides Nushell as a tool.
homepagehttps://www.nushell.sh
repositoryhttps://github.com/nushell/nushell/tree/main/crates/nu-mcp
max_upload_size
id1884331
size107,111
Piepmatz (cptpiepmatz)

documentation

README

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.

Commit count: 10962

cargo fmt