vector-mcp 3.3.7__tar.gz → 3.3.10__tar.gz
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.
- {vector_mcp-3.3.7/vector_mcp.egg-info → vector_mcp-3.3.10}/PKG-INFO +139 -103
- vector_mcp-3.3.7/PKG-INFO → vector_mcp-3.3.10/README.md +131 -138
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/pyproject.toml +8 -8
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/tests/conftest.py +1 -1
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/tests/test_chromadb_data_dir.py +4 -4
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/tests/test_database_transport_security.py +2 -4
- vector_mcp-3.3.10/tests/test_error_handling.py +24 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/tests/test_identity_scoped_resources.py +1 -1
- vector_mcp-3.3.10/tests/test_mcp_server.py +322 -0
- vector_mcp-3.3.10/tests/test_ontology_one_schema.py +59 -0
- vector_mcp-3.3.10/tests/test_protocol_compliance.py +155 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/tests/test_secure_backends.py +7 -9
- vector_mcp-3.3.10/tests/test_session_audience.py +13 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/tests/test_store_extras.py +2 -2
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/tests/test_vector_api.py +5 -5
- vector_mcp-3.3.10/tests/test_vector_search.py +37 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/tests/test_vectordbs_mock.py +1 -3
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/__init__.py +0 -4
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/backend_policy.py +1 -3
- vector_mcp-3.3.10/vector_mcp/connector_contracts.py +297 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/doctor.py +1 -3
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/mcp_config.json +2 -2
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/mcp_server.py +219 -140
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/ontology/__init__.py +1 -1
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/ontology/certification.json +4 -4
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/ontology/mappings/source.yaml +1 -2
- vector_mcp-3.3.10/vector_mcp/ontology/shapes/connector.shacl.ttl +24 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/ontology/vector.ttl +28 -75
- vector_mcp-3.3.10/vector_mcp/prompts/vector-mcp-knowledge-librarian.json +48 -0
- vector_mcp-3.3.10/vector_mcp/prompts/vector-mcp-operator.json +52 -0
- vector_mcp-3.3.10/vector_mcp/prompts/vector-mcp-research-analyst.json +43 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/retriever/__init__.py +5 -5
- vector_mcp-3.3.7/vector_mcp/retriever/epistemic_graph_retriever.py → vector_mcp-3.3.10/vector_mcp/retriever/medulla_retriever.py +10 -10
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/session.py +8 -8
- vector_mcp-3.3.10/vector_mcp/skills/vector-backend-operations/SKILL.md +93 -0
- vector_mcp-3.3.10/vector_mcp/skills/vector-collection-management/SKILL.md +102 -0
- vector_mcp-3.3.10/vector_mcp/skills/vector-hybrid-search/SKILL.md +87 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/skills/vector-mcp-development/SKILL.md +20 -4
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/skills/vector-mcp-operations/SKILL.md +18 -2
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/skills/vector-mcp-operations/references/catalog.md +8 -10
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/vector_api.py +54 -4
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/vectordb/__init__.py +5 -5
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/vectordb/base.py +31 -8
- vector_mcp-3.3.7/vector_mcp/vectordb/epistemic_graph.py → vector_mcp-3.3.10/vector_mcp/vectordb/medulla.py +22 -10
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/vectordb/mongodb.py +9 -1
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/vectordb/postgres.py +24 -1
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/vectordb/qdrant.py +11 -1
- vector_mcp-3.3.7/README.md → vector_mcp-3.3.10/vector_mcp.egg-info/PKG-INFO +174 -95
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp.egg-info/SOURCES.txt +10 -5
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp.egg-info/requires.txt +6 -6
- vector_mcp-3.3.7/tests/test_mcp_server.py +0 -267
- vector_mcp-3.3.7/tests/test_protocol_compliance.py +0 -22
- vector_mcp-3.3.7/vector_mcp/action_split.py +0 -112
- vector_mcp-3.3.7/vector_mcp/ontology/shapes/connector.shacl.ttl +0 -124
- vector_mcp-3.3.7/vector_mcp/prompts/main_agent.json +0 -18
- vector_mcp-3.3.7/vector_mcp/prompts/retrieval_specialist.json +0 -43
- vector_mcp-3.3.7/vector_mcp/skills/vector-backend-operations/SKILL.md +0 -95
- vector_mcp-3.3.7/vector_mcp/skills/vector-collection-management/SKILL.md +0 -97
- vector_mcp-3.3.7/vector_mcp/skills/vector-hybrid-search/SKILL.md +0 -83
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/LICENSE +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/scripts/investigate_timeout.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/scripts/validate_a2a_agent.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/scripts/validate_agents.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/scripts/validate_all_dbs.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/scripts/verify_deps.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/setup.cfg +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/tests/reproduce_chunking.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/tests/test_all_backends.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/tests/test_databases.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/tests/test_default_content_surfaces.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/tests/test_doctor.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/tests/test_document_inputs.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/tests/test_init_dynamics.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/tests/test_optional_dependencies.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/tests/test_optional_dependency_boundary.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/tests/test_package.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/tests/test_placeholder.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/tests/test_retrievers.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/tests/test_startup.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/tests/test_uv_sources_contract.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/tests/test_vector_mcp.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/__main__.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/bundled_mcp.json +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/connector_sources.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/connectors/__init__.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/document_inputs.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/ontology/fixtures/records.json +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/ontology/migrations/manifest.json +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/prompts/__init__.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/retriever/chromadb_retriever.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/retriever/couchbase_retriever.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/retriever/llamaindex_retriever.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/retriever/mongodb_retriever.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/retriever/postgres_retriever.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/retriever/qdrant_retriever.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/retriever/retriever.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/skills/__init__.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/skills/vector-mcp-operations/agents/openai.yaml +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/vectordb/chromadb.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/vectordb/couchbase.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp/vectordb/db_utils.py +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp.egg-info/dependency_links.txt +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp.egg-info/entry_points.txt +0 -0
- {vector_mcp-3.3.7 → vector_mcp-3.3.10}/vector_mcp.egg-info/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: vector-mcp
|
|
3
|
-
Version: 3.3.
|
|
4
|
-
Summary: Governed vector retrieval over native
|
|
3
|
+
Version: 3.3.10
|
|
4
|
+
Summary: Governed vector retrieval over native medulla and secure opt-in providers.
|
|
5
5
|
Author-email: Repository Maintainers <maintainers@knuckles.team>
|
|
6
6
|
License: MIT
|
|
7
7
|
Classifier: Development Status :: 5 - Production/Stable
|
|
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
12
12
|
Requires-Python: >=3.12
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
License-File: LICENSE
|
|
15
|
-
Requires-Dist: scion-sdk[mcp]<0.
|
|
15
|
+
Requires-Dist: scion-sdk[mcp]<0.15,>=0.14.1
|
|
16
16
|
Requires-Dist: markdownify>=1.2.3
|
|
17
17
|
Requires-Dist: beautifulsoup4>=4.15.0
|
|
18
18
|
Requires-Dist: ebooklib>=0.20
|
|
@@ -23,15 +23,15 @@ Requires-Dist: pypdf>=6.14.2
|
|
|
23
23
|
Requires-Dist: llama-index-core>=0.14.23
|
|
24
24
|
Requires-Dist: llama-index-readers-file>=0.6.0
|
|
25
25
|
Provides-Extra: mcp
|
|
26
|
-
Requires-Dist: scion-sdk[mcp]<0.
|
|
26
|
+
Requires-Dist: scion-sdk[mcp]<0.15,>=0.14.1; extra == "mcp"
|
|
27
27
|
Provides-Extra: postgres
|
|
28
|
-
Requires-Dist: scion-sdk[mcp,vector]<0.
|
|
28
|
+
Requires-Dist: scion-sdk[mcp,vector]<0.15,>=0.14.1; extra == "postgres"
|
|
29
29
|
Provides-Extra: qdrant
|
|
30
|
-
Requires-Dist: scion-sdk[mcp,vector]<0.
|
|
30
|
+
Requires-Dist: scion-sdk[mcp,vector]<0.15,>=0.14.1; extra == "qdrant"
|
|
31
31
|
Provides-Extra: mongodb
|
|
32
|
-
Requires-Dist: scion-sdk[mcp,vector]<0.
|
|
32
|
+
Requires-Dist: scion-sdk[mcp,vector]<0.15,>=0.14.1; extra == "mongodb"
|
|
33
33
|
Provides-Extra: chromadb
|
|
34
|
-
Requires-Dist: scion-sdk[mcp,vector-chroma]<0.
|
|
34
|
+
Requires-Dist: scion-sdk[mcp,vector-chroma]<0.15,>=0.14.1; extra == "chromadb"
|
|
35
35
|
Provides-Extra: all
|
|
36
36
|
Requires-Dist: vector-mcp[chromadb,mcp,mongodb,postgres,qdrant]>=2.1.2; extra == "all"
|
|
37
37
|
Provides-Extra: test
|
|
@@ -41,53 +41,39 @@ Requires-Dist: pytest-asyncio>=1.4.0; extra == "test"
|
|
|
41
41
|
Requires-Dist: pytest-cov>=7.1.0; extra == "test"
|
|
42
42
|
Dynamic: license-file
|
|
43
43
|
|
|
44
|
-
#
|
|
44
|
+
# Vector Mcp
|
|
45
|
+
## CLI or API | MCP
|
|
46
|
+
|
|
47
|
+

