phone-a-friend-mcp-server
Click on "Install 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., "@phone-a-friend-mcp-serverAnalyze this algorithm for performance bottlenecks using external AI consultation."
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.
Phone-a-Friend MCP Server ๐ง ๐
An AI-to-AI consultation system that enables one AI to "phone a friend" (another AI) for critical thinking, long context reasoning, and complex problem solving via OpenRouter.
The Problem ๐ค
Sometimes an AI encounters complex problems that require:
Deep critical thinking beyond immediate capabilities
Long context reasoning with extensive information
Multi-step analysis that benefits from external perspective
Specialized expertise from different AI models
Related MCP server: Senior Consult MCP
The Solution ๏ฟฝ
Phone-a-Friend MCP Server creates a two-step consultation process:
Context + Reasoning: Package all relevant context and send to external AI for deep analysis
Extract Actionable Insights: Process the reasoning response into usable format for the primary AI
This enables AI systems to leverage other AI models as "consultants" for complex reasoning tasks.
Architecture ๐๏ธ
Primary AI โ Phone-a-Friend MCP โ OpenRouter โ External AI (O3, Claude, etc.) โ Processed Response โ Primary AISequential Workflow:
analyze_context- Gather and structure all relevant contextget_critical_thinking- Send context to external AI via OpenRouter for reasoningextract_actionable_insights- Process response into actionable format
When to Use ๐ฏ
Ideal for:
Complex multi-step problems requiring deep analysis
Situations needing long context reasoning (>100k tokens)
Cross-domain expertise consultation
Critical decision-making with high stakes
Problems requiring multiple perspectives
Quick Start โก
Configure your MCP client (e.g., Claude Desktop) using the JSON block belowโno cloning or manual installation required.
The uv runner will automatically download and execute the server package if it isn't present.
Add the following JSON configuration to your MCP client and replace <YOUR_API_KEY> with your key:
{
"mcpServers": {
"phone-a-friend": {
"command": "uvx",
"args": [
"phone-a-friend-mcp-server",
"--provider", "openai",
"--api-key", "<YOUR_API_KEY>"
]
}
}
}That's it! You can now use the
phone_a_friendtool in any compatible client. For more options, see the Advanced Configuration section.
Available Tools ๐ ๏ธ
phone_a_friend
๐ Consult external AI for critical thinking and complex reasoning. Makes API calls to get responses.
fax_a_friend
๐ Generate master prompt file for manual AI consultation. Creates file for copy-paste workflow.
Parameters
phone_a_friend
all_related_context(required): General, non-code context such as constraints, tracebacks, or high-level requirements.file_list(required): Array of file paths or glob patterns. Just pass the paths โ the server automatically reads those files (skips anything in.gitignoreor non-text/binary) and builds the full code context for the external AI.task(required): A clear, specific description of what you want the external AI to do.
fax_a_friend
all_related_context(required): Same as above.file_list(required): Same as above.task(required): Same as above.output_directory(required): Directory where the generatedfax_a_friend.mdmaster prompt file will be saved.
Advanced Configuration ๐ง
This section covers all configuration options, including environment variables, CLI flags, and model selection.
Providers and API Keys
The server can be configured via CLI flags or environment variables.
Provider | CLI Flag | Environment Variable |
OpenAI |
|
|
OpenRouter |
|
|
Anthropic |
|
|
|
|
CLI Example:
phone-a-friend-mcp-server --provider openai --api-key "sk-..."Environment Variable Example:
export OPENAI_API_KEY="sk-..."
phone-a-friend-mcp-serverModel Selection
You can override the default model for each provider.
Provider | Default Model |
OpenAI |
|
Anthropic |
|
| |
OpenRouter |
|
Override with CLI:
phone-a-friend-mcp-server --model "o3"Override with Environment Variable:
export PHONE_A_FRIEND_MODEL="o3"Additional Options
Feature | CLI Flag | Environment Variable | Default |
Temperature |
|
|
|
Base URL |
|
| Provider default |
Use Cases ๐ฏ
In-depth Reasoning for Vibe Coding
For complex algorithms, data structures, or mathematical computations
Frontend Development with React, Vue, CSS, or modern frontend frameworks
License ๐
MIT License - see LICENSE file for details.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI agents to consult with multiple AI models (GPT, Gemini, Grok, etc.) through OpenRouter with intelligent auto-selection, conversation history, and caching. Allows your AI assistant to seek expert opinions from specialized models for different tasks like coding, analysis, or general questions.Last updated221MIT
- AlicenseBqualityDmaintenanceEnables AI agents to consult expert models (Claude, GPT, Gemini, DeepSeek, Z.ai) for technical guidance, code reviews, and architectural advice without switching context.Last updated4364MIT
- Alicense-qualityDmaintenanceEnables AI models to consult a configured advanced model (e.g., GPT-5.5, Claude Opus 4.7) via a streamable HTTP MCP server for deep analysis and expert advice on complex problems.Last updated2MIT
- Alicense-qualityDmaintenanceEnables advanced reasoning and reflection using the Gemini API and OpenRouter models, integrating sequential thinking and critique capabilities.Last updated33MIT
Related MCP Connectors
Agent-to-agent reasoning-as-a-service: chain-of-thought, analysis, and decision support.
A second opinion for AI agents: one prompt across several live Gonka models + roles, one call.
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/abhishekbhakat/phone-a-friend-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server