Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

telys mcp

Reference for telys mcp — run the stdio MCP server (with optional traffic auditing), or install, uninstall, and inspect its configuration in Claude, Cursor, Codex, Claude Desktop, and Qwen Code.

Run Telys as an MCP (Model Context Protocol) server so an assistant can search and write your on-device memory, and manage its configuration in supported clients. The server speaks JSON-RPC 2.0 over stdio (protocol version 2025-06-18) and exposes 19 tools over a single memory store.

Synopsis

telys mcp [--path PATH] [--workspace DIR] [--persistent-index] [--monitor] [--monitor-log PATH]   # run the stdio server
telys mcp install   [--name NAME] [--client CLIENT] [--scope SCOPE]
telys mcp uninstall [--name NAME] [--client CLIENT] [--scope SCOPE]
telys mcp status    [--name NAME]

telys mcp (run the server)

Bare telys mcp runs the server in the foreground over stdio. Clients launch it themselves; you rarely run it by hand except to smoke-test.

Flag
Value
Default
Meaning

--path

dir

$TELYS_MEMORY_PATH or ~/.telys/memory

Memory store the server operates on.

--workspace

dir

$TELYS_MCP_WORKSPACE, else none

Repo root the auto-indexer maps for telys_repo_search. When unset, the LLM must pass path per call to telys_index_repo / telys_repo_search.

--persistent-index

flag

off

Persist the auto-index fingerprint cache under the memory dir so a restart skips re-embedding an unchanged repo.

--monitor

flag

off

Append every JSON-RPC request/response to <memory dir>/mcp-monitor.jsonl — audit which tools the assistant host actually calls.

--monitor-log

file

<memory dir>/mcp-monitor.jsonl

Where --monitor writes (implies --monitor).

telys mcp                      # serve the default memory store over stdio
telys mcp --path ./project-memory
telys mcp --workspace ~/src/myrepo   # map a repo for telys_repo_search
telys mcp --monitor                  # audit host tool usage to mcp-monitor.jsonl

Each monitor line is JSON: {"ts": <unix>, "dir": "in"|"out", "msg": <json-rpc message>}. Writes are best-effort — auditing never breaks the server, and the served byte stream is unchanged.

It exposes 19 tools — a full replica of the SDK's text surface: CRUD, filtered queries, lexical search, maintenance, and a repo auto-indexer (full list in the MCP overview) — and uses the on-device multigram lexical embedder by default. where filters accept a single-key equality object only.

telys mcp install

Write launcher configuration so a client starts telys mcp automatically.

Flag
Value
Default
Meaning

--name

string

telys

Server name to register in the client.

--client

claude | cursor | codex | claude-desktop | qwen | all

all

Which client(s) to configure.

--scope

user | project

user

Configure the current user globally, or just this project.

Registers a telys server in every supported client found on this machine.

Writes project-scoped config, available only inside the current project.

Registers the server under a custom name — useful when you run more than one store.

telys mcp uninstall

Remove the configuration written by install. Match the same --name, --client, and --scope you installed with.

telys mcp status

Report where the server is currently configured.

Flag
Value
Default
Meaning

--name

string

telys

Server name to look for.

The MCP server reads and writes $TELYS_MEMORY_PATH (or ~/.telys/memory), and the repo auto-indexer maps $TELYS_MCP_WORKSPACE (or --workspace). For an isolated per-client store, install with a distinct --name and launch it with --path.

Exit codes

Code
Meaning

0

Server ran, or the install/uninstall/status action succeeded.

1

Runtime not available, or the requested client was not found.

2

Usage error (an invalid --client or --scope).

See also

Last updated

Was this helpful?