Connects to Counsel API to analyze decisions and questions through structured debates and multi-perspective reasoning sessions.

Connects to the Counsel API for strategic reasoning and multi-perspective analysis through debates, question enhancement, and interactive advisor sessions.

3129 views2Remote

What it does

  • Run strategic debates between multiple perspectives
  • Enhance questions with deeper context and analysis
  • Conduct interactive advisor sessions
  • Access multi-perspective reasoning engines
  • Authenticate via OAuth 2.0

Best for

Strategic decision making and planningComplex problem analysis requiring multiple viewpointsEnhancing research questions and frameworks
Hosted version available — no setup requiredDual transport support (STDIO and HTTP)Strategic reasoning focused

About Counsel

Counsel is a community-built MCP server published by mercurialsolo that provides AI assistants with tools and capabilities via the Model Context Protocol. Counsel connects to the Counsel API for strategic reasoning AI, multi‑perspective analysis tool, AI debate platform, and It is categorized under developer tools.

How to install

You can install Counsel in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server supports remote connections over HTTP, so no local installation is required.

License

Counsel is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

Counsel MCP Server

npm version License: MIT Node.js Version

An open-source Model Context Protocol (MCP) server that connects AI agents to the Counsel API for strategic reasoning and multi-perspective analysis.

Features

  • Hosted & Self-Hosted - Use the hosted server instantly or run your own instance
  • Strategic Reasoning - Access Counsel's debate and multi-perspective reasoning engines
  • Advisor Sessions - Run interactive intake and profile tuning sessions
  • Native OAuth 2.0 - Standard MCP authentication handled automatically by clients
  • Dual Transport - STDIO for local clients, HTTP for web clients and shared servers

Table of Contents


Quick Start (Hosted)

Connect instantly to the hosted Counsel MCP server - no installation required:

http://counsel-mcp.getmason.dev/mcp

For MCP clients that support HTTP transport, simply add:

{
  "mcpServers": {
    "counsel": {
      "url": "http://counsel-mcp.getmason.dev/mcp",
      "transport": "http"
    }
  }
}

OAuth authentication is handled automatically by your MCP client.


Installation (Self-Hosted)

Run your own instance of the Counsel MCP server locally.

Prerequisites

  1. Node.js 18+ installed on your system
  2. A Counsel account at counsel.getmason.dev

Claude Desktop

Add to your claude_desktop_config.json:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "counsel": {
      "command": "npx",
      "args": ["-y", "counsel-mcp-server", "start"]
    }
  }
}
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "counsel": {
      "command": "npx",
      "args": ["-y", "counsel-mcp-server", "start"]
    }
  }
}

Claude Code (CLI)

claude mcp add counsel -- npx -y counsel-mcp-server start

Or manually add to your MCP settings:

{
  "mcpServers": {
    "counsel": {
      "command": "npx",
      "args": ["-y", "counsel-mcp-server", "start"]
    }
  }
}

Cursor

Add to your Cursor MCP configuration (.cursor/mcp.json in your project or global settings):

{
  "mcpServers": {
    "counsel": {
      "command": "npx",
      "args": ["-y", "counsel-mcp-server", "start"]
    }
  }
}

Windsurf

Add to your Windsurf MCP configuration:

{
  "mcpServers": {
    "counsel": {
      "command": "npx",
      "args": ["-y", "counsel-mcp-server", "start"]
    }
  }
}

VS Code with Copilot

Add to your VS Code settings (settings.json):

{
  "mcp.servers": {
    "counsel": {
      "command": "npx",
      "args": ["-y", "counsel-mcp-server", "start"]
    }
  }
}

Other MCP Clients

The server supports two transport modes. Choose based on your client's capabilities:

STDIO Mode (Default)

Most MCP clients use STDIO transport. Configure with:

{
  "mcpServers": {
    "counsel": {
      "command": "npx",
      "args": ["-y", "counsel-mcp-server", "start"],
      "env": {
        "COUNSEL_API_KEY": "your_api_key_here"
      }
    }
  }
}

HTTP Mode with OAuth

For clients that support HTTP transport with OAuth 2.0, run the server separately:

# Start the HTTP server
npx -y counsel-mcp-server http --port 3000

This starts an HTTP server with:

  • MCP endpoint: http://localhost:3000/mcp
  • OAuth discovery: http://localhost:3000/.well-known/oauth-authorization-server

Then configure your client to connect:

{
  "mcpServers": {
    "counsel": {
      "url": "http://localhost:3000/mcp",
      "transport": "http"
    }
  }
}

HTTP mode uses OAuth 2.0 with automatic token management - no API key required.

Transport Comparison

FeatureSTDIO ModeHTTP Mode
Commandnpx -y counsel-mcp-server startnpx -y counsel-mcp-server http
AuthAPI key via env varOAuth 2.0 (automatic)
SetupSingle configRun server + configure client
Best forClaude Desktop, Cursor, VS CodeWeb clients, shared servers

Authentication

The server supports two authentication modes:

STDIO Mode (Default)

Set the COUNSEL_API_KEY environment variable with your API key from counsel.getmason.dev:

export COUNSEL_API_KEY=your_api_key_here

Or add it to your MCP client configuration:

