Watchdog

v0.1.0
io.github.OxToF/watchdog-mcp Checked 1 day ago Published 2 months ago

Who can change a Solana program or EVM contract, dependency advisories, scans.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

solana_program_authority Who can change this Solana program?

Use before signing a transaction for, or depositing into, a Solana mainnet program. Answers who can replace its code: immutable, a single key, a Squads v4 multisig (threshold, members and time lock read on-chain, the vault re-derived as proof), Squads v3 or SPL Governance; plus the last deploy date, OtterSec verified build, embedded security.txt and severity-ranked flags. Costs $0.05 USDC on Solana, paid over x402 from WATCHDOG_SOLANA_PRIVATE_KEY. An address that holds no program is not charged.

ParameterTypeDescription
programId *stringProgram address, base58

evm_contract_control Who can change this EVM contract?

Use before approving a token, depositing into, or signing for a contract on Base or Robinhood Chain. Detects the proxy kind (EIP-1967 transparent, UUPS, beacon, legacy zeppelinos, EIP-1167 clone, diamond, EIP-7702), the live implementation, and follows the upgrade controller and owner to the end: one key, a Safe (threshold of owners), a timelock (delay). Sourcify verification for the address and the implementation. Costs $0.05 USDC on Base, paid over x402 from WATCHDOG_EVM_PRIVATE_KEY. An address with no code is not charged.

ParameterTypeDescription
address *stringContract address, 0x…
chainstringChain the contract lives on

dependency_advisories Known advisories for pinned dependencies

Use before adding or upgrading a dependency, or to triage a lockfile. Give lockfile_path (a Cargo.lock, package-lock.json or yarn.lock on disk, read locally) or the lockfile text, or a list of up to 100 packages. Rust crates go to Solana Watchdog (RustSec/OSV), npm packages to EVM Watchdog (GitHub/OSV). Only registry packages are checked; workspace and git dependencies are skipped. Costs $0.01 USDC per call (Solana for crates, Base for npm). Settled only if the answer exists.

ParameterTypeDescription
ecosystemstringRequired with lockfile text or packages
lockfilestringLockfile text, if not on disk
lockfile_pathstringPath to Cargo.lock, package-lock.json or yarn.lock
packagesarrayExact pinned versions

scan_repo Security scan of a public GitHub repo

Use before a release or an integration: scans a public GitHub repo for advisories on its exact pinned dependencies (split into what ships on-chain and what is tooling), build hygiene, and code leads for known bug classes with file:line. ecosystem 'solana' for Rust/Anchor programs, 'evm' for Solidity (Foundry/Hardhat). Costs $0.50 USDC (Solana or Base). Waits up to wait_seconds for the report; otherwise returns jobId and accessToken for get_scan_report. A scan, not an audit.

ParameterTypeDescription
ecosystem *string
repo *stringhttps://github.com/OWNER/REPO
wait_secondsinteger

get_scan_report Status and report of a paid scan

Free. Returns the status of a scan started with scan_repo and, once done, its JSON report.

ParameterTypeDescription
accessToken *string
ecosystem *string
jobId *string

watch_create Get alerted when a program, contract or lockfile changes

Use to be told, for 30 days, when something you rely on changes: a Solana program (programId: authority, multisig rules, code upgrade, lost verification), an EVM contract (address + chain: new implementation, controller or owner, weaker Safe or timelock), or a lockfile (lockfile_path: any new advisory). Hourly checks; each change is POSTed to your https webhook, signed with x-watchdog-signature: sha256=HMAC(secret, body). Costs $0.90 USDC for the period (Solana for programs and Cargo.lock, Base for contracts and npm lockfiles). Returns watchId, secret and accessToken, each shown once.

ParameterTypeDescription
webhook *stringPublic https URL that receives the signed alerts
addressstring
chainstring
lockfile_pathstring
programIdstring

watch_status Events of a watch

Free. Lists what a watch has seen (also kept when the webhook was down), or cancels it with cancel: true.

ParameterTypeDescription
accessToken *string
ecosystem *string
watchId *string
cancelboolean

watchdog_wallet Payment setup and spend

Free. Shows which payment wallets this server is configured with (addresses only), the per-call cap, the session budget, what was spent, and the price of each tool.