Skip to main content
Glama

MetaMask MCP

by Xiawpohr

get-block-number

Retrieve the most recent block number from a specified blockchain using the MetaMask MCP server, enabling secure and direct blockchain interactions without exposing private keys.

Instructions

Fetch the number of the most recent block seen.

Input Schema

NameRequiredDescriptionDefault
chainIdNoID of chain to use when fetching data.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "chainId": { "description": "ID of chain to use when fetching data.", "type": "number" } }, "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