A Model Context Protocol (MCP) server that allows AI agents to calculate and validate storage locations for ERC-7201 namespaced storage layouts.
Configure your MCP client to invoke npx -y @ericglau/erc7201-mcp using stdio.
{
"mcpServers": {
"erc7201": {
"command": "npx",
"args": [
"-y",
"@ericglau/erc7201-mcp"
]
}
}
}
claude mcp add erc7201 -- npx -y @ericglau/erc7201-mcp
{
"servers": {
"erc7201": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ericglau/erc7201-mcp"
]
}
}
}
erc7201-compute-storage-location- Computes the ERC-7201 namespaced storage location for a given namespace id.erc7201-validate-storage-location- Validates whether a given namespace id results in the given storage location according to ERC-7201.