Used for loading environment variables from a .env file to configure the MCP server with API keys.
Provides schema validation for the MCP server's request and response data, ensuring type safety for the Clusters API.
MCP Server - Clusters API v1
This is a Model Context Protocol (MCP) server implementation for the Clusters API v1. It provides endpoints for authentication, cluster management, name registration, and community registrations.
Dependencies
Related MCP server: Nash MCP Server
Setup
Install dependencies:
Create a
.envfile with: CLUSTERS_API_KEY={CLUSTERS_API_KEY} (optional)Build and start the server:
Testing Endpoints
Since this server uses StdioServerTransport, you'll need to send JSON-RPC messages through stdin. Here are example commands for testing each endpoint:
Authentication Endpoints
Get Message
Get Token
Validate Token
Cluster Management Endpoints
Create Cluster
Get Cluster by ID
Get Cluster by Name
Get Cluster ID by Address
Add Wallets
Generate Wallet
Update Wallets
Remove Wallets
Verify Wallet
Address ↔ Name Resolution Endpoints
Get Name by Address
Get All Names by Address
Get Bulk Data by Addresses
Get Bulk Data by Names
Registration Endpoints
Check Name Availability
Get Registration Sign Data
This endpoint is not operational at the moment.
Get Transaction Status
Community Endpoints
Check Community Name Availability
Register Community Name
Notes
Replace placeholder values (like
0x123,your-auth-key, etc.) with actual valuesThe
testnetparameter is optional for all endpointsAll responses will be JSON-RPC 2.0 formatted
For authenticated endpoints, make sure to obtain and include a valid
authKeyThe server uses optional environment variables for configuration, ensure your
.envfile is properly set up to use it