Manages environment configuration for API keys and server settings.
Powers the underlying server architecture for the MCP implementation.
Supports version control with provided .gitignore rules for the project.
Provides text generation capabilities using OpenAI's GPT-4 model through the gpt4_completion tool.
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:
Related MCP server: LinkedIn MCP Server
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()decoratorAdd new resources using the
@mcp.resource()decoratorAdd new prompts using the
@mcp.prompt()decorator
License
MIT