loading…
Search for a command to run...
loading…
Enables AI models to administer personality tests, score responses, and provide personality type assessments, with optional integration with Ollama for personal
Enables AI models to administer personality tests, score responses, and provide personality type assessments, with optional integration with Ollama for personalized AI interactions.
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.
The MCP server handles:
The client interface allows:
This implementation uses a simplified version of the Myers-Briggs Type Indicator (MBTI) framework, which categorizes personalities along four dimensions:
The combination of preferences results in 16 distinct personality types (e.g., INTJ, ESFP).
Clone the repository:
git clone https://github.com/yourusername/model-context-protocols.git
cd model-context-protocols/personality-test-mcp
Create and activate a virtual environment:
python3 -m venv venv
# On macOS/Linux
source venv/bin/activate
# On Windows
venv\Scripts\activate
Install dependencies:
pip install -r requirements.txt
cd server
python app.py
The server will start on http://localhost:8000In a new terminal, activate the virtual environment:
cd personality-test-mcp
source venv/bin/activate # On macOS/Linux
Run the basic client:
cd client
python mcp_client.py
If you have Ollama installed and running:
Make sure Ollama is running:
ollama serve
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.
For convenience, you can use the provided demo script:
Make the script executable:
chmod +x run_demo.sh
Run the demo:
./run_demo.sh
This script will:
You can also run the server using Docker:
docker build -t personality-test-mcp .
docker run -p 8000:8000 personality-test-mcp
AI models can use this MCP to:
POST /mcp: Main MCP endpoint for personality test interactionsGET /health: Health check endpointThis project is licensed under the ISC license.
© Anthony Lim
Выполни в терминале:
claude mcp add personality-test-mcp -- npx Безопасность
Низкий рискАвтоматическая эвристика по публичным данным — не гарантия безопасности.