Phone-a-Friend MCP Server ๐Ÿง ๐Ÿ“ž

by abhishekbhakat

275 downloads
Not rated
GitHub

Description

# 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โ€ฆ

About

# 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โ€ฆ

Details

Author
abhishekbhakat
Downloads
275
Categories
Communication, AI, Other

- Two-step consultation: context + reasoning then extract actionable insights.
- Automatic model selection based on provider and task.
- Supports OpenRouter, OpenAI, Anthropic, and Google/Gemini.
- Exposes a single phone_a_friend MCP tool.
- Handles long context reasoning (>100k tokens).
- No memory of past conversations; quality depends on provided context.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Phone-a-Friend MCP Server ๐Ÿง ๐Ÿ“ž
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install by cloning the repository and running uv pip install -e .. Set one or more API keys via environment variables (OPENROUTER_API_KEY recommended, or OPENAI_API_KEY, ANTHROPIC_API_KEY, GOOGLE_API_KEY). Start the server with phone-a-friend-mcp-server. To use with Claude Desktop, add a configuration entry to claude_desktop_config.json. The primary AI invokes the phone_a_friend tool with all_related_context, task, and optional any_additional_context.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "phone-a-friend mcp server \ud83e\udde0\ud83d\udcde": {
            "phone-a-friend-mcp-server": {
                "command": "uv",
                "args": [
                    "pip",
                    "install",
                    "-e",
                    "."
                ]
            }
        }
    }
}

McpServers

{
    "phone-a-friend-mcp-server": {
        "command": "uv",
        "args": [
            "pip",
            "install",
            "-e",
            "."
        ]
    }
}

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

The Solution ๏ฟฝ

Phone-a-Friend MCP Server creates a two-step consultation process:

1. Context + Reasoning: Package all relevant context and send to external AI for deep analysis
2. 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 (GPT-4, Claude, etc.) โ†’ Processed Response โ†’ Primary AI

Sequential Workflow:
1. analyze_context - Gather and structure all relevant context
2. get_critical_thinking - Send context to external AI via OpenRouter for reasoning
3. extract_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

Not needed for:
- Simple factual questions
- Basic reasoning tasks
- Quick responses
- Well-defined procedural tasks

Installation ๐Ÿš€

1. Clone the repository:

git clone https://github.com/abhishekbhakat/phone-a-friend-mcp-server.git
cd phone-a-friend-mcp-server

2. Install dependencies:

uv pip install -e .

3. Configure your preferred AI provider:

OpenRouter (recommended - access to multiple models):
```bash
export OPENROUTER_API_KEY="your-openrouter-key"

No reviews yet โ€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.