Config & scoping
Reference for the Telys MCP server — environment configuration, user vs project install scope, result wrapping, the error shape, and the exact tool set.
The Telys MCP server (telys mcp) is a JSON-RPC 2.0 server over stdio (protocol version 2025-06-18), spawned by your MCP client as a child process. Because the client launches it, everything the server needs — the memory store, the runtime, and the kernel — is set through the env block of the client config, not your shell. This page is the reference for that config, the install scope, result wrapping, and errors.
The tool set
The server registers 19 tools — a full replica of the SDK surface that makes sense for a text-mode LLM caller. Every mutating tool persists the store to disk after the operation.
Search & query:
telys_search,telys_search_lexical,telys_get,telys_repo_searchWrite & CRUD:
telys_add,telys_upsert,telys_update,telys_deleteCollection admin:
telys_create_collection,telys_list_collections,telys_stats,telys_ids,telys_countMaintenance:
telys_compact,telys_build_ivf,telys_build_lexical,telys_tuneRepo auto-index:
telys_index_repo,telys_workspace_info
The full table with arguments and return shapes is in MCP overview.
Environment
Set these in the client's env block. All are optional and default to your per-user store.
TELYS_MEMORY_PATH
~/.telys/memory
Directory holding the collections the tools read and write. Point separate clients at separate paths to isolate their memory.
TELYS_HOME
~/.telys
Root of all on-disk Telys state (creds, runtime, default memory/).
TELYS_RUNTIME
"" (auto)
Force native or local runtime selection.
TELYS_KERNEL
—
Force the native kernel library path (highest priority; AME_KERNEL is the legacy fallback).
See Environment variables for the full list and precedence.
Install scope: user vs project
telys mcp install writes the config block above into your client's configuration. --scope chooses which config file it edits — it does not change memory partitioning.
Writes to the client's user-level configuration, so the telys server is available in every project for that client:
Use this for a single personal memory store shared across your work.
Writes to a project-local configuration file in the current directory, so only that project sees the server:
Combine with a project-local TELYS_MEMORY_PATH in the env block to give each repository its own isolated memory.
--client accepts claude, cursor, codex, claude-desktop, qwen, or all (the default). See Install the MCP server and telys mcp.
Result wrapping
Every tool returns its JSON payload encoded into a single text content block, wrapped so a tool failure never crashes the server. The success envelope:
The text field is a JSON string — parse it to get the payload. Tool-specific payloads are documented on each tool's page.
Error shape
On failure the server returns the same envelope with isError: true and a single text block of the form <Type>: <message>:
Common causes:
See also
MCP overview — what the server is and when to use it.
Install the MCP server — one-command setup per client.
telys mcp — the CLI subcommand and its flags.
Environment & exit codes — environment reference for every command.
Last updated
Was this helpful?