# MCP Server

> Built-in MCP server exposing 11 browser tools - compatible with Claude Desktop, Cursor IDE, and any MCP client.

Source: https://docs.graph8.com/desktop/mcp-server/

graph8 Desktop includes a built-in MCP (Model Context Protocol) server that exposes 11 browser tools.

## Running the MCP server

```bash
npm run mcp
```

## Compatible clients

- Claude Desktop
- Cursor IDE
- Any MCP client that supports stdio transport

## Available tools

| Tool | What it does |
|------|-------------|
| browser_navigate | Go to URL |
| browser_click | Click element |
| browser_type | Type text |
| browser_scroll | Scroll page |
| browser_snapshot | Get accessibility snapshot with reference numbers |
| browser_hover | Hover over element |
| browser_go_back | Navigate back |
| browser_go_forward | Navigate forward |
| browser_wait | Wait for element |
| browser_select_option | Select dropdown option |
| browser_extract | Extract text from page |

## Shared browser session

The MCP server shares the same browser session as the main app. Actions performed via MCP affect the same browser instance.