{
  "mcpServers": {
    "counsel": {
      "command": "npx",
      "args": ["-y", "counsel-mcp-server", "start"],
      "env": {
        "COUNSEL_API_KEY": "your_api_key_here"
      }
    }
  }
}

HTTP Mode (OAuth 2.0)

When running in HTTP mode (npx -y counsel-mcp-server http), authentication is handled automatically through OAuth 2.0:

  1. When you first use a Counsel tool, your MCP client will prompt for authentication
  2. You'll be redirected to sign in with your Counsel account
  3. After authorization, tokens are managed automatically

No manual API key required in HTTP mode - your MCP client handles the entire OAuth flow.

OAuth Endpoints (HTTP Mode)

The server exposes standard OAuth 2.0 endpoints:

EndpointDescription
/.well-known/oauth-authorization-serverOAuth metadata discovery
/authorizeAuthorization endpoint
/tokenToken exchange endpoint
/registerDynamic client registration

Available Tools

start_consultation

Start a new strategic consultation (debate) to analyze a complex question with multiple perspectives.

ParameterTypeRequiredDescription
questionstringYesThe core question to analyze
contextstringNoAdditional context about the situation
modeenumNoDepth of analysis: quick, standard (default), deep
stakeholdersstring[]NoKey stakeholders to consider

Example:

Start a consultation about "Should we migrate our monolith to microservices?"
with context about our 50-person engineering team and mode set to deep

get_consultation_status

Check the status of an ongoing consultation.

ParameterTypeRequiredDescription
debate_idstringYesThe ID of the consultation

get_consultation_report

Retrieve the final synthesis report from a completed consultation.

ParameterTypeRequiredDescription
debate_idstringYesThe ID of the consultation

list_consultations

List your past consultations.

ParameterTypeRequiredDescription
limitnumberNoNumber of results (default: 10)

sharpen_question

Refine and improve a strategic question before starting a consultation.

ParameterTypeRequiredDescription
questionstringYesThe question to refine
contextstringNoAdditional context

Example:

Sharpen this question: "Is AI good for our company?"

consult_advisor

Start an interactive advisor session for brainstorming or scoping problems.

ParameterTypeRequiredDescription
questionstringYesThe initial topic or question

Usage Examples

Strategic Decision Making

Use Counsel to analyze: "Should we expand into the European market in 2025?"

Consider these stakeholders: CEO, CFO, Head of Sales, Legal
Use deep analysis mode

Question Refinement

Use the sharpen_question tool to improve this question:
"How do we fix our culture?"

Context: We're a 200-person startup experiencing rapid growth

Checking Consultation Progress

Check the status of consultation abc-123-def

Configuration

Environment Variables

VariableDefaultDescription
COUNSEL_API_URLhttps://counsel.getmason.devCounsel API base URL
PORT3000Server port (HTTP mode)

CLI Commands

# STDIO mode (default) - for most MCP clients
npx -y counsel-mcp-server start

# HTTP mode - for clients supporting OAuth
npx -y counsel-mcp-server http [options]

HTTP Options:
  -p, --port <port>  Port to listen on (default: 3000)
  --host <host>      Host to bind to (default: localhost)

Troubleshooting

"Tool not found" Error

Ensure the MCP server is properly configured in your client. Restart your client after adding the configuration.

Authentication Issues

  1. Check that you have a valid Counsel account
  2. Try removing and re-adding the MCP server configuration
  3. Clear your client's MCP cache if available

Connection Refused

If running in HTTP mode, ensure:

  • The

README truncated. View full README on GitHub.

Alternatives

Related Skills

Browse all skills
ui-design-system

UI design system toolkit for Senior UI Designer including design token generation, component documentation, responsive design calculations, and developer handoff tools. Use for creating design systems, maintaining visual consistency, and facilitating design-dev collaboration.

18
ai-sdk

Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like generateText, streamText, ToolLoopAgent, embed, or tools, (2) Want to build AI agents, chatbots, RAG systems, or text generation features, (3) Have questions about AI providers (OpenAI, Anthropic, Google, etc.), streaming, tool calling, structured output, or embeddings, (4) Use React hooks like useChat or useCompletion. Triggers on: "AI SDK", "Vercel AI SDK", "generateText", "streamText", "add AI to my app", "build an agent", "tool calling", "structured output", "useChat".

6
api-documenter

Master API documentation with OpenAPI 3.1, AI-powered tools, and modern developer experience practices. Create interactive docs, generate SDKs, and build comprehensive developer portals. Use PROACTIVELY for API documentation or developer portal creation.

4
openai-knowledge

Use when working with the OpenAI API (Responses API) or OpenAI platform features (tools, streaming, Realtime API, auth, models, rate limits, MCP) and you need authoritative, up-to-date documentation (schemas, examples, limits, edge cases). Prefer the OpenAI Developer Documentation MCP server tools when available; otherwise guide the user to enable `openaiDeveloperDocs`.

4
cli-builder

Guide for building TypeScript CLIs with Bun. Use when creating command-line tools, adding subcommands to existing CLIs, or building developer tooling. Covers argument parsing, subcommand patterns, output formatting, and distribution.

3
ydc-ai-sdk-integration

Integrate Vercel AI SDK applications with You.com tools (web search, AI agent, content extraction). Use when developer mentions AI SDK, Vercel AI SDK, generateText, streamText, or You.com integration with AI SDK.

2