Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Nushell

БесплатноНе проверен

Executes Nushell scripts securely through a single tool, returning structured output with stdout, stderr, and exit codes for data processing pipelines and syste

GitHubEmbed

Описание

Executes Nushell scripts securely through a single tool, returning structured output with stdout, stderr, and exit codes for data processing pipelines and system administration tasks.

README

An MCP (Model Context Protocol) server that allows AI assistants to execute Nushell scripts with full system access.

image

How it works

This server spawns nu -c "<script>" processes to execute commands. The nu process runs with the same permissions as the server process, giving it access to:

  • File system (read/write/delete)
  • Network (make requests, start servers)
  • Environment variables
  • System commands via nu's shell integration
  • Any custom nu configurations you provide

Security implications: The AI can execute arbitrary code on your system. Only use with trusted AI assistants and in environments where this level of access is acceptable.

Tool: exec

Executes Nushell scripts and returns stdout, stderr, exit code.

Parameters:

  • script (required): Nushell script to execute
  • timeout_seconds (optional): Timeout in seconds (default: 30)

Example:

{
  "script": "ls | where size > 1MB | get name",
  "timeout_seconds": 10
}

Configuration

The server accepts optional CLI arguments to use custom nu config files:

mcp-server-nu --nu-config /path/to/config.nu --nu-env-config /path/to/env.nu

Options:

  • --nu-config <path>: Custom config.nu file (sets up commands, aliases, etc.)
  • --nu-env-config <path>: Custom env.nu file (sets up environment variables)

When provided, these configs are loaded for every script execution via nu --config <path> --env-config <path> -c "<script>".

Install & Test

cargo install --locked mcp-server-nu
npx @modelcontextprotocol/inspector mcp-server-nu

With custom config:

npx @modelcontextprotocol/inspector -- mcp-server-nu --nu-config /path/to/config.nu

from github.com/cablehead/mcp-server-nu

Установка Nushell

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/cablehead/mcp-server-nu

FAQ

Nushell MCP бесплатный?

Да, Nushell MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Nushell?

Нет, Nushell работает без API-ключей и переменных окружения.

Nushell — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Nushell в Claude Desktop, Claude Code или Cursor?

Открой Nushell на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Nushell with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development