personality-test-mcp

personality-test-mcp

Enables AI models to administer personality tests, score responses, and provide personality type assessments, with optional integration with Ollama for personalized AI interactions.

Category
Visit Server

README

Personality Test MCP Server

smithery badge

This is a Model Context Protocol (MCP) implementation for personality testing. It allows AI models to administer personality tests, score responses, and provide personality type assessments.

Features

  • Administers a personality questionnaire to users
  • Scores responses according to established personality frameworks
  • Returns personality type and brief descriptions
  • Integrates with Ollama for personalized AI interactions
  • Allows users to go back and change previous answers

Components

Server

The MCP server handles:

  • Serving personality test questions
  • Processing and scoring user responses
  • Determining personality types
  • Storing user profiles (optional)

Client

The client interface allows:

  • Users to take the personality test
  • Viewing results and personality descriptions
  • Integration with Ollama for personalized interactions

Personality Framework

This implementation uses a simplified version of the Myers-Briggs Type Indicator (MBTI) framework, which categorizes personalities along four dimensions:

  1. Extraversion (E) vs. Introversion (I): Where you focus your attention and get energy
  2. Sensing (S) vs. Intuition (N): How you take in information
  3. Thinking (T) vs. Feeling (F): How you make decisions
  4. Judging (J) vs. Perceiving (P): How you deal with the outer world

The combination of preferences results in 16 distinct personality types (e.g., INTJ, ESFP).

Getting Started

Prerequisites

  • Python 3.8 or higher
  • pip (Python package manager)
  • Ollama (optional, for personalized AI interactions)

Installation and Setup

  1. Clone the repository:

    git clone https://github.com/yourusername/model-context-protocols.git
    cd model-context-protocols/personality-test-mcp
    
  2. Create and activate a virtual environment:

    python3 -m venv venv
    
    # On macOS/Linux
    source venv/bin/activate
    
    # On Windows
    venv\Scripts\activate
    
  3. Install dependencies:

    pip install -r requirements.txt
    

Running the Server

  1. Start the MCP server:
    cd server
    python app.py
    
    The server will start on http://localhost:8000

Running the Client

  1. In a new terminal, activate the virtual environment:

    cd personality-test-mcp
    source venv/bin/activate  # On macOS/Linux
    
  2. Run the basic client:

    cd client
    python mcp_client.py
    

Using Ollama Integration

If you have Ollama installed and running:

  1. Make sure Ollama is running:

    ollama serve
    
  2. Run the Ollama integration client:

    cd client
    python ollama_integration.py --model llama3
    

    You can replace llama3 with any model you have available in Ollama.

Using the Demo Script

For convenience, you can use the provided demo script:

  1. Make the script executable:

    chmod +x run_demo.sh
    
  2. Run the demo:

    ./run_demo.sh
    

This script will:

  • Set up a virtual environment
  • Install dependencies
  • Start the server
  • Run either the basic client or Ollama integration (if Ollama is detected)

Docker Support

You can also run the server using Docker:

docker build -t personality-test-mcp .
docker run -p 8000:8000 personality-test-mcp

Usage with AI Models

AI models can use this MCP to:

  1. Administer personality tests to users
  2. Retrieve personality profiles for personalized interactions
  3. Adjust communication style based on personality preferences

API Endpoints

  • POST /mcp: Main MCP endpoint for personality test interactions
  • GET /health: Health check endpoint

License

This project is licensed under the ISC license.

Author

© Anthony Lim

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured