Skip to main content

Getting Started with AI Agents

Package Manager Installation

MCP Router includes built-in commands to install necessary package managers (such as pnpm or uvx) required for MCP operations. This functionality allows even general users to quickly and easily begin using AI agents.

However, security policies in your operating system might restrict the execution of these commands. In such cases, you can follow the manual setup steps below.

For MacOS, open the Terminal (an app) and run the following commands:

curl -LsSf https://astral.sh/uv/install.sh | sh
curl -fsSL https://get.pnpm.io/install.sh | sh -
pnpm env use --global lts

For Windows, open the PowerShell app and run the following commands:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Invoke-WebRequest https://get.pnpm.io/install.ps1 -UseBasicParsing | Invoke-Expression
pnpm env use --global lts