You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f1fefb8
Browse filesBrowse the repository at this point in the historyBrowse files
Improve MCP discovery for responsive website testing (#1551)
Describe browser viewport testing and screenshot workflows in tool and server metadata. Align package documentation and help text with the supported capabilities and capture limits.
Co-authored-by: Codex <noreply@openai.com>
Copy file name to clipboardExpand all lines: responsively-mcp/README.md
+26-16Lines changed: 26 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,19 @@
1
1
# @responsively/mcp
2
2
3
-
MCP (Model Context Protocol) server for [Responsively App](https://responsively.app) — lets AI coding agents like Claude Code and Cursor drive the app: load URLs, manage device previews, read and interact with pages, and capture per-device screenshots to visually verify responsive layouts.
3
+
Browser MCP (Model Context Protocol) server for testing website responsiveness across mobile, tablet, and desktop viewports in [Responsively App](https://responsively.app). AI coding agents such as Codex, Claude Code, and Cursor can open websites, compare responsive layouts using labeled viewport screenshots, and test page interactions.
4
4
5
5
**The app is launched on demand.** Connecting an agent session does not open the app; the first tool call starts it automatically (and it stays open afterwards). If it's already running, it's reused.
6
6
7
+
## Use cases
8
+
9
+
- Check a website or local development server for responsive layout issues at phone, tablet, and desktop sizes.
10
+
- Capture labeled screenshots across multiple viewports to inspect clipping, overlap, navigation, and text wrapping.
11
+
- Read page text and discover selectors, then click menus or type into forms to check interactions at different sizes.
12
+
13
+
For a responsive review, use `list_devices` to find viewport sizes, select them with `set_active_devices`, open the URL with `navigate`, and compare `screenshot` results. Use `read_page`, `click`, and `type_text` to inspect interactive states.
14
+
15
+
Device previews run in the app's browser, rather than on physical devices. The MCP tools select existing device presets and custom devices configured in the app. Screenshots capture the visible viewport as JPEG, downscaled to at most 1000px wide.
16
+
7
17
## Setup
8
18
9
19
Install [Responsively App](https://responsively.app/download) and launch it once. Then:
|`get_app_state`| Inspect the current URL, page title and active viewport dimensions, layout and zoom |
42
+
|`navigate`| Open a website or local URL in all browser viewports (waits for the page to load)|
43
+
|`list_devices`| Find phone, tablet and desktop viewport presets, including configured custom devices|
44
+
|`set_active_devices`|Select browser viewports for responsive testing by device id or name|
45
+
|`screenshot`| Capture labeled JPEG screenshots of one or all visible browser viewports |
46
+
|`read_page`| Read a viewport's page text and interactive elements with CSS selectors|
47
+
|`click`| Test links, buttons and menus with a trusted mouse click; mirrors across previews when event mirroring is enabled|
48
+
|`type_text`| Test form fields with real keystrokes, optionally press Enter|
39
49
40
50
## How it works
41
51
42
52
This package is a thin bootstrap: the actual MCP bridge ships **inside the installed app** (version-locked to it). The bootstrap finds the install — via a location file the app writes on startup — and runs that bridge in-process.
43
53
44
54
## Environment variables
45
55
46
-
| Variable | Purpose |
47
-
| --- | --- |
48
-
|`RESPONSIVELY_APP_PATH`| Path to a custom app install (auto-detected otherwise) |
49
-
|`RESPONSIVELY_MCP_PORT`| Port of the app's MCP server (default `12720`) |
Copy file name to clipboardExpand all lines: responsively-mcp/package.json
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,18 @@
1
1
{
2
2
"name": "@responsively/mcp",
3
3
"version": "1.0.0",
4
-
"description": "MCP server for Responsively App — launches the installed app on demand and lets AI agents drive it",
4
+
"description": "Browser MCP server for testing website responsiveness across mobile, tablet, and desktop viewports with screenshots and page interactions in Responsively App",
0 commit comments