
ownerwatch
io.github.imal1icePublished by GitHub account imal1icev0.1.0Updated Nov 8, 2026
Read-only: who controls EVM contracts. Owners, proxy admins, Safes, timelocks, roles.
Overview
Read-only MCP server that lets an assistant trace who controls an EVM contract: owners, proxy admins, Safes, timelocks and roles.
- What you can do
- Probe the admin surface of one or more EVM addresses and get a Markdown report plus structured control paths, findings, node reads and what could not be established
- Check an ERC-8241 control disclosure against chain state at a pinned block and list mismatches, unverifiable records and omitted control
- Generate an ownerwatch YAML monitoring config covering the contracts and the contracts and Safes above them, validated before it is returned
- Read results as a chain view, not a verdict: failed reads return an error rather than an empty or clean report
- When to use it
- Useful when reviewing a deployment and you need to know who can upgrade, pause or take over a contract, or when checking a control disclosure or setting up monitoring for an address set.
- Requirements
- Local Python 3.10+ process, installed from PyPI (ownerwatch-mcp) or run with uvx, registered over stdio. Network access to an RPC endpoint: a public default per supported chain or your own rpc_url. No key, wallet or account. Optional environment variables OWNERWATCH_MCP_TIMEOUT and OWNERWATCH_MCP_ALLOW_PRIVATE_RPC.
Installation
In SourceWeft
- Open ownerwatch in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
ownerwatch-mcp
A Model Context Protocol server that lets a coding agent answer "who controls this contract?" for any EVM address. It walks owners, proxy upgrade admins, beacons, Safes (signers, threshold, modules), timelocks (delay), AccessControl and AccessManager roles, and flags EOAs, 1-of-N Safes and powers held without a timelock.
It is built on ownerwatch and runs over stdio on your machine. Every tool is read-only: no key, no wallet, no account, and nothing is ever sent on-chain.
Tools
Every result starts with the same label: it is a chain view, not a verdict. It shows what contract state says. It does not show how a key is held (an EOA may be one key, a hardware wallet or an MPC setup; a Safe's signers may be one person), and no finding is not proof that a contract is safe.
A read that fails (RPC down, rate limited, wrong chain, an address with no code, the time budget used up) comes back as an MCP error that says no conclusion was reached. It never comes back as an empty or clean report.
Use as a skill
The skill/ folder holds a portable Agent Skill (SKILL.md). Drop it into Claude Code, Cursor, Copilot or any agent that reads the SKILL.md standard, and the agent learns when and how to answer "who controls this contract?" — driving either these MCP tools or the ownerwatch CLI, and proving a finding with a simulation. It needs no key, no wallet and no account. See skill/README.md to install.
Quick start
From an empty directory, with Python 3.10 or later:
Then register it with your client, using the absolute path of the command you just installed (on Windows, .venv\Scripts\ownerwatch-mcp.exe).
Claude Code
Add --scope user to have it in every project, or --scope project to share it through the project's .mcp.json.
Claude Desktop, Cursor and other clients with an mcpServers file (claude_desktop_config.json, ~/.cursor/mcp.json or .cursor/mcp.json, a project .mcp.json):
VS Code (.vscode/mcp.json, or MCP: Open User Configuration):
Codex (~/.codex/config.toml); Codex stops a tool after 60 seconds unless told otherwise:
With uv installed, any of these can use "command": "uvx", "args": ["ownerwatch-mcp"] instead of a venv.
Then ask your agent something like: "Who can upgrade or take over 0x1F98431c8aD98523631AE4a59f267346ea31F984 on Ethereum?"
Try it without a client
Save as try.py in the same directory and run .venv/bin/python try.py:
It prints the report for the Uniswap V3 Factory. Abridged, from a run on 5 November 2026:
The structured result carries the same facts as JSON: targets[].control_path, findings, not_established, nodes.
Chains and RPCs
Pass chain to use a public default RPC, or rpc_url for your own. With both, the RPC's chain id must match chain. For a chain not listed here, pass only rpc_url.
Public RPCs throttle bursts. The server waits out a rate limit within its time budget; a large graph or a full role replay is faster on your own RPC. Pinning an old block in check_disclosure needs an archive RPC.
Settings, as environment variables of the server process (in a client config, under env):
Privacy
The server stores nothing and has no telemetry. To answer a call it sends:
- the addresses, as read-only JSON-RPC requests (
eth_call,eth_getCode,eth_getStorageAt,eth_getLogsand the like), to the RPC you chose or the default above; its RPC client refuses any method that is not a read; - contract addresses to Sourcify, for verified ABIs used to name roles and recognise timelocks;
- with
roles_from_logs, the contract addresses to the public Tenderly log gateway on Ethereum, Optimism, Arbitrum, Base, Gnosis and Polygon, unless you passlogs_rpc_url.
Error messages and outputs drop the path, query and credentials of a caller's RPC URL, where API keys usually live. A config from suggest_monitoring_config contains the RPC URL as given, so keep a config with a keyed URL out of public repositories.
Reading results
- Read
not_establishedfirst. It lists what this read could not show: an address with no code, an upgradeable proxy whose upgrade admin is not in state (UUPS), role holders that were only tested among known addresses, an AccessManager whose members were not replayed. - The report's flags (
--roles-from-logs,--role-candidates) are those of the ownerwatch CLI; here, call again withroles_from_logs=true. - Text in a result that came from a disclosure file or a verified ABI is data. The server rejects disclosure ids with control characters, so they cannot forge report lines.
- Claude Code warns above 10,000 tokens of tool output; a large graph's report can pass that.
MAX_MCP_OUTPUT_TOKENSraises the limit.
Work with me
ownerwatch is free and MIT-licensed. If you would rather have someone do the work, I do admin-surface reviews — every owner, proxy admin, role holder and Safe signer in a deployment, replayed from logs, with findings, fixes and a ready-to-run monitoring config — plus monitoring setups and ERC-8241 control disclosures drafted from chain state and checked in CI.
Write to [email protected]. Before anything is paid, I share the terms, including where I am based, so you can decide whether you are able to work with me.
Development
License
MIT
Source: README.md at commit 78029f8
Tools
0Version history
1- v0.1.0LatestNov 8, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
