# Dashboard access requires sign-in

You can also investigate this project using the Vercel CLI. The commands below require a CLI session with access to the project.

If you don't have the CLI installed, run:

```sh
npm i -g vercel
```

Sign in with `vc login` if needed.

## MCP

### Query MCP tool calls by tool and outcome

```sh
vc metrics vercel.rpc.duration_ms --scope adarsh-mauryas-projects --project optiblogai --aggregation count --group-by target --group-by outcome --order-by value --query 'protocol:"mcp" AND method:"tools/call"' --environment production --since 12h --json
```

### Query P95 MCP tool call duration

```sh
vc metrics vercel.rpc.duration_ms --scope adarsh-mauryas-projects --project optiblogai --aggregation p95 --query 'protocol:"mcp" AND method:"tools/call"' --environment production --since 12h --json
```

### Query P75 MCP tool call duration by tool

```sh
vc metrics vercel.rpc.duration_ms --scope adarsh-mauryas-projects --project optiblogai --aggregation p75 --group-by target --order-by value --query 'protocol:"mcp" AND method:"tools/call"' --environment production --since 12h --json
```

### Query MCP tool calls by client

```sh
vc metrics vercel.rpc.duration_ms --scope adarsh-mauryas-projects --project optiblogai --aggregation count --group-by clientName --order-by value --query 'protocol:"mcp" AND method:"tools/call"' --environment production --since 12h --json
```

### Query failed MCP tool calls by tool and error type

```sh
vc metrics vercel.rpc.duration_ms --scope adarsh-mauryas-projects --project optiblogai --aggregation count --group-by target --group-by errorType --order-by value --query '(protocol:"mcp" AND method:"tools/call") AND errorType:*' --environment production --since 12h --json
```

### Query MCP requests by method and outcome

```sh
vc metrics vercel.rpc.duration_ms --scope adarsh-mauryas-projects --project optiblogai --aggregation count --group-by method --group-by outcome --order-by value --query 'protocol:"mcp"' --environment production --since 12h --json
```

### Discover MCP metrics and dimensions

```sh
vc metrics schema vercel.rpc --scope adarsh-mauryas-projects --json
```

