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., "@nox-mcpRun the tests using Python 3.12"
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.
nox-mcp
A Model Context Protocol (MCP) server that enables AI assistants to run nox sessions. This allows LLMs to discover and execute your project's test, lint, build, and other automation tasks.
Features
Discover sessions — List all available nox sessions with descriptions and Python versions
Run sessions — Execute sessions by name, tags, or keyword expressions
Filter by Python version — Override the default Python version for any session
Structured output — Returns JSON responses for easy parsing by AI tools
Installation
Requires Python 3.10+ and nox installed in your PATH.
Or with uv:
Quick Start
Configure your MCP client
Add nox-mcp to your MCP client configuration. For example, in Claude Desktop's claude_desktop_config.json:
Or if using uvx:
Available Tools
Once configured, your AI assistant can use these tools:
nox_list_sessions
List all available nox sessions in the current project.
nox_run_session
Run one or more nox sessions.
Parameter | Type | Description |
| list[str] | Session names to run (e.g., |
| list[str] | Filter sessions by tags |
| str | Keyword expression (e.g., |
| str | Python version override (e.g., |
| int | Max seconds to wait (default: 300) |
Example Workflow
Ask your AI assistant: "What nox sessions are available?"
The assistant calls
nox_list_sessionsand shows you the optionsAsk: "Run the tests with Python 3.12"
The assistant calls
nox_run_session(sessions=["tests"], python="3.12")
Requirements
Python 3.10+
nox installed and available in PATH
An MCP-compatible client (Claude Desktop, etc.)
Development
License
MIT License — see LICENSE for details.