nu-mcp 0.109.0

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

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. By default, this feature is not enabled.

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.