Built using Spring Boot framework to provide MCP server implementation with WebSocket support and REST API endpoints for insurance campaign management
MCP Campaign Server
A Spring Boot MCP (Model Context Protocol) server that provides insurance marketing campaign management capabilities for Claude AI integration.
Features
Audience Targeting: AI-powered recommendations for insurance marketing audience segmentation
Campaign Content: Personalized content recommendations for different insurance products and channels
Claude Inspector Integration: Support for Claude Inspector tool queries
MCP Protocol: Full MCP server implementation with WebSocket support
REST API: Additional HTTP endpoints for direct integration
Quick Start
Prerequisites
Java 17 or higher
Maven 3.6 or higher
Installation
Clone the repository:
Build the project:
Run the application:
The server will start on port 8080 with WebSocket endpoint at ws://localhost:8080/api/mcp
Corporate Repository Issues
If you encounter corporate Maven repository connectivity issues, create a temporary settings file:
MCP Tools
The server provides the following MCP tools for Claude integration:
1. audience_targeting
Provides audience targeting criteria recommendations based on user requirements.
Input Parameters:
requirements
(required): User requirements for audience targetinginsurance_type
(optional): Type of insurance (life, health, auto, property, etc.)campaign_objective
(optional): Campaign objective (acquisition, retention, upselling, etc.)
Example Usage:
2. campaign_content_recommendation
Recommends personalized campaign content for insurance marketing.
Input Parameters:
audience_criteria
(required): Target audience criteria objectinsurance_type
(required): Type of insurance productchannel
(optional): Marketing channel (email, sms, social_media, etc.)campaign_goal
(optional): Campaign goal (awareness, conversion, retention, etc.)
Example Usage:
3. inspector_query
Executes queries for Claude Inspector tool integration.
Input Parameters:
query
(required): Query for Claude Inspector tool
Example Usage:
REST API Endpoints
Health Check
List Available Tools
Audience Recommendation
Content Recommendation
AI Integration
Cline (VS Code) Integration
快速设置:
手动配置:
在
~/.cline/config.json
中添加配置:
重启VS Code
在Cline中开始对话并使用工具
使用示例:
Claude Desktop Integration
Add the MCP server configuration to your Claude Desktop settings:
WebSocket Connection
Connect to the MCP server via WebSocket at:
Configuration
The application can be configured via application.yml
:
Development
Project Structure
Building and Testing
Insurance Types Supported
Life Insurance
Health Insurance
Auto Insurance
Property Insurance
Travel Insurance
Marketing Channels Supported
Email
SMS
Social Media
Push Notifications
Direct Mail
License
This project is licensed under the MIT License.
mcp_campaign_server
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Enables AI-powered insurance marketing campaign management with audience targeting recommendations and personalized content generation for different insurance products and marketing channels.