Mandate for VS Code
xyz.mandatefi/mcp
Trade on Base through the Mandate module: every batch is checked onchain against the owner's rules
client:VS Code
transport:stdio
runtime:npm
Install Mandate in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "mandate-account",
"description": "MANDATE_ACCOUNT",
"password": true
},
{
"type": "promptString",
"id": "mandate-owner",
"description": "MANDATE_OWNER",
"password": true
},
{
"type": "promptString",
"id": "mandate-network",
"description": "MANDATE_NETWORK",
"password": true
}
],
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mandatefi/mcp"
],
"env": {
"MANDATE_ACCOUNT": "${input:mandate-account}",
"MANDATE_OWNER": "${input:mandate-owner}",
"MANDATE_NETWORK": "${input:mandate-network}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs