Machina
v0.1.1x402-powered AI agent services — URL extraction, PDF processing, code scanning, and more.
Values you need
| Variable | What it is | |
|---|---|---|
MACHINA_WALLET_KEY | required secret | Ethereum private key (hex, 0x-prefixed) for x402 payments in USDC on Base |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add machina-mcp -e 'MACHINA_WALLET_KEY=<MACHINA_WALLET_KEY>' -- uvx machina-mcp==0.1.1Add to
claude_desktop_config.json{
"mcpServers": {
"machina-mcp": {
"args": [
"machina-mcp==0.1.1"
],
"command": "uvx",
"env": {
"MACHINA_WALLET_KEY": "<MACHINA_WALLET_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"machina-mcp": {
"args": [
"machina-mcp==0.1.1"
],
"command": "uvx",
"env": {
"MACHINA_WALLET_KEY": "<MACHINA_WALLET_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "MACHINA_WALLET_KEY",
"id": "machina-wallet-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"machina-mcp": {
"args": [
"machina-mcp==0.1.1"
],
"command": "uvx",
"env": {
"MACHINA_WALLET_KEY": "${input:machina-wallet-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.machina-mcp]
command = "uvx"
args = ["machina-mcp==0.1.1"]
env = { "MACHINA_WALLET_KEY" = "<MACHINA_WALLET_KEY>" }For AI agents
- Ask the user for: MACHINA_WALLET_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: url_extract, scan_python, validate_email, validate_email_bulk, domain_intel, pdf_inspect, pdf_extract, pdf_extract_large.
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json