# Installation

```sh
pnpm add -D is-mcp-ok
```

Requires Node.js 22.12 or later. To try it without installing, use `npx is-mcp-ok`.

## First check


### Point it at a server

```sh
npx is-mcp-ok http://localhost:3000/mcp
```

It reads `initialize` and every page of `tools/list` over Streamable HTTP, as a client does when it connects.

### Or at a saved list

```sh
npx is-mcp-ok tools.json
```

A stdio server needs this route. See [Servers](https://ismcpok.dev/docs/guide/servers#a-saved-list).

### Read the result

Each finding names its code, its tool and its fix. It exits `1` on a list `error`; [CLI](https://ismcpok.dev/docs/reference/cli#exit-codes) lists every exit code.

## Try the preview CLI

The npm release `0.1.1` uses `check-result` for a single answer and doesn't have budget limits, Markdown summaries or automatic agent output. To try the examples that need those newer features, install the preview in your project:

```sh
pnpm add -D https://pkg.pr.new/is-mcp-ok@17
pnpm exec is-mcp-ok --help
```

Check for `--save` and `<file | -> --tool` in the help, not just the version number: the preview can report the same version as the release. You can also build from a checkout of this repository's `main` branch with `pnpm install --frozen-lockfile` and `pnpm build`, then run `node dist/cli.mjs` in place of `pnpm exec is-mcp-ok`.

<!-- vitehub-docs:section-links -->
## In this section

- [Introduction](https://ismcpok.dev/raw/docs/guide.md)
- [Installation](https://ismcpok.dev/raw/docs/guide/installation.md) (this page)
- [Check a server](https://ismcpok.dev/raw/docs/guide/servers.md)
- [Check answers](https://ismcpok.dev/raw/docs/guide/answers.md)
- [Token budget](https://ismcpok.dev/raw/docs/guide/budget.md)
- [Run in CI](https://ismcpok.dev/raw/docs/guide/ci.md)
- [Check tools in your tests](https://ismcpok.dev/raw/docs/guide/testing.md)
- [Coding agents](https://ismcpok.dev/raw/docs/guide/agents.md)

Next: [Check a server](https://ismcpok.dev/raw/docs/guide/servers.md)

All pages: [llms.txt](https://ismcpok.dev/llms.txt)
