Skip to main content
Glama

EnrichB2B MCP Server

by moonlabsai

MCP 模板服务器

一个实现模型上下文协议 (MCP) 的模板服务器,集成了 OpenAI、Anthropic 和 EnrichB2B。

设置

  1. 创建虚拟环境:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
  1. 安装依赖项:
pip install -r requirements.txt
  1. 设置环境变量:
cp .env.example .env # Edit .env with your API keys and configuration

运行服务器

开发模式:

python server.py

或者使用 MCP CLI:

mcp dev server.py

特征

  • OpenAI GPT-4 集成
  • 人择克劳德积分
  • EnrichB2B LinkedIn 数据集成
  • FastAPI 和 Uvicorn 服务器
  • 环境配置
  • 示例资源和工具
  • 结构化项目布局

项目结构

. ├── .env.example # Template for environment variables ├── .gitignore # Git ignore rules ├── README.md # This file ├── requirements.txt # Python dependencies ├── enrichb2b.py # EnrichB2B API client └── server.py # MCP server implementation

用法

  1. 启动服务器
  2. 使用任何 MCP 客户端进行连接
  3. 使用提供的工具和资源:
    • config://app获取服务器配置
    • get_profile_details - 获取 LinkedIn 个人资料信息
    • get_contact_activities - 获取 LinkedIn 用户最近的活动和帖子
    • gpt4_completion - 使用 GPT-4 生成文本
    • claude_completion - 使用 Claude 生成文本
    • analysis_prompt - 文本分析模板

EnrichB2B 工具

获取个人资料详情

获取有关 LinkedIn 个人资料的详细信息:

result = await get_profile_details( linkedin_url="https://www.linkedin.com/in/username", include_company_details=True, include_followers_count=True )
获取联系人活动

从 LinkedIn 个人资料中获取最近的活动和帖子:

result = await get_contact_activities( linkedin_url="https://www.linkedin.com/in/username", pages=1, # Number of pages (1-50) comments_per_post=1, # Comments per post (0-50) likes_per_post=None # Likes per post (0-50) )

发展

要添加新功能:

  1. 使用@mcp.tool()装饰器添加新工具
  2. 使用@mcp.resource()装饰器添加新资源
  3. 使用@mcp.prompt()装饰器添加新提示

执照

麻省理工学院

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

实现模型上下文协议的服务器,使用户能够通过 EnrichB2B API 检索 LinkedIn 个人资料信息和活动数据,并使用 OpenAI GPT-4 或 Anthropic Claude 模型生成文本。

  1. 设置
    1. 运行服务器
      1. 特征
        1. 项目结构
          1. 用法
            1. EnrichB2B 工具
          2. 发展
            1. 执照

              Related MCP Servers

              • -
                security
                F
                license
                -
                quality
                A Model Context Protocol server that enables seamless interaction with LinkedIn for job applications, profile retrieval, feed browsing, and resume analysis through natural language commands.
                Last updated -
                10
                Python
              • -
                security
                A
                license
                -
                quality
                A Model Context Protocol server that provides comprehensive access to LinkedIn data and functionality, enabling data retrieval and user account management through the HorizonDataWave API.
                Last updated -
                113
                23
                JavaScript
                MIT License
                • Apple
              • -
                security
                A
                license
                -
                quality
                Enables AI assistants to interact with LinkedIn data through the Model Context Protocol, allowing profile searches, job discovery, messaging, and network analytics.
                Last updated -
                1
                TypeScript
                MIT License
                • Apple
              • -
                security
                F
                license
                -
                quality
                A middleware API that connects AI assistants like ChatGPT to Captain Data tools for extracting information from LinkedIn company and profile pages.
                Last updated -
                TypeScript

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/moonlabsai/enrich_b2b_mcp'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server