Skip to main content
Glama
dewanshparashar

Arbitrum MCP Server

maintenance_trigger

Initiate maintenance operations for Arbitrum Nitro nodes and chains by specifying RPC URLs or chain names. Facilitates manual intervention through admin API for enhanced node management and system stability.

Instructions

Manually trigger maintenance operations (requires admin API)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNameNoChain name (e.g., 'Xai', 'Arbitrum One') - will auto-resolve to RPC URL
rpcUrlNoThe RPC URL of the Arbitrum node (optional if default is set)

Implementation Reference

  • MCP server handler for 'maintenance_trigger' tool. Resolves RPC URL using chain name or provided URL, instantiates NitroNodeClient, calls triggerMaintenance(), and returns the result as text content.
    case "maintenance_trigger": { const rpcUrl = await this.resolveRpcUrl( (args.rpcUrl as string) || (args.chainName as string) ); const nodeClient = new NitroNodeClient(rpcUrl); const result = await nodeClient.triggerMaintenance(); return { content: [ { type: "text", text: JSON.stringify(result, null, 2), }, ], }; }
  • src/index.ts:1485-1504 (registration)
    Tool registration in getAvailableTools() method, including name, description, and input schema for list tools response.
    name: "maintenance_trigger", description: "Manually trigger maintenance operations (requires admin API)", inputSchema: { type: "object" as const, properties: { rpcUrl: { type: "string", description: "The RPC URL of the Arbitrum node (optional if default is set)", }, chainName: { type: "string", description: "Chain name (e.g., 'Xai', 'Arbitrum One') - will auto-resolve to RPC URL", }, }, required: [], }, },
  • NitroNodeClient helper method that executes the actual RPC call to the node's 'maintenance_trigger' method and handles success/error response.
    async triggerMaintenance(): Promise<{ success: boolean; error?: string }> { try { await this.makeRpcCall("maintenance_trigger", []); return { success: true }; } catch (error) { return { success: false, error: `Trigger maintenance not supported on this RPC endpoint: ${ (error as Error).message }`, }; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dewanshparashar/arbitrum-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server