telegraph for VS Code
io.github.telegraphprotocol/telegraph
Decentralized AI inference (weather, deepfake detection, LLMs) with x402 USDC micropayments.
client:VS Code
transport:stdio
runtime:npm
Install telegraph in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "telegraph-node-url",
"description": "TELEGRAPH_NODE_URL",
"password": true
},
{
"type": "promptString",
"id": "telegraph-engine-url",
"description": "TELEGRAPH_ENGINE_URL",
"password": true
},
{
"type": "promptString",
"id": "telegraph-daemon-url",
"description": "TELEGRAPH_DAEMON_URL",
"password": true
},
{
"type": "promptString",
"id": "telegraph-evm-private-key",
"description": "TELEGRAPH_EVM_PRIVATE_KEY",
"password": true
},
{
"type": "promptString",
"id": "telegraph-solana-private-key",
"description": "TELEGRAPH_SOLANA_PRIVATE_KEY",
"password": true
},
{
"type": "promptString",
"id": "evm-network",
"description": "EVM_NETWORK",
"password": true
},
{
"type": "promptString",
"id": "svm-network",
"description": "SVM_NETWORK",
"password": true
},
{
"type": "promptString",
"id": "refresh-interval-ms",
"description": "REFRESH_INTERVAL_MS",
"password": true
}
],
"servers": {
"telegraph": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"telegraph-protocol-mcp"
],
"env": {
"TELEGRAPH_NODE_URL": "${input:telegraph-node-url}",
"TELEGRAPH_ENGINE_URL": "${input:telegraph-engine-url}",
"TELEGRAPH_DAEMON_URL": "${input:telegraph-daemon-url}",
"TELEGRAPH_EVM_PRIVATE_KEY": "${input:telegraph-evm-private-key}",
"TELEGRAPH_SOLANA_PRIVATE_KEY": "${input:telegraph-solana-private-key}",
"EVM_NETWORK": "${input:evm-network}",
"SVM_NETWORK": "${input:svm-network}",
"REFRESH_INTERVAL_MS": "${input:refresh-interval-ms}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs