LocalCan
Gives AI agents public URLs (tunnels) for localhost, live HTTP traffic inspection, snapshot publishing, and access control.
Ads
Overview
localcan mcp runs a Model Context Protocol server over stdio. An MCP host (Claude Code, Codex, Cursor, Claude Desktop, and others) launches it and calls LocalCan's tools to read captured traffic, manage Public URLs (tunnels), and publish Snapshots. LocalCan must be running for the tools to return data, so open the desktop app or run localcan start -d first. The server exposes twenty tools. Reading works out of the box. The eleven tools that change things need write access, which is off by default (see the switches below). Creating or adding a Public URL needs an active license. Publishing a Snapshot and password-protecting a URL need a subscription plan, so a perpetual license is turned away even though it can still open Public URLs. Unlicensed, the gated tools return a clear activation message, while pausing, resuming, and removing existing URLs still work.
Installation
claude mcp add --scope user localcan -- localcan mcp
Configuration
{
"mcpServers": {
"localcan": {
"command": "/Users/you/.localcan/bin/localcan",
"args": ["mcp"]
}
}Capabilities
- Inspect captured traffic
Ask your assistant to list recent HTTP exchanges with `list_traffic` and view details of any exchange via `get_exchange`.
- Create and manage Public URLs
Have your assistant create a tunnel with `create_public_url`, list existing ones with `list_public_urls`, and pause or resume them.
- Publish offline Snapshots
Ask your assistant to publish a folder as a Snapshot with `publish_snapshot` so a link stays reachable when your machine is offline.
- Protect URLs with passwords
Have your assistant password-protect a Public URL with `set_password` and check protection via `get_access_status`.
- Check capture status
Ask your assistant to verify whether capture is on and how much traffic is buffered with `get_status`.
Tags
- documentation
- document
- development
Related MCP servers
Context7 MCP
OfficialOfficial Context7 MCP server that brings up-to-date, version-specific library documentation and code examples into AI coding prompts.
Chrome DevTools MCP
OfficialOfficial Chrome DevTools MCP server for controlling and inspecting a live Chrome browser from coding agents such as Gemini, Claude, Cursor, and Copilot.
Mastra/mcp
OfficialClient implementation for Mastra, providing seamless integration with MCP-compatible AI models and tools.
GitHub MCP Server
OfficialConnect your AI assistant to GitHub repositories, issues, pull requests, and search.