personality-test-mcp
Integrates with Ollama for personalized AI interactions based on personality test results
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@personality-test-mcpStart a personality test for me"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Personality Test MCP Server
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
Related MCP server: OpenClueo MCP Server
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:
Extraversion (E) vs. Introversion (I): Where you focus your attention and get energy
Sensing (S) vs. Intuition (N): How you take in information
Thinking (T) vs. Feeling (F): How you make decisions
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
Clone the repository:
git clone https://github.com/yourusername/model-context-protocols.git cd model-context-protocols/personality-test-mcpCreate and activate a virtual environment:
python3 -m venv venv # On macOS/Linux source venv/bin/activate # On Windows venv\Scripts\activateInstall dependencies:
pip install -r requirements.txt
Running the Server
Start the MCP server:
cd server python app.pyThe server will start on http://localhost:8000
Running the Client
In a new terminal, activate the virtual environment:
cd personality-test-mcp source venv/bin/activate # On macOS/LinuxRun the basic client:
cd client python mcp_client.py
Using Ollama Integration
If you have Ollama installed and running:
Make sure Ollama is running:
ollama serveRun the Ollama integration client:
cd client python ollama_integration.py --model llama3You can replace
llama3with any model you have available in Ollama.
Using the Demo Script
For convenience, you can use the provided demo script:
Make the script executable:
chmod +x run_demo.shRun 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-mcpUsage with AI Models
AI models can use this MCP to:
Administer personality tests to users
Retrieve personality profiles for personalized interactions
Adjust communication style based on personality preferences
API Endpoints
POST /mcp: Main MCP endpoint for personality test interactionsGET /health: Health check endpoint
License
This project is licensed under the ISC license.
Author
© Anthony Lim
This server cannot be deployed
Maintenance
Related MCP Connectors
LLM Orchestration Agent (Opentelemetry Api)
LLM Observability & Orchestration Agent (LangChain Community)
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
AI routing, memory, guardrails, and governance. Routes across Claude, GPT, Gemini.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to guide users through MBTI personality tests with two modes (28-question simplified or 48-question cognitive functions), track progress, and provide detailed personality type analysis and results.47 npm2MIT
- AlicenseBqualityDmaintenanceProvides a universal AI personality layer that uses a scientifically-backed Big Five engine to apply consistent character traits and brand voices across MCP-compatible platforms. It allows users to inject custom personality profiles or presets into AI interactions to ensure behavioral consistency.79 npm75MIT
- FlicenseBqualityBmaintenanceEnables AI agents to interact with local Ollama models for text generation and tool calling with prompt injection protection.5-
- AlicenseNot gradedqualityDmaintenanceCreates and manages personality profiles using a 12-facet model based on 33 academic frameworks, stores them as OpenClaw-compatible SOUL.md/IDENTITY.md, and supports progressive profiling with confidence tracking.2MIT