https://github.com/ericglau/erc7201-mcp
ERC-7201 Namespaced Storage Layout MCP Server
https://github.com/ericglau/erc7201-mcp
Last synced: 9 months ago
JSON representation
ERC-7201 Namespaced Storage Layout MCP Server
- Host: GitHub
- URL: https://github.com/ericglau/erc7201-mcp
- Owner: ericglau
- License: agpl-3.0
- Created: 2025-09-29T19:18:10.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-09-29T19:50:40.000Z (9 months ago)
- Last Synced: 2025-09-29T21:29:30.162Z (9 months ago)
- Language: TypeScript
- Size: 47.9 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ERC-7201 Namespaced Storage Layout MCP Server
[](https://www.npmjs.com/package/@ericglau/erc7201-mcp)
A Model Context Protocol (MCP) server that allows AI agents to calculate and validate storage locations for [ERC-7201](https://eips.ethereum.org/EIPS/eip-7201) namespaced storage layouts.
## Installation
Configure your MCP client to invoke `npx -y @ericglau/erc7201-mcp` using stdio.
### Examples:
#### Cursor/Windsurf/Claude Desktop
```
{
"mcpServers": {
"erc7201": {
"command": "npx",
"args": [
"-y",
"@ericglau/erc7201-mcp"
]
}
}
}
```
#### Claude Code
```
claude mcp add erc7201 -- npx -y @ericglau/erc7201-mcp
```
#### VS Code (GitHub Copilot)
```
{
"servers": {
"erc7201": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ericglau/erc7201-mcp"
]
}
}
}
```
## Tools
- `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.