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

Cursor & VS Code

Add the Telys MCP server to Cursor or VS Code so the editor's AI agent can search and write on-device memory while you work.

Cursor and VS Code both speak MCP over stdio, so the same telys mcp server drops into either — only the config file and its shape differ. telys mcp install configures Cursor; configure VS Code by hand.

Cursor reads MCP servers from ~/.cursor/mcp.json (all projects) or .cursor/mcp.json inside a project (project scope).

Let the installer write it:

telys mcp install --client cursor                 # user scope (~/.cursor/mcp.json)
telys mcp install --client cursor --scope project # this repo (./.cursor/mcp.json)

Or add the block yourself. Set TELYS_MEMORY_PATH only for a store other than ~/.telys/memory:

.cursor/mcp.json
{
  "mcpServers": {
    "telys": {
      "command": "telys",
      "args": ["mcp"],
      "env": {
        "TELYS_MEMORY_PATH": "/Users/you/.telys/memory"
      }
    }
  }
}

Reload from Settings → MCP (or restart Cursor). The telys server appears with its 19 tools.

VS Code uses a different key and requires an explicit transport type. Put it in .vscode/mcp.json for a workspace, using the servers object with "type": "stdio":

.vscode/mcp.json
{
  "servers": {
    "telys": {
      "type": "stdio",
      "command": "telys",
      "args": ["mcp"],
      "env": {
        "TELYS_MEMORY_PATH": "/Users/you/.telys/memory"
      }
    }
  }
}

The installer does not target VS Code, so add this file yourself. Save it, then start the server from the Start action VS Code shows above the entry, or reload the window. The tools become available to the agent in the Chat view.

Reload after editing

Both editors read the config when the MCP server starts. After any change, reload — Cursor from Settings → MCP, VS Code with the Start/Restart action on the entry (or Developer: Reload Window) — so the editor respawns telys mcp.

What you will see

The telys server appears in the editor's MCP panel with 19 tools — search and query, CRUD, collection admin, maintenance, and a repo auto-indexer (full list in the MCP overview). Drive it from the agent in natural language:

The agent calls telys_search and summarizes the returned hits — ids, similarity scores, and metadata. If the collection does not exist yet, ask the agent to add a few notes first — telys_add creates it on the fly.

No results or a missing server usually means the runtime is not verified or the command path is wrong. Run telys runtime verify and see MCP client won't connect.

Next steps

Last updated

Was this helpful?