Ploidy
Allows running automated debate sessions using OpenAI's API as the backend for generating positions and challenges.
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., "@Ploidydebate: should we adopt a monorepo?"
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.
Ploidy
Context-asymmetric structured debate for difficult decisions.
Ploidy gives one side of a debate project context and keeps the other side fresh, then records positions before either side can anchor on the other. It ships as a Python 3.11+ MCP server with SQLite persistence.
Install
pip install ploidyAdd the API extra only when the server itself will generate an automatic debate:
pip install "ploidy[api]"Related MCP server: consensus-mcp
Recommended local setup: stdio
stdio is the default transport. One MCP client starts one server on
demand, so there is no port or background process to manage.
{
"mcpServers": {
"ploidy": {
"type": "stdio",
"command": "python3",
"args": ["-m", "ploidy"]
}
}
}The primary tool is debate:
mode="solo": the caller supplies independently generated Deep and Fresh positions. No external model API is required.mode="auto": the server generates both sides through an OpenAI-compatible API. Non-emptycontext_documentsare required so the Deep and Fresh sides are actually asymmetric.
Example auto call:
await debate(
prompt="Should we split the ingestion service?",
mode="auto",
context_documents=["Current topology, incident history, and constraints…"],
context_sources=["architecture-notes"],
)Configure the API backend before using auto mode:
export PLOIDY_API_BASE_URL=https://api.openai.com/v1
export PLOIDY_API_KEY=...
export PLOIDY_API_MODEL=your-modelShared server: Streamable HTTP
Use HTTP when multiple MCP clients must share one debate or when Ploidy is deployed as a service:
PLOIDY_TRANSPORT=streamable-http python3 -m ploidy
export PLOIDY_URL=http://127.0.0.1:8765Configure each client with ${PLOIDY_URL}/mcp (substitute the value;
JSON does not expand shell variables):
{
"mcpServers": {
"ploidy": {
"type": "streamable-http",
"url": "http://127.0.0.1:8765/mcp"
}
}
}PLOIDY_URL is the base URL used by ploidy-ask and other HTTP
clients. The MCP endpoint is /mcp, and the live HTTP/SSE endpoint is
/v1/debate/stream.
MCP tools
Ploidy 0.4.0 exposes exactly 13 tools. New integrations should use the
unified debate tool. The other 12 remain available for explicit
two-client, phase-by-phase, history, cancellation, and HITL workflows.
Tool | Purpose |
| Unified |
| Create a Deep session |
| Join as Fresh or Semi-Fresh |
| Submit an independent position |
| Submit a semantic challenge |
| Produce the convergence result |
| Cancel an active debate |
| Permanently delete a debate |
| Read current state |
| List visible debate history |
| Legacy alias for caller-supplied debate |
| Legacy alias for API-generated debate |
| Approve, override, or reject a paused auto debate |
Service configuration
Common environment variables:
PLOIDY_TRANSPORT=stdio # stdio (default) or streamable-http
PLOIDY_PORT=8765
PLOIDY_DB_PATH=~/.ploidy/ploidy.db
PLOIDY_MAX_CONTEXT_TOKENS=20000 # recommended for hosted auto mode
PLOIDY_RATE_CAPACITY=20
PLOIDY_RATE_PER_SEC=1
PLOIDY_RETENTION_DAYS=30Authentication modes and their limits:
Admission-controlled self-hosting:
PLOIDY_AUTH_MODE=bearerwithPLOIDY_TOKENS='{"token":"tenant"}'.OAuth interoperability:
PLOIDY_AUTH_MODE=oauthand an exact publicPLOIDY_OAUTH_ISSUER; v0.4.0 auto-approves clients and therefore is not user login or public admission control.Migration only:
PLOIDY_AUTH_MODE=bothadds the static-token fallback.
Bearer mode without a configured token is intentionally unauthenticated and is suitable only for loopback development. Public services need a private ingress/gateway or controlled static tokens until OAuth gains resource-owner login and consent.
Container
The published image is immutable by release version:
docker run --rm \
-p 127.0.0.1:8765:8765 \
-v ploidy-data:/data \
ghcr.io/heznpc/ploidy:0.4.0Or run the checked-in Compose configuration:
docker compose up --buildThe image defaults to streamable-http and contains the API,
dashboard, metrics, Redis, and CLI runtime extras.
Documentation
License
MIT
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
- Alicense-qualityDmaintenanceA Model Context Protocol server that enables collaborative debates between multiple AI agents, allowing them to discuss and reach consensus on user prompts.Last updated1MIT
- Alicense-qualityBmaintenanceAn MCP server that enables multi-model debate and consensus building through a single tool. It orchestrates multiple AI models from various providers to debate topics and reach validated conclusions with real-time progress tracking.Last updated323MIT
- Alicense-qualityDmaintenanceMCP server for AI agents to conduct multi-LLM roundtable discussions, returning structured common, divergent, and unique perspectives.Last updatedMIT
- AlicenseAqualityBmaintenanceDynamic multi-agent debate MCP server for structured argumentation and reasoning among AI agents.Last updated121MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.
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/heznpc/PLOIDY'
If you have feedback or need assistance with the MCP directory API, please join our Discord server