Listed from the MCP registry; nobody on Odel publishes it.
Let AI agents slow down, break or mock one app's network on a Mac, including iOS Simulator apps.
Runs on your machine from its package; the steps are below.
At most: creates or changes data: records, files, settings.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y lagsmith-mcp
MCP client config
{
"mcpServers": {
"lagsmith": {
"command": "npx",
"args": [
"-y",
"lagsmith-mcp"
]
}
}
}![]()
Let your AI coding agent test your app on bad networks. This MCP server lets Claude Code, Cursor, Codex, Claude Desktop, Windsurf and other MCP clients slow down, break and mock the network of one app at a time on your Mac, including iOS Simulator apps, using Lagsmith. Only the app under test is affected, so the agent's own connection, your terminal and your test runners stay at full speed.
With it, an agent can:
NSURLErrorNotConnectedToInternet (-1009), and NWPathMonitor and SCNetworkReachability report no network, like on a real devicenpx setup below, or skip Node and use the server inside the appclaude mcp add --scope user lagsmith -- npx -y lagsmith-mcp
--scope user makes Lagsmith available in every project. Start a new session and run /mcp to check it's connected.
{
"mcpServers": {
"lagsmith": {
"command": "npx",
"args": ["-y", "lagsmith-mcp"]
}
}
}
| Client | Config file |
|---|---|
| Cursor | ~/.cursor/mcp.json, or .cursor/mcp.json in a project |
| Claude Desktop | Settings › Developer › Edit Config, then restart Claude Desktop |
| Windsurf | ~/.codeium/windsurf/mcp_config.json |
| Cline | MCP Servers icon › Configure › Configure MCP Servers (opens cline_mcp_settings.json) |
If the file already has other servers, add the lagsmith entry inside the existing mcpServers section.
In ~/.codex/config.toml:
[mcp_servers.lagsmith]
command = "npx"
args = ["-y", "lagsmith-mcp"]
The same server ships inside the app, so you can point any client straight at it:
claude mcp add --scope user lagsmith -- /Applications/Lagsmith.app/Contents/MacOS/lagsmith-mcp
In JSON configs, use "command": "/Applications/Lagsmith.app/Contents/MacOS/lagsmith-mcp" with no args.
| Tool | What it does | Main parameters |
|---|---|---|
list_targets | Running simulators and their apps, running Mac apps, presets and current rules | none |
status | Every rule, what it's doing, and whether the proxy is running | none |
set_network | Slow down or break one app's network | app, simulator; preset, or down/up (kbps), latency/jitter (ms), loss (%); failure (airplane, refuse, timeout, drop, outages); hosts, hosts_mode |
reset_network | Back to full speed; the app stays watched | app, simulator |
stop_watching | Turn the app's rule off entirely | app, simulator |
relaunch_app | Relaunch a simulator app with request monitoring | app, simulator |
get_requests | The app's recent HTTP requests, newest first | app, simulator, limit, filter (e.g. is:failed, status:5xx), include_bodies |
fail_endpoint | Make one endpoint fail while the rest works | app, simulator, pattern, kind (offline, timeout, status, delay), value |
mock_endpoint | Answer one endpoint with a made-up response | app, simulator, pattern, status, body, content_type, delay |
clear_endpoints | Remove endpoint failures and mocks | app, simulator, pattern |
For simulator apps, pass simulator: "booted", a device name or a UDID. Leave simulator out for a Mac app.
See a full example session in the MCP docs.
lagsmith-mcp speaks MCP over stdio and turns each tool call into a request to Lagsmith's automation server on 127.0.0.1:47300 (set LAGSMITH_PORT to change the port). It's one dependency-free Swift file: Sources/lagsmith-mcp.swift, the same source that's built into the app.
The npm package is a small launcher. It runs the server inside your installed copy of Lagsmith, so the server always matches your app version. If Lagsmith isn't installed, the launcher still answers with the list of tools, and every tool call explains how to install the app. If your copy of Lagsmith isn't in /Applications or ~/Applications, set LAGSMITH_APP to its path.
To build the server yourself:
xcrun swiftc -O -o lagsmith-mcp Sources/lagsmith-mcp.swift
Everything runs on your Mac. The requests Lagsmith slows down, mocks or shows you are never sent anywhere. Lagsmith's anonymous usage statistics count which features are used, including tool calls through MCP. They never include your apps' traffic. See the privacy policy. What your AI agent does with what it reads is governed by that agent's own privacy policy.
This repository, the MCP server and its npm launcher, is under the MIT License. The Lagsmith app itself is proprietary: see the terms.