Skip to main content
Glama
anh7
by anh7
README.md
# webdev-mcp

An MCP server that provides useful web development tools.

## Usage

### Cursor

- To install in a project, add the MCP server to your `.cursor/mcp.json`:

```json
{
	"mcpServers": {
		"webdev": {
			"command": "npx",
			"args": ["webdev-mcp"],

		}
	}
}
```

- To install globally, add this command to your Cursor settings:

```bash
npx webdev-mcp
```

### Windsurf

- Add the MCP server to your `~/.codeium/windsurf/mcp_config.json` file:

```json
{
	"mcpServers": {
		"webdev": {
			"command": "npx",
			"args": ["webdev-mcp"]
		}
	}
}
```

## Tools

Currently, the only 2 tools are `takeScreenshot` and `listScreens`. Your agent can use the list screens tool to get the screen id of the screen it wants to screenshot.

The tool will return the screenshot as a base64 encoded string.

![image.png](image.png)

## Tips

Make sure YOLO mode is on and MCP tools protection is off in your Cursor settings for the best experience. You might have to allow Cursor to record your screen on MacOS.

TDQS

A4.1/5.0

Scored across 2 tools

Disambiguation5/5

listScreens and takeScreenshot have clearly distinct purposes—one lists available screens, the other captures a screenshot. There is no overlap or ambiguity between them.

Naming Consistency5/5

Both tools use a consistent camelCase verb_noun pattern (listScreens, takeScreenshot) that is predictable and clear.

Tool Count4/5

With only 2 tools, the set is minimal but covers the essential operations for screen capture (list and capture). Could be slightly thin but still reasonable for a focused domain.

Completeness4/5

The tool set covers listing screens and capturing a screenshot, which is the core functionality. Missing features like capturing all screens or with options are minor gaps that agents can work around.

Maintenance

ActivityInactive
ResponsivenessNo issues