Quickstart

Five minutes to an agent that asks before acting.

1. Add a tool server

~/.icy/icy.toml
listen = "127.0.0.1:8737"

[upstreams.files]
command = "npx"
args = ["-y", "@modelcontextprotocol/server-filesystem", "/projects"]
env_allow = []

On Windows, run npm-based servers via command = "cmd" and args = ["/c", "npx", ...].

2. Create an agent key

bash
icy agent add claude-code   # prints its 256-bit key once

icy stores only a SHA-256 hash of the key. Save the printed key to configure your agent.

3. Add rules & approvals

~/.icy/icy.toml
[agents.claude-code.tools]
"files__read_*" = "allow"
"files__list_*" = "allow"
"*__delete*" = "deny"
"*" = "ask"

[approvals]
adapters = ["ntfy"]
timeout_seconds = 120

[adapters.ntfy]
topic_env = "ICY_NTFY_TOPIC"

4. Start the daemon and connect

bash
export ICY_NTFY_TOPIC="icy-7f3k9q2m4x8w1v6b"
icy daemon

Then connect your agent to http://127.0.0.1:8737/mcp and watch activity with icy status or icy log.