jekakos-mcp-user-data-enrichment
Enrich user data by adding social network links based on provided personal information. Integrate鈥�
可用工具 (5 个)
该服务在 MCP 协议中暴露的工具,AI 可按需调用
tavily_search 14 个参数 需填 1 项
Search the web for current information on any topic. Use for news, facts, or data beyond your knowledge cutoff. Returns snippets and source URLs.
必填参数:query
tavily_extract 6 个参数 需填 1 项
Extract content from URLs. Returns raw page content in markdown or text format.
必填参数:urls
tavily_crawl 11 个参数 需填 1 项
Crawl a website starting from a URL. Extracts content from pages with configurable depth and breadth.
必填参数:url
tavily_map 8 个参数 需填 1 项
Map a website's structure. Returns a list of URLs found starting from the base URL.
必填参数:url
tavily_research 2 个参数 需填 1 项
Perform comprehensive research on a given topic or question. Use this tool when you need to gather information from multiple sources to answer a question or complete a task. Returns a detailed response based on the research findings.
必填参数:input
服务介绍
MCP User Data Enrichment Server
A Model Context Protocol (MCP) server that enriches user data by adding social network links. This server can be integrated with AI platforms like Smithery.ai to provide social media link discovery capabilities.
# Features
- User Data Enrichment: Takes user information (name, birth date) and returns social media links
- Mock Data Support: Includes pre-configured social links for demonstration
- Dynamic Generation: Automatically generates social links for new users
- MCP Protocol: Standard MCP implementation via stdio
- HTTP Wrapper: Optional HTTP API for remote access
- Smithery Integration: Ready for integration with Smithery.ai
# Installation
npm install mcp-user-data-enrichment
# Usage
# # As MCP Server (Recommended for Smithery)
# Direct stdio usage
node src/mcp-server.js
# Or via npm script
npm run mcp
# # As HTTP Server
# Start HTTP server on port 3000
npm start
# API Endpoints
# # HTTP API (when running as server)
GET /status- Server statusGET /tools- List available toolsPOST /tools/call- Call any toolPOST /enrich-user- Enrich user data
# # MCP Protocol
The server provides one tool: enrich_user_data
Input Schema:
{
"firstName": "string",
"lastName": "string",
"birthDate": "string (YYYY-MM-DD)"
}
Output:
{
"user": {
"firstName": "John",
"lastName": "Smith",
"birthDate": "1990-01-01"
},
"socialLinks": {
"instagram": "https://instagram.com/john_smith",
"facebook": "https://facebook.com/john.smith",
"twitter": "https://twitter.com/john_smith",
"linkedin": "https://linkedin.com/in/john_smith"
}
}
# Smithery.ai Integration
This MCP server is designed to work with Smithery.ai, a platform for AI agent orchestration.
# # Setup in Smithery
- Deploy your server to a public repository on GitHub
- Configure MCP connection in Smithery:
{ "mcpServers": { "user-data-enrichment": { "command": "node", "args": ["path/to/mcp-server.js"] } } } - Use the tool in your AI agent workflows
# # Example Smithery Usage
// In your Smithery agent
const result = await mcp.callTool('enrich_user_data', {
firstName: 'John',
lastName: 'Smith',
birthDate: '1990-01-01'
});
console.log(result.content[0].text);
# Development
# Install dependencies
npm install
# Run in development mode
npm run dev
# Test MCP server directly
echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/list"}' | node src/mcp-server.js
# Testing
# Run test client
node test-client.js
# Test with curl
curl -X POST http://localhost:3000/enrich-user \
-H "Content-Type: application/json" \
-d '{"firstName": "John", "lastName": "Smith", "birthDate": "1990-01-01"}'
# Mock Data
The server includes mock social links for these users:
- John Smith
- Sarah Johnson
- Michael Brown
For other users, links are generated automatically based on the name.
# Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
# License
MIT License - see LICENSE file for details
# Deployment Files
Dockerfile- Docker configuration for containerized deploymentsmithery.yaml- Smithery.ai configuration file.dockerignore- Docker ignore file for optimized builds
# Related Links
- Model Context Protocol
- Smithery.ai - AI Agent Orchestration Platform
- MCP Inspector - MCP Testing Tool