smithery.yaml•1.41 kB
# Smithery.ai configuration
startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
required:
- aptosMcpPrivateKey
properties:
aptosMcpPrivateKey:
type: string
description: Aptos MCP private key for signing transactions (hex format starting with 0x).
aptosMcpNetwork:
type: string
description: Aptos network to connect to (testnet or mainnet).
default: testnet
enum:
- testnet
- mainnet
aptosMcpNodeUrl:
type: string
description: Custom Aptos node URL (optional, uses default network nodes if not specified).
aptosMcpFaucetUrl:
type: string
description: Custom faucet URL for testnet (optional, uses default faucet if not specified).
commandFunction: |-
(config) => ({
command: 'node',
args: ['build/index.js'],
env: {
APTOS_MCP_PRIVATE_KEY: config.aptosMcpPrivateKey,
APTOS_MCP_NETWORK: config.aptosMcpNetwork || 'testnet',
...(config.aptosMcpNodeUrl && { APTOS_MCP_NODE_URL: config.aptosMcpNodeUrl }),
...(config.aptosMcpFaucetUrl && { APTOS_MCP_FAUCET_URL: config.aptosMcpFaucetUrl })
}
})
exampleConfig:
aptosMcpPrivateKey: "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
aptosMcpNetwork: "testnet"