Skip to main content
Glama

MetaMask MCP

by Xiawpohr

get-chain-id

Retrieve the current chain ID for blockchain interactions using MetaMask MCP. This tool ensures secure blockchain operations by keeping private keys in your wallet while fetching the chain ID.

Instructions

Get the current chain id.

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": {}, "type": "object" }

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/Xiawpohr/metamask-mcp'

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