MCP Template Server
A template server implementing the Model Context Protocol (MCP) with OpenAI, Anthropic, and EnrichB2B integration.
Setup
- Create a virtual environment:
- Install dependencies:
- Set up environment variables:
Running the Server
Development mode:
Or using MCP CLI:
Features
- OpenAI GPT-4 integration
- Anthropic Claude integration
- EnrichB2B LinkedIn data integration
- FastAPI and Uvicorn server
- Environment configuration
- Example resources and tools
- Structured project layout
Project Structure
Usage
- Start the server
- Connect using any MCP client
- Use the provided tools and resources:
config://app
- Get server configurationget_profile_details
- Get LinkedIn profile informationget_contact_activities
- Get LinkedIn user's recent activities and postsgpt4_completion
- Generate text using GPT-4claude_completion
- Generate text using Claudeanalysis_prompt
- Template for text analysis
EnrichB2B Tools
get_profile_details
Get detailed information about a LinkedIn profile:
get_contact_activities
Get recent activities and posts from a LinkedIn profile:
Development
To add new features:
- Add new tools using the
@mcp.tool()
decorator - Add new resources using the
@mcp.resource()
decorator - Add new prompts using the
@mcp.prompt()
decorator
License
MIT
This server cannot be installed
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 模型生成文本。
Related MCP Servers
- -securityFlicense-qualityA 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 -22
- AsecurityAlicenseAqualityEnables AI assistants to interact with LinkedIn data through the Model Context Protocol, allowing profile searches, job discovery, messaging, and network analytics.Last updated -284013MIT License
- AsecurityFlicenseAqualityAn unofficial Model Context Protocol server that enables programmatic access to LinkedIn data through tools like user search, company search, profile enrichment, and contact retrieval.Last updated -7443
- -securityFlicense-qualityA comprehensive Model Context Protocol server that enables AI assistants to interact with LinkedIn APIs for profile management, content creation, networking, messaging, and analytics.Last updated -1