# vectros-ai/vectros-mcp-server [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/vectros-ai/vectros-mcp-server  
**GitHub Stars:** 2  
**npm Downloads (last month):** 1253  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-server-166

## Description
Typed record store + hybrid search over MCP: deterministic lookups + semantic memory, per-customer.

## Tools
Capabilities this server exposes over MCP:

- **hybrid_search** — Hybrid BM25 + dense search across the tenant's indexed content (records + documents). Narrow by ownership (`scope` for one dimension, `scopeFilters` for several at once — e.g. one client within one org), folder, type, metadata filters, a created date window, and keyword-precision (`textMode`) / rel…
- **rag_ask** — Ask a question grounded against the indexed corpus. Scope retrieval through `search` (ownership — `search.scope` or multi-dimension `search.scopeFilters` — / folder / type / metadata filters / date window) and steer generation (`instructions`, and `temperature` for the models that accept one). Stre…
- **document_ask** — Ask a question grounded against a single document. Same aggregation + progress-notification shape as `rag_ask`, including the optional `providerAlias`.
- **list_schemas** — List the record-schema catalog the credential can see (filter by `surface` or resolve one by `recordType`). Makes `record_query` / `record_create` discoverable.
- **record_query** — Query records by lookup field — equality (`value`), range, or prefix, with `asc`/`desc` ordering and an optional `sortFrom`/`sortTo` window — or list mode, choosing one of `type`, `folderId` (every record in a folder, any type — combine with `type` to narrow), or `recent` (the account-wide recently…
- **record_get** — Fetch one record by id, including its full payload (large payloads truncated to protect the agent context window).
- **record_batch_get** — Fetch several records by id (1-100) in one call, each with its full payload. Returns `missingIds` for any requested id you can't access, since the API silently omits them.
- **record_create** — Create a record of a given type; idempotent by `externalId`; optional per-record `indexMode`.
- **record_batch_write** — Create or upsert up to 50 records in one call, instead of N `record_create` round-trips. Items may mix types and are validated and scope-checked individually. `atomicity: all_or_nothing` commits them as one transaction (nothing is written if any item fails); the default `best_effort` writes each in…
- **record_update** — Patch a record's payload (deep-merged; `null` deletes a key); optimistic concurrency via `expectedVersion`.
- **record_delete** — Permanently delete a record by id (leaves a tombstone).
- **document_ingest** — Create a document — inline text body OR local file upload (file mode is stdio-transport only). Idempotent by `externalId`; optional `schemaId` + `payload` for a typed, lookup-queryable document. An `externalId` with no `schemaId` is refused by platform 0.46.0 and later unless you also pass `confirm…
- **document_query** — Query documents by lookup field (equality / range / prefix, with `asc`/`desc` ordering) or list mode (filter by `type`, folder and ownership). The `type` list filter applies page by page: a page can be short or empty while `nextCursor` is set, so keep paging before concluding there are none, or use…
- **document_get** — Fetch a document by id (metadata incl. lifecycle `status` + processing `indexStatus`; optional text truncated at ~8K tokens; optional presigned `downloadUrl` for file-backed documents — always forces a download, never inline rendering, regardless of file type).
- **document_update** — Patch a document's metadata / typed payload (deep-merged); archive/restore via `status` (`ARCHIVED` soft-retracts from search, `ACTIVE` restores); optimistic concurrency via `expectedVersion`.
- **document_delete** — Permanently delete a document by id (removes it and its indexed content).
- **folder_query** — Get a folder by id, or list folders (a parent's children for tree navigation, or a flat tenant list; paginated via `nextCursor`).
- **folder_create** — Create a folder.
- **folder_update** — Update a folder's name / description / ownership (merge-patch; optimistic concurrency via `expectedVersion`; folders cannot be re-parented).
- **folder_delete** — Delete a folder. It must be empty first — no documents, no records, and no sub-folders — and a context root is protected outright.
- **current_identity** — Describe the credential: tenantId, environment, principalType, principalKeyId, principalLabel, and (for scoped credentials) allowedActions + dataScope. Does **not** include `granted_capabilities` (`member-lifecycle` / `forensic-read` / `context-directory-read` / `delegate-mint`, as of API 0.40.0, j…
- **lookup_principal** — Resolve a user, or an identity entity in a namespace (`org`/`client`/any namespace you registered), by your own `externalId` (→ its Vectros UUID, for the ownership filters) or by a schema lookup field. Pass `contextId` to target a specific app context for a context-owned namespace. Read-only.
- **version_history** — Read the audit/version trail (CREATE/UPDATE/DELETE, with actor + diff) for one record or document. Read-only.
- **agent_list** — List the stored agents (running one needs `runs:c`), as each one's `id`, `name`, `description`, `latestVersion` and `status` (paginated via `nextCursor`; retired and purged agents only with `includeRetired`), in your credential's own app context, the one `agent_run` runs in. Needs `runs:c` or `agen…
- **agent_run** — Run a stored agent on one `input` and return its answer: `{ runId, agentId, agentVersion, status, terminal, reason, errorCode, text, toolCalls, charged }`; `charged` carries the run's charge and refund in milli-cents (1 cent = 1000). `maxInferenceCents` caps the run's model cost (it can only lower…
- **run_get** — Read one run by id: `status`, `terminal`, `reason`, `errorCode`, its tool calls (never their arguments or results) and `usage`. Use it when `agent_run` returns `terminal: false`. Needs `runs:r`, which `runs:c` does not include. Read-only.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "vectros-mcp-server": {
    "command": "npx",
    "args": ["-y","@vectros-ai/mcp-server"],
    "env": {
      "VECTROS_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `VECTROS_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What vectros-ai/vectros-mcp-server does

vectros-ai/vectros-mcp-server connects MCP-compatible AI clients to Vectros, a backend that combines typed records, document storage, indexing, search, and stored-agent inference. It gives an agent access to both structured and unstructured tenant data while retaining the access policy associated with its Vectros credential.

The server covers several related workflows: retrieving records and documents by ID, querying them by lookup fields, creating and updating data, organizing content into folders, and removing records or documents. It also supports semantic and keyword-oriented retrieval across indexed records and documents, question answering over the corpus or an individual document, and execution of agents stored in the caller's application context.

## How it works

The server is normally launched as a stdio process with:

```bash
npx -y @vectros-ai/mcp-server
```

MCP clients invoke the exposed tools, while Vectros enforces tenant isolation and the credential's permitted actions and data scope. Search can be narrowed by ownership dimensions, folders, types, metadata, and creation-date ranges. Record and document writes support features such as external-ID idempotency, optimistic concurrency, deep-merge updates, and batched operations.

`rag_ask` retrieves supporting material from the indexed corpus before generating an answer. `document_ask` performs the same style of grounded interaction against one document. `agent_run` executes a stored agent and returns run status, output, tool-call information, and charge or refund details; `run_get` can inspect an unfinished run.

## Setup and configuration

The server accepts the `VECTROS_API_KEY` environment variable for direct configuration. A typical client entry uses `npx`, the package name, and that variable:

```json
{
  "command": "npx",
  "args": ["-y", "@vectros-ai/mcp-server"],
  "env": { "VECTROS_API_KEY": "ssk_live_..." }
}
```

The Vectros CLI can simplify setup with `npx -y @vectros-ai/cli bootstrap`. It signs the developer in, creates a least-privilege scoped key, and merges the server entry into supported client configuration. A globally installed CLI can also allow the server to resolve a bootstrapped key from its local keyring instead of placing the key in the MCP configuration.

Manual configuration is documented for Claude Desktop, Cursor, VS Code, Claude Code, Cline, Continue, and Codex. Restart the client after adding or changing the MCP entry.

## Tools and capabilities

- Search indexed records and documents with hybrid BM25 and dense retrieval.
- Ask corpus-grounded or single-document questions with retrieval filters and generation controls.
- Query, retrieve, create, batch-write, update, and delete typed records.
- Ingest, query, retrieve, update, archive, restore, and delete documents.
- List schemas and resolve principals for ownership-related lookups.
- Create, browse, update, and delete folders, subject to empty-folder and protected-root rules.
- Read version history containing operations, actors, and diffs.
- List and run stored agents, then inspect runs that have not reached a terminal state.

## Limitations and notes

The server itself does not call the web. A stored agent may use `web_fetch` only when its definition includes that tool and the tenant owner has enabled it; runs requiring `web_search` are refused while web search is disabled. Agent-facing document ingestion uses inline text, although a jailed local-file upload is available with the stdio transport.

Bootstrap requires a developer-portal sign-in or bridge token, so provisioning is not fully unattended. Keep API keys out of committed MCP configuration and other shared files. Audit history is tamper-evident through a state-continuity chain, but it is not continuously verified against every possible out-of-band alteration.

_Full upstream README: https://allmcps.com/mcp/mcp-server-166/readme_

