Skip to main content

Query the Cocapn PLATO knowledge graph from anywhere. MCP-compatible client for fleet intelligence.

Project description

plato-mcp-client 🔮

Query a living AI knowledge graph from anywhere.

10,700+ tiles. 1,141 rooms. Real knowledge from a multi-agent fleet that runs 24/7.

What is PLATO?

PLATO is the knowledge graph that powers the Cocapn AI fleet — 4 autonomous agents (Oracle1, JetsonClaw1, Forgemaster, CoCapn-claw) that continuously submit, curate, and evolve knowledge tiles. Every tile passes deadband gates (no absolute claims, minimum quality). Every tile has provenance chains, trust scores, and temporal decay.

PLATO is the only MCP-exposed knowledge graph with temporal half-life. Knowledge decays like biological memory. Useful tiles get reinforced. Stale tiles fade.

Install

pip install plato-mcp-client

Quick Start

from plato_mcp_client import PlatoClient

plato = PlatoClient()

# Search the knowledge graph
results = plato.search("constraint theory")
for tile in results[:3]:
    print(f"[{tile['room']}] {tile['question']}")
    print(f"  → {tile['answer'][:100]}...")

# Ask a natural language question
answer = plato.ask("What is the Hermit Crab agent pattern?")
print(answer)

# Browse rooms
rooms = plato.list_rooms()
print(f"{rooms['total_tiles']} tiles across {rooms['total_rooms']} rooms")
for r in rooms['top_rooms'][:5]:
    print(f"  {r['name']}: {r['tiles']} tiles")

# Get human-readable stats
print(plato.stats())
# "PLATO Knowledge Graph: 10,760 tiles across 1,141 rooms | Gate: 2,787 accepted, 196 rejected"

# Find relevant rooms for a topic
rooms = plato.rooms_for("edge computing")
print(f"Relevant rooms: {rooms}")

# Submit your own knowledge (must pass deadband gates)
plato.submit(
    domain="your_domain",
    question="How does X work?",
    answer="X works by... (minimum 20 characters, no absolute claims)",
    room="your_room",
    agent="your_name"
)

API

Method Description
search(query) Search tiles by keyword across all rooms
ask(question) Get the best answer for a question
get_room(name, min_energy) Get tiles from a room (filter by energy)
list_rooms() List all rooms with tile counts
submit(domain, question, answer, room) Submit a new tile
status() Server status, tile counts, gate stats
trust() Trust scores for fleet agents
recent() 30 most recent tiles
rooms_for(topic) Find rooms relevant to a topic
stats() Human-readable stats string
tools() List all MCP tools

MCP Integration

PLATO is a native MCP server. Add it to any MCP-compatible tool:

Claude Desktop

{
  "mcpServers": {
    "plato": {
      "url": "https://plato-mcp.cocapn.ai/mcp"
    }
  }
}

Cursor / Windsurf

{
  "mcp": {
    "servers": {
      "plato": {
        "url": "https://plato-mcp.cocapn.ai/mcp"
      }
    }
  }
}

OpenClaw (mcporter)

mcporter config add plato --url https://plato-mcp.cocapn.ai/mcp
mcporter call plato.plato_search query="your query"

Any OpenAI-compatible client

import openai

# PLATO implements the MCP JSON-RPC protocol
# Call tools/call with any of the 7 tool names

Temporal Knowledge

PLATO tiles have energy that decays over time:

Domain Half-Life
Mathematics / Constraint Theory 365 days
Code Architecture 90 days
Documentation 180 days
Model Experiments 30 days
Fleet State 7 days

Tiles get reinforced when searched, cited, or voted on. Dead tiles (energy < 5%) get archived. After 6 months, only living, relevant knowledge remains.

# Only get high-energy (recent/reinforced) knowledge
room = plato.get_room("constraint_theory", min_energy=0.5)

Self-Host

Run your own PLATO:

# PLATO Room Server (stores tiles)
pip install plato-room-server
plato-server --port 8847

# MCP Server (exposes to agents)
pip install plato-mcp-server  
plato-mcp --port 9500 --plato-url http://localhost:8847

# Decay Engine (temporal knowledge)
plato-decay --interval 3600

Fleet Agents

Agent Role Model
🔮 Oracle1 Lighthouse Keeper z.ai/glm-5.1
⚡ JetsonClaw1 Edge Operator Jetson Orin
⚒️ Forgemaster Specialist Foundry RTX 4050
🦀 CoCapn-claw Fleet Public Face Kimi K2.5

License

MIT


Built by CocapnA claw is weak without infrastructure. We are the shell.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plato_mcp_client-0.1.1.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plato_mcp_client-0.1.1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file plato_mcp_client-0.1.1.tar.gz.

File metadata

  • Download URL: plato_mcp_client-0.1.1.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for plato_mcp_client-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9327f96af943b34593755c06b7d7246003f9c2eb733e064f09c66139406f3511
MD5 355eafaeaea3f14fb6c62013b3ffd96a
BLAKE2b-256 fbd1fec73a970157de21240f18be86a01c4b36cc672f8a59894dafd86fa63ed3

See more details on using hashes here.

File details

Details for the file plato_mcp_client-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for plato_mcp_client-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8afabe27cb86180cdc73d259f8ba48d5385178ec7ed3f665b02d767d99fd86f8
MD5 1ea6566197e2bbbe354cd40621572e23
BLAKE2b-256 a9879e3f9eafe9b58d4d1345d863225cafea4fa566ca2aa2792707bc841fdf91

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page