ncrypted / guides

CrewAI

Give a CrewAI agent the ncrypted tools with the mcps field.

uv add crewai mcp
from crewai import Agent
from crewai.mcp import MCPServerStdio

ops = Agent(
    role="Ops engineer",
    goal="Ship changes without leaking credentials",
    backstory="Uses ncrypted for every secret; never pastes secrets into chat.",
    mcps=[MCPServerStdio(command="npx", args=["-y", "@seidl-family/ncrypted-mcp"])],
)

The MCP server needs Node.js (npx). For a pure-Python setup, use the ncrypted package: `pip install "ncrypted[pay]"`, then `from ncrypted import NcryptedSync` inside your own CrewAI tool.

pricing

The first 3 secrets per day are free (TTL up to 24h). After that each costs 0.005 USDC, paid over x402 from a local Base wallet: `npx ncrypted wallet new` (or the ncrypted_wallet_setup tool) creates it and returns a funding link. Reads, requests and deliveries are free.