1. Conduid
  2. Developer Tools
  3. Chaosmith Core
MCP server · Developer Tools

Chaosmith Core

The central MCP server of Chaosmith — a native, self-contained intelligence core that indexes, embeds, and orchestrates everything inside your lab fortress.

Unclaimed AGPL-3.0 last commit a year ago devtools
51Fair

Scored 5 months ago · breakdown

About Chaosmith Core

Chaosmith Core is an MCP server published by CryingSurrogate in the Developer Tools category: the central MCP server of Chaosmith — a native, self-contained intelligence core that indexes, embeds, and orchestrates everything inside your lab fortress.

The repository has 1 stars and 0 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/CryingSurrogate/chaosmith-core

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 Chaosmith Core

Powered by Claude · Grounded in docs

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

Security checks

Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

Chaosmith Core

vibe-coding license self_hosted

Chaosmith Core is the central Model Context Protocol (MCP) daemon — the brainstem of the Chaosmith organism. It indexes your reality: walks files, embeds meaning, and serves structured context to Letta-style agents. No cloud, no telemetry, no simulation — only native daemons and verified tool results.


🔩 Architecture

Component Role
SurrealDB Memory cortex — stores graphs, vectors, and facts.
Core MCP (main.go) Brainstem — binds config, SurrealDB, and MCP tools.
Embedding Executor External HTTP service (OpenAI-compatible) for vector generation.
Indexer Engine (internal/indexer) Tokenizes via tiktoken, writes NDJSON evidence, upserts Surreal records.
Run Context (internal/runctx) Generates deterministic run_ids and artifact trees.
Executors (planned) Limbs — offload embedding, graph analysis, or workspace crawling.

Everything runs as native daemons. No containers. No Kubernetes. No third-party brokers.


⚙️ Core Tool Packs

  • indexer — deterministic workspace scanning, chunking, embedding.
  • context — vector and text search utilities for RAG pipelines.
  • lists — minimal SurrealDB-backed workspace notes.
  • graph (planned) — dependency and symbol relations.
  • exec (planned) — remote command dispatch via NATS.

All tools expose Acceptance Test (AT) evidence as required by PCS/INST/1.0. If the evidence is missing, the run is invalid — by design.


🛰️ Streamable HTTP Endpoint

Chaosmith Core serves MCP over Streamable HTTP by default. Build and launch the daemon:

go build -o bin/chaosmith-mcp .
./bin/chaosmith-mcp --config etc/centralmcp.toml --listen :9878
# -> Streamable HTTP active on :9878/mcp

Available Tools

  • index_workspace_scan — walk workspace, store directory/file rows, emit artifacts under /var/lib/chaosmith/artifacts/<run_id>/.
  • index_workspace_embed — chunk and embed text, upsert vector_chunk rows.
  • index_workspace_all — combine scan + embed in one deterministic pass.
  • workspace_list — list registered workspaces.
  • workspace_tree — return directory and file tree for a workspace.
  • workspace_find_file — find files in a workspace by exact/partial path.
  • workspace_search_text — find exact text within workspace files.
  • file_search_text — find exact text within a specific file.
  • file_vector_search — vector similarity search within a file.
  • workspace_vector_search — vector similarity search across a workspace.
  • workspace_register — upsert a workspace bound to an existing node.
  • node_register, node_list — manage/list nodes.
  • workspace_read_file — read a file slice by character range; supports hex mode for binary-safe reads.
  • term_exec, term_pty — controlled host command execution.

Each call produces a run report (run_id, AT pass/fail, artifact paths, risks) per PCS/INST/1.0.


🔌 Optional stdio Bridge

For Letta or local sidecar agents, you can run both transports:

./bin/chaosmith-mcp --stdio --listen :9878

Stdio sessions share the same SurrealDB and tool registry as HTTP.


🧠 Philosophy

Freedom. Mastery. Chaos. Artistry.

Chaosmith Core replaces cloud dependence with local sovereignty. Every vector, every file, every thought — stored and verified on your own iron.


🧰 Quickstart

Prerequisites

  • Go 1.25+
  • SurrealDB 2.2+
  • Embedding service speaking OpenAI-compatible API
  • File system access to target workspaces

Configuration

etc/centralmcp.toml defines connection and embedding parameters:

surreal_url  = "http://127.0.0.1:8000"
surreal_user = "root"
surreal_pass = "root"
surreal_ns   = "chaos"
surreal_db   = "core"

embed_url    = "http://127.0.0.1:1234/v1/embeddings"
embed_model  = "text-embedding-nomic-embed-text-v1.5"
effective_dim = 768
artifact_root = "var/lib/chaosmith/artifacts"

Override with environment variables (SURREAL_URL, EMBED_URL, etc.) or CHAOSMITH_CONFIG.

Run

go run . --config etc/centralmcp.toml --listen :9878 --stdio

Artifacts appear under <artifact_root>/<run_id>/ as NDJSON: files.ndjson, dirs.ndjson, vectors.ndjson.


🔍 Local Search Harness

Run the workspace search tool directly without MCP:

go run ./cmd/test_workspace_search --config etc/centralmcp.toml

🧮 MCP Tools Summary

Category Tools
Indexing index_workspace_scan, index_workspace_embed, index_workspace_all
Inventory node_register, node_list, workspace_register, workspace_list, workspace_tree, workspace_find_file
Search workspace_search_text, file_search_text, file_vector_search, workspace_vector_search
Content workspace_read_file
Terminal term_exec, term_pty

All facts are derived from executors or SurrealDB — never hallucination.


🧾 License

Chaosmith Core is licensed under the GNU Affero General Public License v3.0. If you deploy it as a network service, you must make your modified source available. Commercial or closed-source use requires a separate license agreement.

README fetched from the repository 6 days ago. The original is authoritative.

Questions

About Chaosmith Core

How do I install Chaosmith Core?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Chaosmith Core safe to use with an AI agent?

Its trust score is 51 out of 100 (fair). It passes 5 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Chaosmith Core still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.