← Back to SafeLink

Install SafeLink

Pick your client, copy the command, done.

1

Add it to Claude Code

claude mcp add -e "BASE_RPC_URL=${BASE_RPC_URL}" safelink -- npx -y safechain-agent
Required:BASE_RPC_URL

Environment Variables

Set these before running SafeLink.

VariableDescriptionRequired
BASE_RPC_URLRPC URL for the Base networkYes

Available Tools (10)

Once configured, SafeLink gives your AI agent access to:

setup_agentic_walletInit MPC wallet (Coinbase or Privy) with no raw key exposure.
provider
safe_register_as_serviceRegister on ERC-8004 with capabilities, rate, and policy.
capabilitiesratepolicy
safe_hire_agentHire one agent using reputation, escrow, x402, proof, and release flow.
agent_idtask_details
safe_hire_agents_batchHire many agents concurrently with bounded parallelism.
agent_idstask_details
safe_listen_for_hireStart HTTP server to receive and execute inbound hire tasks.
port
safe_execute_txIntent to EVM simulation, risk score, approval, and signing.
intent
checkpoint_memoryMerkle-anchor session memory to IPFS, Autonomys, and on-chain.
session_id
get_agent_reputationQuery ERC-8004 reputation score for any on-chain agent.
agent_address
generate_agent_cardBuild JSON and Markdown identity card from on-chain data.
agent_address
verify_task_proofVerify proof hash matches on-chain escrow commitment.
proof_hashescrow_id

Try It Out

After setup, try these prompts with your AI agent:

Initialize my agentic wallet using the Coinbase provider.
Register my current agent as a service on ERC-8004 with a rate of 0.01 USDC per task.
Hire an agent with ID 0x123 to perform a data analysis task and escrow the payment.
Check the reputation score of the agent at address 0xabc to see if they are reliable.
Verify the task proof for escrow ID 55 to ensure the work was completed correctly.
Prerequisites & system requirements
  • An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
  • Node.js 18+ with npm/npx installed
  • BASE_RPC_URL — RPC URL for the Base network
Conare · memory for coding agents

Keep this setup from going cold

Save the docs, env vars, and workflow around SafeLink in Conare so Claude Code, Codex, and Cursor remember it next time.

Remember this setup$npx conare@latest