|
|
48
|
+

|
|
49
|
+

|
|
50
|
+

|
|
51
|
+

|
|
52
|
+

|
|
53
|
+

|
|
54
|
+

|
|
55
|
+

|
|
56
|
+

|
|
57
|
+

|
|
58
|
+

|
|
59
|
+

|
|
60
|
+

|
|
61
|
+

|
|
62
|
+

|
|
63
|
+

|
|
64
|
+

|
|
65
|
+
|
|
66
|
+
> **Documentation** — Installation, deployment, and usage across the API, CLI, MCP,
|
|
67
|
+
> and A2A agent interfaces are maintained in the
|
|
68
|
+
> [official documentation](https://knuckles-team.github.io/vector-mcp/).
|
|
45
69
|
|
|
46
|
-
|
|
47
|
-
The native default is epistemic-graph. Secure opt-in providers cover PostgreSQL/pgvector,
|
|
48
|
-
Qdrant, and MongoDB Atlas.
|
|
49
|
-
|
|
50
|
-
<!-- GOVERNED-CAPABILITY:START -->
|
|
51
|
-
## Governed capability
|
|
52
|
-
|
|
53
|
-
- MCP tools: `vector_collection_management` and `vector_search`
|
|
54
|
-
- Skill provider: the consolidated `vector-mcp-operations` workflow
|
|
55
|
-
- Ontology provider: the packaged vector retrieval ontology
|
|
56
|
-
- Source connector provider: a read-only vector collection inventory preset
|
|
57
|
-
- Runtime configuration: AgentConfig, environment variables, and secret references
|
|
58
|
-
- Privacy posture: no checked-in endpoints, credentials, personal identity, or host paths
|
|
59
|
-
<!-- GOVERNED-CAPABILITY:END -->
|
|
60
|
-
|
|
61
|
-
## Install
|
|
62
|
-
|
|
63
|
-
Use the smallest extra set required by the deployment:
|
|
64
|
-
|
|
65
|
-
```bash
|
|
66
|
-
uvx --from 'vector-mcp[mcp]' vector-mcp
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
The runtime requires `scion-sdk>=0.2.0` and its self-contained full
|
|
70
|
-
epistemic-graph engine contract. A bare numeric-only or partial engine profile is not a
|
|
71
|
-
supported deployment.
|
|
72
|
-
|
|
73
|
-
For a selected storage provider:
|
|
74
|
-
|
|
75
|
-
```bash
|
|
76
|
-
uv add 'vector-mcp[postgres]'
|
|
77
|
-
uv add 'vector-mcp[qdrant]'
|
|
78
|
-
uv add 'vector-mcp[mongodb]'
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
The `all` extra enables every supported optional provider plus the agent, Langfuse, and
|
|
82
|
-
Logfire runtimes. Production images should install only the providers they operate.
|
|
70
|
+
---
|
|
83
71
|
|
|
84
|
-
##
|
|
72
|
+
## Overview
|
|
85
73
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
extended schema bindings, and developer SDK references are maintained in
|
|
90
|
-
[docs/index.md](docs/index.md).
|
|
74
|
+
Action-routed MCP and agent interfaces for governed vector collection management and retrieval.
|
|
75
|
+
The native default is medulla. Secure opt-in providers cover PostgreSQL/pgvector,
|
|
76
|
+
Qdrant, and MongoDB Atlas.
|
|
91
77
|
|
|
92
78
|
---
|
|
93
79
|
|
|
@@ -105,8 +91,8 @@ _Auto-generated from the live MCP server — do not edit by hand._
|
|
|
105
91
|
|
|
106
92
|
| MCP Tool | Toggle Env Var | Description |
|
|
107
93
|
|----------|----------------|-------------|
|
|
108
|
-
| `
|
|
109
|
-
| `vector_search` | `SEARCHTOOL` |
|
|
94
|
+
| `vector_create_collection`, `vector_add_documents`, `vector_delete_collection`, `vector_list_collections` | `COLLECTION_MANAGEMENTTOOL` | Collection lifecycle. |
|
|
95
|
+
| `vector_semantic_search`, `vector_lexical_search`, `vector_search` | `SEARCHTOOL` | Semantic, lexical and fused retrieval. |
|
|
110
96
|
|
|
111
97
|
_2 action-routed tool(s) · 0 verbose 1:1 tool(s). Each is enabled unless its `<DOMAIN>TOOL` toggle is set false; `MCP_TOOL_MODE` selects the surface (**`intent` default** — the six verb-tools, granular set loaded on demand · `condensed` action-routed · `verbose` 1:1 · `both`). Auto-generated — do not edit._
|
|
112
98
|
<!-- MCP-TOOLS-TABLE:END -->
|
|
@@ -156,7 +142,7 @@ When query strings or parameters are provided, an LLM-free **Knowledge Graph res
|
|
|
156
142
|
"env": {
|
|
157
143
|
"MCP_TOOL_MODE": "intent",
|
|
158
144
|
"COLLECTION_MANAGEMENTTOOL": "True",
|
|
159
|
-
"DATABASE_TYPE": "
|
|
145
|
+
"DATABASE_TYPE": "medulla",
|
|
160
146
|
"DB_PASSWORD_REF": "secret://runtime/db-password",
|
|
161
147
|
"DB_PORT": "5432",
|
|
162
148
|
"DB_USERNAME_REF": "secret://runtime/db-username",
|
|
@@ -168,7 +154,7 @@ When query strings or parameters are provided, an LLM-free **Knowledge Graph res
|
|
|
168
154
|
"QDRANT_API_KEY_REF": "secret://runtime/qdrant-api-key",
|
|
169
155
|
"QDRANT_REQUEST_TIMEOUT": "30",
|
|
170
156
|
"SEARCHTOOL": "True",
|
|
171
|
-
"VECTOR_DB_TYPE": "
|
|
157
|
+
"VECTOR_DB_TYPE": "medulla"
|
|
172
158
|
}
|
|
173
159
|
}
|
|
174
160
|
}
|
|
@@ -201,7 +187,7 @@ own runtime secret boundary.
|
|
|
201
187
|
"PORT": "8000",
|
|
202
188
|
"MCP_TOOL_MODE": "intent",
|
|
203
189
|
"COLLECTION_MANAGEMENTTOOL": "True",
|
|
204
|
-
"DATABASE_TYPE": "
|
|
190
|
+
"DATABASE_TYPE": "medulla",
|
|
205
191
|
"DB_PASSWORD_REF": "secret://runtime/db-password",
|
|
206
192
|
"DB_PORT": "5432",
|
|
207
193
|
"DB_USERNAME_REF": "secret://runtime/db-username",
|
|
@@ -213,7 +199,7 @@ own runtime secret boundary.
|
|
|
213
199
|
"QDRANT_API_KEY_REF": "secret://runtime/qdrant-api-key",
|
|
214
200
|
"QDRANT_REQUEST_TIMEOUT": "30",
|
|
215
201
|
"SEARCHTOOL": "True",
|
|
216
|
-
"VECTOR_DB_TYPE": "
|
|
202
|
+
"VECTOR_DB_TYPE": "medulla"
|
|
217
203
|
}
|
|
218
204
|
}
|
|
219
205
|
}
|
|
@@ -245,7 +231,7 @@ docker run -i --rm \
|
|
|
245
231
|
-e TRANSPORT=stdio \
|
|
246
232
|
-e MCP_TOOL_MODE=intent \
|
|
247
233
|
-e COLLECTION_MANAGEMENTTOOL=True \
|
|
248
|
-
-e DATABASE_TYPE=
|
|
234
|
+
-e DATABASE_TYPE=medulla \
|
|
249
235
|
-e DB_PASSWORD_REF \
|
|
250
236
|
-e DB_PORT=5432 \
|
|
251
237
|
-e DB_USERNAME_REF \
|
|
@@ -257,7 +243,7 @@ docker run -i --rm \
|
|
|
257
243
|
-e QDRANT_API_KEY_REF \
|
|
258
244
|
-e QDRANT_REQUEST_TIMEOUT=30 \
|
|
259
245
|
-e SEARCHTOOL=True \
|
|
260
|
-
-e VECTOR_DB_TYPE=
|
|
246
|
+
-e VECTOR_DB_TYPE=medulla \
|
|
261
247
|
registry.example.invalid/vector-mcp@sha256:<digest> vector-mcp
|
|
262
248
|
```
|
|
263
249
|
|
|
@@ -284,6 +270,14 @@ consumed from a **remote deployment**. The
|
|
|
284
270
|
`https://vector-mcp.example.invalid/mcp` using the `"url"` key.
|
|
285
271
|
<!-- END GENERATED: additional-deployment-options -->
|
|
286
272
|
|
|
273
|
+
### MCP configuration
|
|
274
|
+
|
|
275
|
+
The package includes a neutral agent-start configuration containing only the command,
|
|
276
|
+
condensed tool mode, and tool toggles. Runtime values are inherited from AgentConfig or
|
|
277
|
+
injected by the operator. Detailed instructions on how to use the underlying API wrappers,
|
|
278
|
+
extended schema bindings, and developer SDK references are maintained in
|
|
279
|
+
[docs/index.md](docs/index.md).
|
|
280
|
+
|
|
287
281
|
---
|
|
288
282
|
|
|
289
283
|
## Environment Variables
|
|
@@ -300,8 +294,8 @@ consumed from a **remote deployment**. The
|
|
|
300
294
|
| `ENABLE_OTEL` | — | |
|
|
301
295
|
| `EMBEDDING_TLS_PROFILE_REF` | `secret://runtime/embedding-tls-profile` | Configure AgentConfig EMBEDDING_MODELS and its referenced runtime credentials. |
|
|
302
296
|
| `DOCUMENT_DIRECTORY` | — | Required only for filesystem ingestion. Supply the operator-owned root at runtime. |
|
|
303
|
-
| `DATABASE_TYPE` | `
|
|
304
|
-
| `VECTOR_DB_TYPE` | `
|
|
297
|
+
| `DATABASE_TYPE` | `medulla` | Backend used when db_type is unspecified. Default is the native medulla engine (local, zero-infra, durable). Options: medulla, postgres, mongodb, qdrant. DATABASE_TYPE is the canonical variable; VECTOR_DB_TYPE is accepted as an alias for backward compatibility. |
|
|
298
|
+
| `VECTOR_DB_TYPE` | `medulla` | |
|
|
305
299
|
| `DB_HOST` | — | postgres/qdrant host |
|
|
306
300
|
| `DBNAME` | — | postgres/mongodb database name |
|
|
307
301
|
| `DB_PORT` | `5432` | |
|
|
@@ -320,7 +314,7 @@ consumed from a **remote deployment**. The
|
|
|
320
314
|
| `VECTOR_MCP_MCP_IMAGE` | — | e.g. registry.example.invalid/vector-mcp@sha256:<digest> |
|
|
321
315
|
| `VECTOR_MCP_AGENT_IMAGE` | — | e.g. registry.example.invalid/vector-mcp@sha256:<digest> |
|
|
322
316
|
|
|
323
|
-
#### Inherited
|
|
317
|
+
#### Inherited meristem variables (apply to every connector)
|
|
324
318
|
|
|
325
319
|
| Variable | Example | Description |
|
|
326
320
|
|----------|---------|-------------|
|
|
@@ -345,13 +339,13 @@ consumed from a **remote deployment**. The
|
|
|
345
339
|
| `MODEL_ID` | — | Operator-configured model id for the agent |
|
|
346
340
|
| `ENABLE_WEB_UI` | `True` | Serve the AG-UI web interface |
|
|
347
341
|
|
|
348
|
-
_25 package + 20 inherited variable(s). Auto-generated from `.env.example` + the shared
|
|
342
|
+
_25 package + 20 inherited variable(s). Auto-generated from `.env.example` + the shared meristem set — do not edit._
|
|
349
343
|
<!-- ENV-VARS-TABLE:END -->
|
|
350
344
|
|
|
351
345
|
|
|
352
346
|
Every variable the server reads, grouped by purpose. See [`.env.example`](.env.example) for the
|
|
353
347
|
canonical, copy-paste list — including the `DATABASE_TYPE` / `GRAPH_SERVICE_SOCKET` /
|
|
354
|
-
`GRAPH_SERVICE_AUTH_SECRET` connection settings for the native
|
|
348
|
+
`GRAPH_SERVICE_AUTH_SECRET` connection settings for the native medulla backend. Backend
|
|
355
349
|
endpoints, database locations, and credentials for opt-in providers (Postgres/Qdrant/Mongo/
|
|
356
350
|
Chroma/Couchbase) are never README-documented literal values or MCP tool arguments — they resolve
|
|
357
351
|
through AgentConfig and `secret://`/`env://`/`vault://` references at runtime.
|
|
@@ -390,6 +384,8 @@ The full list is in the [Available MCP Tools](#available-mcp-tools) table above.
|
|
|
390
384
|
|
|
391
385
|
See [`.env.example`](.env.example) for a copy-paste starting point.
|
|
392
386
|
|
|
387
|
+
---
|
|
388
|
+
|
|
393
389
|
## Provider and ontology integration
|
|
394
390
|
|
|
395
391
|
The package contributes its skills, prompts, ontology, and source connector through Python entry
|
|
@@ -400,6 +396,8 @@ Generated connector signatures must be recreated only after the installed MCP sc
|
|
|
400
396
|
and a release signing key is provided at runtime. A signature from an older tool schema or
|
|
401
397
|
ontology must never be copied forward.
|
|
402
398
|
|
|
399
|
+
---
|
|
400
|
+
|
|
403
401
|
## Development checks
|
|
404
402
|
|
|
405
403
|
Low-cost checks that do not start providers:
|
|
@@ -411,48 +409,31 @@ python -m compileall -q vector_mcp
|
|
|
411
409
|
Provider tests use mocked SDK boundaries and make no network calls. Live qualification is a
|
|
412
410
|
separate deployment gate and must use operator-provided AgentConfig and secrets.
|
|
413
411
|
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
- [Installation](docs/installation.md)
|
|
417
|
-
- [Configuration and privacy](docs/configuration.md)
|
|
418
|
-
- [Deployment](docs/deployment.md)
|
|
419
|
-
- [Usage](docs/usage.md)
|
|
420
|
-
- [Architecture overview](docs/overview.md)
|
|
421
|
-
|
|
422
|
-
The slim `:mcp` streamable-http container (`docker/mcp.compose.yml`) publishes
|
|
423
|
-
`0.0.0.0:8000` with a `/health` check; see [Deployment](docs/deployment.md) for the full
|
|
424
|
-
compose service definition.
|
|
425
|
-
|
|
426
|
-
## License
|
|
427
|
-
|
|
428
|
-
See [LICENSE](LICENSE).
|
|
429
|
-
|
|
412
|
+
---
|
|
430
413
|
|
|
431
|
-
|
|
414
|
+
## Installation
|
|
432
415
|
|
|
433
|
-
|
|
416
|
+
Use the smallest extra set required by the deployment:
|
|
434
417
|
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
runs doctor, registration, policy, observability, and rollback gates. Ask your agent
|
|
439
|
-
to **"deploy `vector-mcp` with agent-utilities-deployment"**.
|
|
418
|
+
```bash
|
|
419
|
+
uvx --from 'vector-mcp[mcp]' vector-mcp
|
|
420
|
+
```
|
|
440
421
|
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
| Editable source | `uv pip install -e ".[mcp]"`, then run `vector-mcp` |
|
|
445
|
-
| Immutable container | deploy `registry.example.invalid/vector-mcp@sha256:<digest>` through the operator-selected orchestrator |
|
|
422
|
+
The runtime requires `scion-sdk>=0.2.0` and its self-contained full
|
|
423
|
+
medulla engine contract. A bare numeric-only or partial engine profile is not a
|
|
424
|
+
supported deployment.
|
|
446
425
|
|
|
447
|
-
|
|
448
|
-
environment-specific endpoint. Supply those at runtime through `AgentConfig` and the
|
|
449
|
-
configured secret provider.
|
|
426
|
+
For a selected storage provider:
|
|
450
427
|
|
|
451
|
-
|
|
428
|
+
```bash
|
|
429
|
+
uv add 'vector-mcp[postgres]'
|
|
430
|
+
uv add 'vector-mcp[qdrant]'
|
|
431
|
+
uv add 'vector-mcp[mongodb]'
|
|
432
|
+
```
|
|
452
433
|
|
|
453
|
-
|
|
434
|
+
The `all` extra enables every supported optional provider plus the agent, Langfuse, and
|
|
435
|
+
Logfire runtimes. Production images should install only the providers they operate.
|
|
454
436
|
|
|
455
|
-
## Installation
|
|
456
437
|
|
|
457
438
|
Pick the extra that matches what the operator want to run:
|
|
458
439
|
|
|
@@ -465,7 +446,7 @@ Pick the extra that matches what the operator want to run:
|
|
|
465
446
|
# MCP server only (recommended for tool hosting — slim deps)
|
|
466
447
|
uv pip install "vector-mcp[mcp]"
|
|
467
448
|
|
|
468
|
-
# Full agent runtime (Pydantic AI +
|
|
449
|
+
# Full agent runtime (Pydantic AI + medulla engine)
|
|
469
450
|
uv pip install "vector-mcp[mcp]"
|
|
470
451
|
|
|
471
452
|
# Everything (development)
|
|
@@ -485,12 +466,34 @@ docker build -t knucklessg1/vector-mcp:mcp docker/
|
|
|
485
466
|
The render command creates the release-owned `docker/mcp.compose.yml`; it runs the image with
|
|
486
467
|
the configured host publication.
|
|
487
468
|
|
|
488
|
-
### Knowledge-graph database (`
|
|
469
|
+
### Knowledge-graph database (`medulla`)
|
|
489
470
|
|
|
490
|
-
Graph storage, vector search and queries are served by **
|
|
471
|
+
Graph storage, vector search and queries are served by **medulla**, run as its own
|
|
491
472
|
database container. Deployment recipes (single-node + Raft HA), connection config, and the
|
|
492
473
|
database architecture are in the
|
|
493
|
-
[
|
|
474
|
+
[medulla deployment guide](https://knuckles-team.github.io/medulla/deployment/).
|
|
475
|
+
|
|
476
|
+
---
|
|
477
|
+
|
|
478
|
+
## Documentation
|
|
479
|
+
|
|
480
|
+
- [Installation](docs/installation.md)
|
|
481
|
+
- [Configuration and privacy](docs/configuration.md)
|
|
482
|
+
- [Deployment](docs/deployment.md)
|
|
483
|
+
- [Usage](docs/usage.md)
|
|
484
|
+
- [Architecture overview](docs/overview.md)
|
|
485
|
+
|
|
486
|
+
The slim `:mcp` streamable-http container (`docker/mcp.compose.yml`) publishes
|
|
487
|
+
`0.0.0.0:8000` with a `/health` check; see [Deployment](docs/deployment.md) for the full
|
|
488
|
+
compose service definition.
|
|
489
|
+
|
|
490
|
+
---
|
|
491
|
+
|
|
492
|
+
## License
|
|
493
|
+
|
|
494
|
+
See [LICENSE](LICENSE).
|
|
495
|
+
|
|
496
|
+
---
|
|
494
497
|
|
|
495
498
|
## Repository Owners
|
|
496
499
|
|
|
@@ -508,3 +511,36 @@ Contributions are welcome! Please ensure code quality by running local checks be
|
|
|
508
511
|
- Lint code using `ruff check .`
|
|
509
512
|
- Validate type-safety with `mypy .`
|
|
510
513
|
- Run test suites using `pytest`
|
|
514
|
+
|
|
515
|
+
<!-- GOVERNED-CAPABILITY:START -->
|
|
516
|
+
## Governed capability
|
|
517
|
+
|
|
518
|
+
- MCP tools: `vector_create_collection`, `vector_add_documents`, `vector_delete_collection`, `vector_list_collections`, `vector_semantic_search`, `vector_lexical_search` and `vector_search`
|
|
519
|
+
- Skill provider: the consolidated `vector-mcp-operations` workflow
|
|
520
|
+
- Ontology provider: the packaged vector retrieval ontology
|
|
521
|
+
- Source connector provider: a read-only vector collection inventory preset
|
|
522
|
+
- Runtime configuration: AgentConfig, environment variables, and secret references
|
|
523
|
+
- Privacy posture: no checked-in endpoints, credentials, personal identity, or host paths
|
|
524
|
+
<!-- GOVERNED-CAPABILITY:END -->
|
|
525
|
+
|
|
526
|
+
<!-- BEGIN meristem-deployment (generated; do not edit between markers) -->
|
|
527
|
+
|
|
528
|
+
## Deploy with `meristem-deployment`
|
|
529
|
+
|
|
530
|
+
Provision this package with the consolidated **`meristem-deployment`**
|
|
531
|
+
workflow. It selects an installed-package, editable-source, or immutable-container
|
|
532
|
+
path; records only runtime secret and TLS-profile references in `AgentConfig`; and
|
|
533
|
+
runs doctor, registration, policy, observability, and rollback gates. Ask your agent
|
|
534
|
+
to **"deploy `vector-mcp` with meristem-deployment"**.
|
|
535
|
+
|
|
536
|
+
| Install mode | Command |
|
|
537
|
+
|------|---------|
|
|
538
|
+
| Installed package | `uv tool install "vector-mcp[mcp]"`, then run `vector-mcp` |
|
|
539
|
+
| Editable source | `uv pip install -e ".[mcp]"`, then run `vector-mcp` |
|
|
540
|
+
| Immutable container | deploy `registry.example.invalid/vector-mcp@sha256:<digest>` through the operator-selected orchestrator |
|
|
541
|
+
|
|
542
|
+
The repository embeds no deployment profile, credential value, certificate path, or
|
|
543
|
+
environment-specific endpoint. Supply those at runtime through `AgentConfig` and the
|
|
544
|
+
configured secret provider.
|
|
545
|
+
|
|
546
|
+
<!-- END meristem-deployment -->
|