Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

docs: update MCP server README and theming documentation

Steven Enamakel3a474ff98215
diff --git a/crates/openhuman-core/src/mcp/server/README.md b/crates/openhuman-core/src/mcp/server/README.md
index 684a1c175e..b213a68e9d 100644
--- a/crates/openhuman-core/src/mcp/server/README.md
+++ b/crates/openhuman-core/src/mcp/server/README.md
@@ -10,7 +10,7 @@ Opt-in **Model Context Protocol (MCP) server** that exposes a curated, security-
- Enforce `SecurityPolicy` per call: read tools require `ToolOperation::Read`; `agent.run_subagent` and the three write tools require `ToolOperation::Act`.
- Run write tools (`memory.store`, `memory.note`, `tree.tag`) through a dedicated write-dispatch + audit pipeline that records every attempt (success and rejection) to the MCP write-audit log.
- Serve bundled prompt assets (`IDENTITY.md`, `SOUL.md`, `USER.md`, and each built-in subagent's `prompt.md`) as static MCP resources under the `openhuman://prompts/...` URI scheme.
-- Provide two transports, newline-delimited JSON-RPC over stdio, and Axum-based Streamable HTTP + SSE with session-id + protocol-version handshakes and optional bearer auth.
+- Provide two transports: newline-delimited JSON-RPC over stdio, and Axum-based Streamable HTTP + SSE with session-id and protocol-version handshakes and optional bearer auth.
- Capture client provenance from `initialize` `clientInfo.name` into a per-session `source_type` (e.g. `mcp:claude-desktop`) used for audit attribution.
## Key files
@@ -76,14 +76,14 @@ No `store.rs`. The only durable side effect is the **MCP write-audit log**, writ
## Dependencies
- `crate::core::all`: `try_invoke_registered_rpc`, `schema_for_rpc_method`, `validate_params`: dispatch MCP tool calls into the registered core RPC layer and validate params against controller schemas.
-- `crate::core::logging` (`CliLogDefault`, `init_for_cli_run`), install the stderr tracing subscriber for the MCP subprocess.
-- `crate::config` (`Config`, `rpc::load_config_with_timeout`, `McpAuthConfig`/`McpClientIdentityConfig` in tests), load config for policy/searxng gating and per-call config.
-- `crate::security` (`SecurityPolicy`, `ToolOperation`), enforce read/act autonomy policy per tool call.
-- `crate::agent` (`Agent`, `registry::agents::BUILTINS`, `harness::AgentDefinitionRegistry`), build the orchestrator agent for `core.list_tools`/`core.tool_instructions`, list/run subagents, and cross-check the resource catalog.
+- `crate::core::logging` (`CliLogDefault`, `init_for_cli_run`): installs the stderr tracing subscriber for the MCP subprocess.
+- `crate::config` (`Config`, `rpc::load_config_with_timeout`, `McpAuthConfig`/`McpClientIdentityConfig` in tests): loads config for policy/searxng gating and per-call config.
+- `crate::security` (`SecurityPolicy`, `ToolOperation`): enforces read/act autonomy policy per tool call.
+- `crate::agent` (`Agent`, `registry::agents::BUILTINS`, `harness::AgentDefinitionRegistry`): builds the orchestrator agent for `core.list_tools`/`core.tool_instructions`, lists/runs subagents, and cross-checks the resource catalog.
- `tinyinference_llm::tool::ToolSchema`: directly materialize model-visible tool declarations for `core.tool_instructions`.
- `tinyagents_harness::tool::prompt_tool_instructions`: render the markdown tool-use instructions block for `core.tool_instructions`.
-- `crate::tools` (`SEARXNG_MAX_RESULTS`, `normalize_categories`), SearXNG bounds + category normalization for `searxng_search`.
-- `crate::mcp::audit` (`record_write`, `NewMcpWriteRecord`, list/query helpers in tests), durable write-audit log.
+- `crate::tools` (`SEARXNG_MAX_RESULTS`, `normalize_categories`): SearXNG bounds and category normalization for `searxng_search`.
+- `crate::mcp::audit` (`record_write`, `NewMcpWriteRecord`, list/query helpers in tests): durable write-audit log.
- `crate::mcp::http_client::McpHttpClient`: round-trip test harness for the HTTP transport (test-only).
- External crates: `axum`/`tokio`/`tokio-stream` (HTTP+SSE), `serde_json`, `uuid`, `sha2`/`hex` (session-id redaction, slug fallback hash), `chrono` (audit timestamps).
diff --git a/gitbooks/developing/theming.md b/gitbooks/developing/theming.md
index 3dcc586ee0..a4f8a3aeb2 100644
--- a/gitbooks/developing/theming.md
+++ b/gitbooks/developing/theming.md
@@ -11,11 +11,13 @@ This page is the contributor reference for the token system.
font-role vars (`--font-title/heading/body/mono/serif`). The Light palette
lives in `:root`; the Dark palette in `:root.dark`.
-2. **Tailwind wiring**: `app/tailwind.config.js` exposes the tokens as utility
- colours via `rgb(var(--token) / <alpha-value>)`. The `<alpha-value>` form is
- what keeps opacity modifiers working (`bg-surface/50`, `bg-primary-500/10`).
- Channel format is mandatory for this reason: never store a token as a hex
- string.
+2. **Tailwind wiring**: the app runs Tailwind v4, so there is no
+ `tailwind.config.js`. The `@theme` block in `app/src/index.css` exposes each
+ token as a utility colour (`--color-surface: rgb(var(--surface));`, and so
+ on), and Tailwind's opacity-modifier support handles `bg-surface/50` and
+ `bg-primary-500/10` without any extra templating. Channel format (a
+ space-separated RGB triple, never a hex string) is what makes that work: a
+ hex string can't be composed with an opacity modifier this way.
3. **Runtime application**: `app/src/providers/ThemeProvider.tsx` resolves the
active `Theme` and writes its overrides as inline `--token` / `--font-<role>`