> ## Documentation Index
> Fetch the complete documentation index at: https://mcpconfig.plaino.me/llms.txt
> Use this file to discover all available pages before exploring further.

# Install

> Install mcpconfig globally, with npx, or from source

## Global install (recommended)

To use the `mcpconfig` command from any directory:

```bash theme={null}
npm install --global @yash_pandit/mcpconfig
```

Then run:

```bash theme={null}
mcpconfig list-clients
mcpconfig list-servers
mcpconfig add-server
```

## Run with npx

You can run mcpconfig without installing it globally:

```bash theme={null}
npx @yash_pandit/mcpconfig list-clients
npx @yash_pandit/mcpconfig list-servers
npx @yash_pandit/mcpconfig add-server
```

This is useful for a one-off run or in scripts.

## Install from source

To build and run from the repository:

<Steps>
  <Step title="Clone and install dependencies">
    ```bash theme={null}
    git clone https://github.com/YashPandit4u/mcpconfig.git
    cd mcpconfig
    npm install
    ```
  </Step>

  <Step title="Build">
    ```bash theme={null}
    npm run build
    ```

    TypeScript is compiled to `dist/`.
  </Step>

  <Step title="Use the CLI">
    Option A — link globally so `mcpconfig` is available everywhere:

    ```bash theme={null}
    npm link
    ```

    Option B — run the built CLI directly:

    ```bash theme={null}
    npm start
    ```

    or:

    ```bash theme={null}
    node dist/cli.js
    ```
  </Step>
</Steps>

## Requirements

* **Node.js** 16 or newer

Check your version:

```bash theme={null}
node --version
```
