1. Conduid
  2. Files
  3. SCP
MCP server · Files

SCP

SCP — Spatial Context Protocol: any LLM, any body, zero training. Muscle-first embodied AI.

34Low

Scored 4 months ago · breakdown

About SCP

SCP is an MCP server in the Files category: sCP — Spatial Context Protocol: any LLM, any body, zero training. Muscle-first embodied AI. It has been installed 0 times through Conduid.

Install

Clone
git clone https://github.com/srk0102/SCP

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about SCP

Powered by Claude · Grounded in docs

I know everything about SCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • ·Scoped permissionsNot checked yet.

README


The problem

Every LLM-controlled body today is welded to one environment. Change the body and you rebuild everything: the prompt, the tool schema, the cache, the plumbing. There was no open protocol for it.

The insight

Let the body run at 60Hz. Push events up only when it cannot answer locally. The brain teaches. The muscle remembers.

Session Brain calls Cost (Nova Micro)
1 27 $0.0270
2 4 $0.0040
3 0 $0.0000

Familiar situations are handled locally. Novel situations wake the brain. Cost is proportional to novelty.

Install

npm install scp-protocol          # one body
npm install @srk0102/plexa        # many bodies under one brain

Quick start (5 minutes)

const { SCPBody, PatternStore } = require("scp-protocol")
const { OllamaBridge } = require("scp-protocol/bridges/ollama")

class Patrol extends SCPBody {
  static bodyName = "patrol"
  static tools = {
    advance: { description: "move forward", parameters: { speed: { type: "number", min: 0, max: 1, required: true } } },
    halt:    { description: "stop", parameters: {} },
  }
  async advance({ speed }) { console.log(`advancing at ${speed}`) }
  async halt()             { console.log("halted") }
}

const body = new Patrol({
  patternStore: new PatternStore({ featureExtractor: (e) => ({ kind: e.kind }) }),
})

// Same situation twice. Second time is cached.
const entity = { kind: "obstacle" }
let hit = body.decideLocally(entity)
if (!hit) {
  const bridge = new OllamaBridge({ model: "llama3.2" })
  // body.learnFromBrain(entity, "halt")   // pretend LLM said halt
  body.learnFromBrain(entity, "halt")
  await body.invokeTool("halt")
} else {
  await body.invokeTool(hit.decision)
}

// Next tick, same entity:
hit = body.decideLocally(entity)
console.log(hit)   // { decision: "halt", confidence: 0.05, source: "exact" }

Expected output:

halted
{ decision: 'halt', confidence: 0.05, source: 'exact' }

When to use what

You have Install
One body npm install scp-protocol
Several bodies, one brain npm install @srk0102/plexa

Plexa is built on scp-protocol. Anything an SCP body does inside Plexa works identically outside.

Not just robotics

SCP works for any system that runs continuously and pushes events:

Game NPCs   Robot arms   Web servers   Log monitors   API gateways   Any loop

If it ticks and emits events, SCP connects it to any LLM. See examples/web-backend in the docs.

Adapters tested

Adapter Physics Cache rate
Missile Defense Canvas 2D ~100%
Self-Driving Car Canvas 2D ~90%
10-Lane Highway Canvas 2D ~90%
MuJoCo Cart-Pole Real 3D physics 89%
MuJoCo Ant Real 3D physics 85%

Five adapters, two languages (JS and Python), one protocol.

Docs

Full documentation: https://srk-e37e8aa3.mintlify.app

Pages cover the three-layer architecture, the pattern store and adaptive memory, bridges, the adapter contract, the full API, and four complete walkthroughs (cart-pole, two bodies, web backend, and more).

License

MIT

README mirrored from the source repository 4 months ago. The original is authoritative.

Questions

About SCP

How do I install SCP?

Run git clone https://github.com/srk0102/SCP, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is SCP safe to use with an AI agent?

Its trust score is 34 out of 100 (low). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is SCP still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.