@vectros-ai/mcp-server 0.18.2 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/README.md +83 -27
- package/dist/cli-http.js +1169 -193
- package/dist/cli-http.js.map +1 -1
- package/dist/cli-http.mjs +1169 -193
- package/dist/cli-http.mjs.map +1 -1
- package/dist/cli.js +1167 -191
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +1167 -191
- package/dist/cli.mjs.map +1 -1
- package/dist/index.d.mts +6 -4
- package/dist/index.d.ts +6 -4
- package/dist/index.js +1167 -191
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1167 -191
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -53,8 +53,10 @@ declare function createLogger(ctx?: LogContext): Logger;
|
|
|
53
53
|
* audit trail)
|
|
54
54
|
* 0.41.0 SDK adoption: record_batch_get (POST /v1/records/batch-get, live since 0.41.0)
|
|
55
55
|
* 0.43.0 SDK adoption: record_batch_write (POST /v1/records/batch, live since 0.43.0)
|
|
56
|
+
* 0.49.0 SDK adoption: agent_list, agent_run, run_get (stored agents: GET /v1/agents,
|
|
57
|
+
* POST /v1/runs, GET /v1/runs/{id})
|
|
56
58
|
*/
|
|
57
|
-
declare const TOOL_NAMES: readonly ["hybrid_search", "record_query", "record_get", "record_batch_get", "record_create", "record_batch_write", "record_update", "record_delete", "rag_ask", "document_ask", "list_schemas", "document_get", "document_query", "document_update", "document_delete", "folder_query", "folder_create", "folder_update", "folder_delete", "current_identity", "document_ingest", "lookup_principal", "version_history"];
|
|
59
|
+
declare const TOOL_NAMES: readonly ["hybrid_search", "record_query", "record_get", "record_batch_get", "record_create", "record_batch_write", "record_update", "record_delete", "rag_ask", "document_ask", "list_schemas", "document_get", "document_query", "document_update", "document_delete", "folder_query", "folder_create", "folder_update", "folder_delete", "current_identity", "document_ingest", "lookup_principal", "version_history", "agent_list", "agent_run", "run_get"];
|
|
58
60
|
type ToolName = (typeof TOOL_NAMES)[number];
|
|
59
61
|
|
|
60
62
|
/**
|
|
@@ -100,7 +102,7 @@ interface VectrosMCPServerOptions {
|
|
|
100
102
|
logger?: Logger;
|
|
101
103
|
/**
|
|
102
104
|
* Which transport this server will be wired up with. Optional; only
|
|
103
|
-
* affects tool behavior that depends on
|
|
105
|
+
* affects tool behavior that depends on local filesystem access
|
|
104
106
|
* (currently `document_ingest`'s filePath mode is stdio-only). The
|
|
105
107
|
* CLI entry points set this — `cli.ts` passes 'stdio', the v0.2
|
|
106
108
|
* `cli-http.ts` passes 'http'. Programmatic embedders default to
|
|
@@ -110,7 +112,7 @@ interface VectrosMCPServerOptions {
|
|
|
110
112
|
/**
|
|
111
113
|
* If true (default in v0.2), perform a GET /v1/ping check during
|
|
112
114
|
* `connect()` to fail-fast on bad credentials BEFORE the MCP
|
|
113
|
-
* client sends its first tool call. The default is safe —
|
|
115
|
+
* client sends its first tool call. The default is safe — callers
|
|
114
116
|
* who don't want the network roundtrip on startup can set false,
|
|
115
117
|
* but the trade-off is "credential failures surface mid-tool-call
|
|
116
118
|
* rather than at startup."
|
|
@@ -149,7 +151,7 @@ declare class VectrosMCPServer {
|
|
|
149
151
|
*
|
|
150
152
|
* If `validateOnStart` (default true) is enabled, performs a
|
|
151
153
|
* GET /v1/ping check BEFORE wiring the transport. On failure,
|
|
152
|
-
* throws —
|
|
154
|
+
* throws — your MCP client sees a startup error instead
|
|
153
155
|
* of a confusing "tools work but the first call 401s" experience.
|
|
154
156
|
*/
|
|
155
157
|
connect(transport: Transport): Promise<void>;
|
package/dist/index.d.ts
CHANGED
|
@@ -53,8 +53,10 @@ declare function createLogger(ctx?: LogContext): Logger;
|
|
|
53
53
|
* audit trail)
|
|
54
54
|
* 0.41.0 SDK adoption: record_batch_get (POST /v1/records/batch-get, live since 0.41.0)
|
|
55
55
|
* 0.43.0 SDK adoption: record_batch_write (POST /v1/records/batch, live since 0.43.0)
|
|
56
|
+
* 0.49.0 SDK adoption: agent_list, agent_run, run_get (stored agents: GET /v1/agents,
|
|
57
|
+
* POST /v1/runs, GET /v1/runs/{id})
|
|
56
58
|
*/
|
|
57
|
-
declare const TOOL_NAMES: readonly ["hybrid_search", "record_query", "record_get", "record_batch_get", "record_create", "record_batch_write", "record_update", "record_delete", "rag_ask", "document_ask", "list_schemas", "document_get", "document_query", "document_update", "document_delete", "folder_query", "folder_create", "folder_update", "folder_delete", "current_identity", "document_ingest", "lookup_principal", "version_history"];
|
|
59
|
+
declare const TOOL_NAMES: readonly ["hybrid_search", "record_query", "record_get", "record_batch_get", "record_create", "record_batch_write", "record_update", "record_delete", "rag_ask", "document_ask", "list_schemas", "document_get", "document_query", "document_update", "document_delete", "folder_query", "folder_create", "folder_update", "folder_delete", "current_identity", "document_ingest", "lookup_principal", "version_history", "agent_list", "agent_run", "run_get"];
|
|
58
60
|
type ToolName = (typeof TOOL_NAMES)[number];
|
|
59
61
|
|
|
60
62
|
/**
|
|
@@ -100,7 +102,7 @@ interface VectrosMCPServerOptions {
|
|
|
100
102
|
logger?: Logger;
|
|
101
103
|
/**
|
|
102
104
|
* Which transport this server will be wired up with. Optional; only
|
|
103
|
-
* affects tool behavior that depends on
|
|
105
|
+
* affects tool behavior that depends on local filesystem access
|
|
104
106
|
* (currently `document_ingest`'s filePath mode is stdio-only). The
|
|
105
107
|
* CLI entry points set this — `cli.ts` passes 'stdio', the v0.2
|
|
106
108
|
* `cli-http.ts` passes 'http'. Programmatic embedders default to
|
|
@@ -110,7 +112,7 @@ interface VectrosMCPServerOptions {
|
|
|
110
112
|
/**
|
|
111
113
|
* If true (default in v0.2), perform a GET /v1/ping check during
|
|
112
114
|
* `connect()` to fail-fast on bad credentials BEFORE the MCP
|
|
113
|
-
* client sends its first tool call. The default is safe —
|
|
115
|
+
* client sends its first tool call. The default is safe — callers
|
|
114
116
|
* who don't want the network roundtrip on startup can set false,
|
|
115
117
|
* but the trade-off is "credential failures surface mid-tool-call
|
|
116
118
|
* rather than at startup."
|
|
@@ -149,7 +151,7 @@ declare class VectrosMCPServer {
|
|
|
149
151
|
*
|
|
150
152
|
* If `validateOnStart` (default true) is enabled, performs a
|
|
151
153
|
* GET /v1/ping check BEFORE wiring the transport. On failure,
|
|
152
|
-
* throws —
|
|
154
|
+
* throws — your MCP client sees a startup error instead
|
|
153
155
|
* of a confusing "tools work but the first call 401s" experience.
|
|
154
156
|
*/
|
|
155
157
|
connect(transport: Transport): Promise<void>;
|