mcp-omnienv-nix
Provides ephemeral Nix-backed execution environments for running Lua code with on-demand package dependencies from nixpkgs.
Provides ephemeral Nix-backed execution environments for running Node.js code with on-demand package dependencies from nixpkgs.
Provides ephemeral Nix-backed execution environments for running Python code with on-demand package dependencies from nixpkgs.
Provides ephemeral Nix-backed execution environments for running Ruby code with on-demand package dependencies from nixpkgs.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-omnienv-nixrun a Python script that uses pandas to calculate average sales"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-omnienv-nix
MCP server that spins up Nix-backed, polyglot ephemeral environments. It uses nix shell to build disposable toolchains for interpreted stacks (Python, Node.js, Ruby, R, Lua; extendable) and runs your command inside that shell. Package availability depends on nixpkgs (e.g., python313Packages.requests, rPackages.misty, nodePackages.sloc).
Why
Coding agents often need ad-hoc Python/Node/Ruby/R/Lua deps. Preloading everything is noisy; venvs clutter a system.
With Nix on the host, this server asks for packages on demand, pulls them into the store, and leaves the rest of the environment clean—no venvs or global installs.
Runs over MCP (stdio transport) so agent clients can call the tools directly.
Related MCP server: Node.js Sandbox MCP Server
Tools
list_languages— enumerate supported languages and their base Nix packages.run_in_env(language, command, extra_packages?, timeout_seconds?)— launch anix shellwith base + extras and executecommand. Returns JSON:stdout,stderr,exit_code.
Quick start
# Try it ad-hoc
nix shell github:StealthBadger747/mcp-omnienv-nix -c mcp-omnienv-nixHook into your MCP client (stdio transport). Example config shape:
{
"mcpServers": {
"mcp-omnienv-nix": {
"command": "mcp-omnienv-nix"
}
}
}Extending languages
Edit
SUPPORTED_LANGUAGESinmcp_omnienv_nix/server.pyto add a language and its base packages.run_in_envvalidates extra packages against a simple regex and appends them to thenix shellinvocation.
Development
# Nix dev shell with deps + pytest
nix develop . -c pytest
# Run integration tests (hit nix shell for real package resolution)
MCP_OMNIENV_INTEGRATION=1 nix develop . -c pytest -m integrationLicense
MIT.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityCmaintenanceProvides isolated Docker environments for code execution, enabling users to create and manage containers, execute multi-language code, save and reproduce development environments, ensuring security and isolation.17
- Flicense-qualityCmaintenanceEnables running arbitrary JavaScript code in isolated Docker containers with on-the-fly npm dependency installation, supporting both ephemeral one-shot executions and persistent sandbox environments.56156
- FlicenseAqualityDmaintenanceEnables running arbitrary JavaScript code in isolated Docker containers with on-demand npm dependency installation, allowing for ephemeral script execution and long-running services with controlled resource limits.7563
- Flicense-qualityDmaintenanceEnables local, Docker-isolated code execution across six programming languages including Python, Rust, and TypeScript. It features pre-warmed container pooling, persistent sessions, and built-in support for machine learning libraries.
Related MCP Connectors
Persistent cloud development environments that coding agents create, run and test software in.
Execute code in 8 languages (Python, JS, TS, Go, Java, C++, C, Bash) in gVisor sandboxes.
Build, validate, and deploy multi-agent AI solutions from any AI environment.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/StealthBadger747/mcp-omnienv-nix'
If you have feedback or need assistance with the MCP directory API, please join our Discord server