AI agents discover, acquire, and re-serve tokenised web content via the $402 protocol
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add path402-tokenised-web-content-for-ai-age --env PATH402_WALLET_WIF='<PATH402_WALLET_WIF>' -- npx -y path402~/.codex/config.toml
[mcp_servers.path402-tokenised-web-content-for-ai-age]
command = "npx"
args = ["-y", "path402"]
env = { PATH402_WALLET_WIF = "<PATH402_WALLET_WIF>" }
# codex mcp add path402-tokenised-web-content-for-ai-age --env PATH402_WALLET_WIF='<PATH402_WALLET_WIF>' -- npx -y path402~/.cursor/mcp.json
{
"mcpServers": {
"path402-tokenised-web-content-for-ai-age": {
"command": "npx",
"args": [
"-y",
"path402"
],
"env": {
"PATH402_WALLET_WIF": "<PATH402_WALLET_WIF>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"path402-tokenised-web-content-for-ai-age": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"path402"
],
"env": {
"PATH402_WALLET_WIF": "<PATH402_WALLET_WIF>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"path402-tokenised-web-content-for-ai-age": {
"command": "npx",
"args": [
"-y",
"path402"
],
"env": {
"PATH402_WALLET_WIF": "<PATH402_WALLET_WIF>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"path402-tokenised-web-content-for-ai-age": {
"command": "npx",
"args": [
"-y",
"path402"
],
"env": {
"PATH402_WALLET_WIF": "<PATH402_WALLET_WIF>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"path402-tokenised-web-content-for-ai-age": {
"command": "npx",
"args": [
"-y",
"path402"
],
"env": {
"PATH402_WALLET_WIF": "<PATH402_WALLET_WIF>"
}
}
}
}Environment variables
PATH402_WALLET_WIF
Replace the placeholders with your own credentials and keep them out of version control.