Sui Analytics for VS Code
io.github.0xfreak0/sui-mcp
Read-only Sui analytics: 68 tools, protocol-aware tx decoding, no API keys or wallet.
client:VS Code
transport:stdio
runtime:npm
Install Sui Analytics in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "sui-network",
"description": "SUI_NETWORK",
"password": true
},
{
"type": "promptString",
"id": "sui-fullnode-url",
"description": "SUI_FULLNODE_URL",
"password": true
},
{
"type": "promptString",
"id": "sui-graphql-url",
"description": "SUI_GRAPHQL_URL",
"password": true
},
{
"type": "promptString",
"id": "sui-tools",
"description": "SUI_TOOLS",
"password": true
},
{
"type": "promptString",
"id": "sui-decompiler-path",
"description": "SUI_DECOMPILER_PATH",
"password": true
},
{
"type": "promptString",
"id": "sui-labels-file",
"description": "SUI_LABELS_FILE",
"password": true
}
],
"servers": {
"sui-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"sui-analytics-mcp"
],
"env": {
"SUI_NETWORK": "${input:sui-network}",
"SUI_FULLNODE_URL": "${input:sui-fullnode-url}",
"SUI_GRAPHQL_URL": "${input:sui-graphql-url}",
"SUI_TOOLS": "${input:sui-tools}",
"SUI_DECOMPILER_PATH": "${input:sui-decompiler-path}",
"SUI_LABELS_FILE": "${input:sui-labels-file}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs