GPT-5 MCP Server
Provides tools for asking GPT-5 questions, continuing multi-turn conversations, analyzing response quality, generating follow-up questions, and comparing responses via the OpenAI API.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
GPT-5 MCP Server
A Model Context Protocol server for GPT-5 interactions and Q&A workflows
Simple MCP server that provides tools for asking questions, continuing conversations, analyzing responses, and generating follow-ups with GPT-5.
Features
5 Core Tools - Ask questions, continue conversations, analyze responses
Response Analysis - Quality scoring and feedback
Follow-up Generation - Auto-generate related questions
Response Comparison - Compare multiple responses
Error Handling - Graceful API error handling with test mode
Related MCP server: GPT-MCP Bridge
Quick Start
# Clone and install
git clone https://github.com/yourusername/gpt5-mcp-server
cd gpt5-mcp-server
npm install
# Set up environment
cp .env.example .env
# Add your OpenAI API key to .env
# Build and run
npm run build
npm startInstallation
Clone the repository:
git clone https://github.com/yourusername/gpt5-mcp-server cd gpt5-mcp-server npm installSet up environment:
cp .env.example .env # Edit .env and add your OpenAI API keyBuild and test:
npm run build npm run test-server # Test mode (no API key required)
Core Tools
1. ask_gpt5 - Ask GPT-5 Questions
{
"question": "What is machine learning?",
"context": "I'm a beginner learning about AI",
"temperature": 0.7,
"max_tokens": 500
}2. continue_conversation - Multi-turn Conversations
{
"messages": [
{"role": "user", "content": "What is Python?"},
{"role": "assistant", "content": "Python is a programming language..."},
{"role": "user", "content": "How do I install it?"}
]
}3. analyze_response - Analyze Response Quality
{
"response": "Your GPT-5 response here...",
"criteria": ["Accuracy", "Clarity", "Completeness"]
}4. generate_followup_questions - Generate Follow-ups
{
"original_question": "What is Python?",
"response": "Python is a programming language...",
"count": 3
}5. compare_responses - Compare Multiple Responses
{
"question": "What is the best programming language?",
"responses": [
{"id": "response_1", "content": "Python is the best because..."},
{"id": "response_2", "content": "JavaScript is better because..."}
]
}MCP Client Configuration
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"gpt5-qa": {
"command": "node",
"args": ["/path/to/gpt5-mcp-server/build/index.js"],
"env": {
"OPENAI_API_KEY": "your-api-key-here"
}
}
}
}Test Mode (No API Key Required)
{
"mcpServers": {
"gpt5-qa-test": {
"command": "tsx",
"args": ["./src/test-server.ts"],
"cwd": "/path/to/gpt5-mcp-server"
}
}
}Usage Examples
Once connected to your MCP client:
Ask a basic question:
Use tool: ask_gpt5 Arguments: {"question": "What is Python?", "temperature": 0.7}Continue a conversation:
Use tool: continue_conversation Arguments: { "messages": [ {"role": "user", "content": "What is Python?"}, {"role": "assistant", "content": "Python is a programming language..."}, {"role": "user", "content": "How do I install it?"} ] }Analyze a response:
Use tool: analyze_response Arguments: {"response": "Your GPT response here", "criteria": ["Accuracy", "Clarity"]}
Development
Run in Development Mode
npm run dev # Hot reload with tsxTest Mode (No API Calls)
npm run test-server # Uses mock responsesBuild for Production
npm run build
npm startError Handling
The server includes graceful error handling:
Quota Exceeded: Shows helpful error message with resolution steps
API Errors: Detailed error information and troubleshooting
Test Mode: Full functionality without API calls when quota is exceeded
License
MIT License - see LICENSE for details.
Contributing
Fork the repository
Create a feature branch
Make your changes
Test your changes
Submit a pull request
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Generate contextual prompts and reusable agent skills, evaluate prompts with the 16-dimension Prompt Score, and manage saved work in PromptDrive. Twelve MCP tools also provide authorized access to private Memory for source-grounded answers. Connect over Streamable HTTP using OAuth 2.1 and PKCE. Generation consumes account quota and automatically saves successful results; Memory access follows account permissions and plan limits.
Hybrid human + AI expertise for faster, trusted answers and decisions via MCP Server.
GPT-5: GPT‑5 is OpenAI’s most advanced and unified AI model, combining fast, real-time.
An AI concierge that turns static forms into adaptive AI conversations. From any MCP client.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables GPT-5 inference via OpenAI API with configurable reasoning effort, verbosity levels, and optional web search integration. Supports per-call parameter overrides for flexible AI model interactions through MCP.1MIT
- FlicenseNot gradedqualityNot gradedmaintenanceEnables Claude and other MCP-compatible tools to communicate with OpenAI's GPT models (GPT-5, GPT-5-mini, o3) with conversation history and session management. Features advanced controls like reasoning effort settings, token tracking, and parallel conversation sessions for efficient AI workflows.21 npm-
- AlicenseNot gradedqualityDmaintenanceProvides access to OpenAI's GPT-5 model with web search and advanced reasoning capabilities, enabling AI-powered search and analysis through MCP tools.Do What The F*ck You Want To Public
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to ask plain-language questions and receive answers grounded only in documents the configured role is cleared to read, with the same access-controlled tools available across any client.MIT