2.0.0 • Published 5 months ago
@fengshanshan/server-relate-account v2.0.0
Related Identity MCP Server
A Model Context Protocol (MCP) server that helps discover related blockchain addresses and domain names for web3 identities across different platforms.
Features
- 🔍 Cross-Platform Identity Resolution: Find related addresses across Ethereum, Farcaster, Lens, and other web3 platforms
- 🤖 AI-Powered Analysis: Uses OpenAI to intelligently extract and format related identity information
- 📡 Web3.bio Integration: Leverages the web3.bio API for comprehensive identity graph data
- ⚡ MCP Compatible: Works seamlessly with any MCP-compatible client
Installation
Clone and install dependencies:
git clone <repository-url> cd relate-account-mcp npm installSet up environment variables:
# Create .env file echo "OPENAI_API_KEY=your_openai_api_key_here" > .envBuild the project:
npm run build
Configuration
Add the following configuration to your MCP client settings:
Claude Desktop
Add to your claude_desktop_config.json:
//to your local relate-account-service
{
"mcpServers": {
"relate-account": {
"command": "node",
"args": ["/absolute/path/to/relate-account-mcp/build/index.js"]
}
}
}
//use publish service
{
"mcpServers": {
"relate-account": {
"command": "npx",
"args": [
"-y",
"@fengshanshan/mcp-server-relate-account"
],
"env": {
"DATA_API_URL": "web3.bio one",
"Gemini_API_KEY": "your-gemini-api-key-here"
}
}
}
}Other MCP Clients
Use the built binary directly:
node /path/to/relate-account-mcp/build/index.jsUsage
Once configured, you can use the get-related-address tool in your MCP client:
Parameters
- platform (string): The platform to search on (e.g., "ethereum", "farcaster", "lens")
- identity (string): The user's identity (address, ENS domain, username, etc.)
Development
# Install dependencies
npm install
# Build TypeScript
npm run build
# The compiled JavaScript will be in the build/ directoryNote: This MCP server requires an active internet connection to query the web3.bio API and OpenAI services.