MCP runs a local MCP server that lets AI agents, such as Claude Code, read your app’s logs,
requests and state through Xerlock, and change them where you allow it. The server only accepts
connections from your own computer.
The MCP section with the server on, the connection details and the permissions list
Permissions sets what agents can do in each area: Off, Read or Read & write. Changes
reach connected agents straight away. To change several areas at once, tick them and pick a level
from the bar at the top.
Area
Default
Read
Write
Console
Read & write
Console output
Clear the log
Native logs
Read & write
Native iOS and Android logs
Clear the log
Network
Read & write
Requests, headers and bodies
Clear the log
Filters
Read
Your console and network filters
Add, change and remove them
React
Read & write
Component tree, props, state and profiler results
Highlight components and record profiles
Redux
Read & write
State and action history
Dispatch actions, edit state and time travel
Zustand
Read & write
Stores and change history
Edit state, call actions and time travel
TanStack Query
Read & write
Queries, mutations and cached data
Set data, remove, refetch and invalidate
Storage
Read
Keys and values
Set and delete keys
Database
Read
Schema, rows and read-only SQL
Run any SQL
Navigation
Read
The current screen, its params and the app’s routes
Navigate, go back and dispatch actions
Commands
Read
The app’s custom commands
Run them
Variables
Read
Environments and non-secret variable values
None
Writes that last, such as storage, database and commands, start as Read. Writes that a reload
undoes start as Read & write.
Two areas have an extra switch, off by default:
Storage › Reveal SecureStore values: agents only see the SecureStore keys you’ve looked up in
Xerlock, and their values stay masked unless this is on.
Variables › Allow secret variables: agents can use {{name}} references to
secret variables. They never see the value, but
your app, and anything it logs, can. See Keychain.
Agents can use {{name}} references to your variables in any
tool’s arguments, and Xerlock fills them in before the tool runs.