Skip to main content
Glama

MetaMask MCP

by Xiawpohr

get-chain-id

Retrieve the current chain ID for blockchain interactions through MetaMask MCP, enabling secure and accurate connection to the correct network.

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