Thanks to visit codestin.com
Credit goes to mise.en.dev

Skip to content

mise mcp

Run Model Context Protocol (MCP) server

This command starts an MCP server that exposes mise functionality to AI assistants over stdin/stdout using JSON-RPC protocol.

The MCP server provides access to:

  • Installed and available tools
  • Task definitions and execution
  • Environment variables
  • Configuration information
  • Task execution via the run_task tool

Resources available:

  • mise://tools - List all tools (use ?include_inactive=true to include inactive tools)
  • mise://tasks - List all tasks with their configurations
  • mise://env - List all environment variables
  • mise://config - Show configuration files and project root

Tools available:

  • install_tool - Install a tool with an optional version (not yet implemented)
  • run_task - Execute a mise task with optional arguments

Note: This is primarily intended for integration with AI assistants like Claude, Cursor, or other tools that support the Model Context Protocol.

Examples:

# Start the MCP server (typically used by AI assistant tools)
$ mise mcp

# Example integration with Claude Desktop (add to claude_desktop_config.json):
{
  "mcpServers": {
    "mise": {
      "command": "mise",
      "args": ["mcp"],
      "env": {}
    }
  }
}

# Interactive testing with JSON-RPC commands:
$ echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}' | mise mcp

# Resources you can query:
- mise://tools - List active tools
- mise://tools?include_inactive=true - List all installed tools
- mise://tasks - List all tasks
- mise://env - List environment variables
- mise://config - Show configuration info

# Tools available:
- install_tool - Install a tool (not yet implemented)
- run_task - Execute a mise task with optional arguments
  Example: {"task": "build", "args": ["--verbose"]}
MIT LicenseCopyright © 2026en.dev