Skip to main content
Glama
dewanshparashar

Arbitrum MCP Server

arb_check_publisher_health

Monitor transaction publisher/sequencer health status on Arbitrum networks. Use this tool to check operational status and ensure reliable transaction processing.

Instructions

Check the health status of the transaction publisher/sequencer (requires admin API)

Input Schema

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

Implementation Reference

  • Core handler function implementing the arb_checkPublisherHealth RPC call to check transaction publisher/sequencer health status. Returns healthy status or error if unsupported.
    async checkPublisherHealth(): Promise<PublisherHealth> {
      try {
        await this.makeRpcCall("arb_checkPublisherHealth", []);
        return {
          healthy: true,
        };
      } catch (error) {
        return {
          healthy: false,
          error: `Publisher health check failed or not supported on this RPC endpoint: ${
            (error as Error).message
          }`,
        };
      }
    }
  • MCP CallTool handler case that resolves the RPC URL using chain name or direct URL, creates NitroNodeClient instance, calls checkPublisherHealth(), and formats response as MCP content.
    case "arb_check_publisher_health": {
      const rpcUrl = await this.resolveRpcUrl(
        (args.rpcUrl as string) || (args.chainName as string)
      );
      const nodeClient = new NitroNodeClient(rpcUrl);
      const health = await nodeClient.checkPublisherHealth();
      return {
        content: [
          {
            type: "text",
            text: JSON.stringify(health, null, 2),
          },
        ],
      };
    }
  • src/index.ts:1098-1118 (registration)
    Tool registration entry returned by ListTools handler, including name, description, and input schema for rpcUrl or chainName parameters.
    {
      name: "arb_check_publisher_health",
      description:
        "Check the health status of the transaction publisher/sequencer (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: [],
      },
    },
  • TypeScript interface defining the output structure of the publisher health check response.
    export interface PublisherHealth {
      healthy: boolean;
      error?: string;
    }

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