Sponsored by Deepsite.site

mcp-persona-sessions

Created By
mattjoyce7 months ago
MCP server for persona-driven AI sessions: practice interviews, conduct guided reflection, and role-play conversations with realistic personas
Content

mcp-persona-sessions

A Model Context Protocol (MCP) server that enables AI assistants to conduct structured, persona-driven sessions including interview preparation, personal reflection, and coaching conversations.

Overview

Transform your AI interactions with realistic persona-driven sessions. Originally designed for mock interview preparation (practice with your "new boss" before that important meeting), this MCP server has evolved into a flexible framework for guided conversations of all kinds.

Whether you're preparing for a crucial presentation, seeking structured self-reflection, or wanting to practice difficult conversations in a safe environment, this server provides the framework for meaningful, guided dialogue.

Key Features

  • 🎭 Persona-Driven Sessions: Load detailed persona profiles that completely transform AI behavior and expertise
  • ⏱️ Built-in Timer Management: Track session duration with start, stop, and status checking
  • 📋 Structured Frameworks: Pre-defined session templates with clear goals and outcomes
  • 🔄 Adaptive Flow: Sessions that respond to what emerges naturally in conversation
  • 📊 Session Evaluation: Get detailed feedback on performance and communication effectiveness
  • 🔒 Secure Operation: Safe file handling with path validation and error handling

Session Types

Meeting Preparation

Practice conversations with realistic personas:

  • Healthcare CIO: Technical discussions with mission-driven leadership perspective
  • Board Members: High-level strategic conversations
  • Team Leaders: Collaborative planning and decision-making sessions

Personal Reflection

Adaptive journaling sessions that flow between:

  • Daily experience processing
  • Creative exploration and inspiration
  • Gratitude practice and appreciation
  • Life pattern recognition and growth planning

Custom Sessions

Create your own personas and session frameworks for specific needs.

Quick Start

Prerequisites

  • Python 3.8+
  • MCP-compatible AI assistant (Claude Desktop, etc.)

Installation

  1. Clone the repository:
git clone https://github.com/mattjoyce/mcp-persona-sessions.git
cd mcp-persona-sessions
  1. Install dependencies:
pip install fastmcp
  1. Set up configuration:
cp config.yaml.example config.yaml
# Edit config.yaml with your preferences

MCP Client Configuration

Add to your MCP client configuration (e.g., Claude Desktop):

{
  "mcpServers": {
    "persona-sessions": {
      "command": "/path/to/venv/python",
      "args": ["/path/to/mcp-persona-sessions/mcp-persona-sessions.py"],
      "cwd": "/path/to/mcp-persona-sessions"
    }
  }
}

Usage

Basic Session Flow

I use Claude as the mcp client, you might use something else. Simple ask claude to initiate a session.

"Claude, use your tools to run a mock meeting, this meeting is with XXX and is about YYY, duration 10 mins." If you have useful documents, include them with the request.

Configuration

config.yaml

persona_path: "roles"                           # Directory containing persona files
session_types_file: "session_types.yaml"       # Session framework definitions
default_persona_file: "Role-Interviewer-mcp.md" # Fallback persona
evaluator_persona_file: "Role-Interview-Evaluator.md" # Feedback persona

Adding Custom Personas

Create a new .md file in the roles/ directory with:

# Your Persona Name

## Identity and Purpose
[Define who this persona is and their role]

## Communication Style
[How they speak and interact]

## Expertise Areas
[What they know and focus on]

## Goals
[What they aim to achieve in sessions]

[Additional sections as needed...]

Adding Custom Session Types

Edit session_types.yaml to add new session frameworks:

session_types:
  - name: "Your Custom Session"
    persona: "Your Persona"
    persona_file: "Role-Your-Persona.md"
    description: "What this session accomplishes"
    prerequisites: ["What's needed to start"]
    duration: 20
    topics: ["Key areas to explore"]
    goals: ["Session outcomes"]

Project Structure

mcp-persona-sessions/
├── mcp-persona-sessions.py    # Main MCP server
├── timer.py                   # Timer management utilities
├── config.yaml               # Server configuration
├── session_types.yaml        # Available session frameworks
├── roles/                     # Persona definition files
│   ├── Role-CIO.md
│   ├── Role-Reflective-Companion.md
│   ├── Role-Interview-Evaluator.md
│   └── ...
├── requirements.txt
└── README.md

Available Tools

ToolPurpose
list_session_frameworksBrowse available session types and templates
list_session_personasView all available personas
get_persona_detailsGet full details of a specific persona
assess_session_readinessCheck if ready to start a session
initialize_sessionBegin a structured session
start_timerStart session timer with optional duration
check_timer_statusMonitor running timer progress
stop_timerEnd timer and conclude session
get_session_feedbackAnalyze session transcript for feedback

Use Cases

  • Job Interview Prep: Practice with realistic interviewer personas
  • Presentation Rehearsal: Get feedback on messaging and delivery
  • Difficult Conversations: Role-play challenging workplace discussions
  • Personal Development: Structured self-reflection and goal clarification
  • Creative Exploration: Guided sessions for artistic and innovative thinking
  • Decision Making: Work through complex choices with focused dialogue
  • Daily Reflection: Consistent journaling practice with adaptive guidance

Contributing

Contributions welcome! Areas of interest:

  • New persona definitions for different roles/industries
  • Additional session frameworks for specific use cases
  • Enhanced timer and session management features
  • Integration improvements for different MCP clients

License

GPL-3.0 License - see LICENSE file for details.

Acknowledgments

Built using the Model Context Protocol framework for AI assistant extensibility.

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Amap Maps高德地图官方 MCP Server
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
DeepChatYour AI Partner on Desktop
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
CursorThe AI Code Editor
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Playwright McpPlaywright MCP server
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
ChatWiseThe second fastest AI chatbot™
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Tavily Mcp
WindsurfThe new purpose-built IDE to harness magic
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Serper MCP ServerA Serper MCP Server