Skip to content
Dashboard
Integrations

MCP Server

Model Context Protocol server exposing Lightcone browser actions as tools for any MCP-compatible client.

The Lightcone Model Context Protocol (MCP) server exposes browser automation actions as MCP tools. Any MCP-compatible client (Claude Desktop, Cursor, Windsurf, and more) can use Lightcone to browse the web.

The MCP server exposes these tools:

ToolDescription
create_sessionCreate a browser or desktop session
navigateNavigate to a URL
clickClick at coordinates
typeType text
screenshotCapture the current viewport
scrollScroll the page
execute_actionExecute any Lightcone action
get_htmlGet the page HTML
terminate_sessionEnd the session

Add to your Claude Desktop configuration (claude_desktop_config.json):

{
"mcpServers": {
"lightcone": {
"command": "npx",
"args": ["@tzafon/mcp-server"],
"env": {
"TZAFON_API_KEY": "sk_your_api_key_here"
}
}
}
}

Then ask Claude: “Open a browser and go to example.com” — Claude will use the Lightcone MCP tools to create a session, navigate, and return results.

For programmatic use:

Terminal window
TZAFON_API_KEY=sk_your_key npx @tzafon/mcp-server

For remote server deployments:

Terminal window
TZAFON_API_KEY=sk_your_key npx @tzafon/mcp-server --transport http --port 3001

The MCP server wraps Lightcone’s API into the MCP tool specification. When an MCP client (like Claude) decides it needs to interact with a web page, it:

  1. Calls create_session to spin up a Lightcone browser
  2. Uses navigate, click, type, screenshot tools to interact
  3. Calls terminate_session when done

The server manages session lifecycle and translates MCP tool calls into Lightcone API requests.