vector-mcp 3.3.8__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.
Files changed (98) hide show
  1. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/PKG-INFO +122 -86
  2. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/README.md +115 -79
  3. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/pyproject.toml +7 -7
  4. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/tests/test_chromadb_data_dir.py +4 -4
  5. vector_mcp-3.3.10/tests/test_error_handling.py +24 -0
  6. vector_mcp-3.3.10/tests/test_mcp_server.py +322 -0
  7. vector_mcp-3.3.10/tests/test_ontology_one_schema.py +59 -0
  8. vector_mcp-3.3.10/tests/test_protocol_compliance.py +155 -0
  9. vector_mcp-3.3.10/tests/test_vector_search.py +37 -0
  10. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/connector_contracts.py +35 -0
  11. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/mcp_server.py +53 -0
  12. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/ontology/__init__.py +1 -1
  13. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/ontology/certification.json +3 -3
  14. vector_mcp-3.3.10/vector_mcp/ontology/shapes/connector.shacl.ttl +24 -0
  15. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/ontology/vector.ttl +24 -71
  16. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/prompts/vector-mcp-knowledge-librarian.json +2 -0
  17. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/prompts/vector-mcp-operator.json +2 -0
  18. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/skills/vector-backend-operations/SKILL.md +19 -7
  19. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/skills/vector-collection-management/SKILL.md +21 -8
  20. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/skills/vector-hybrid-search/SKILL.md +19 -7
  21. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/skills/vector-mcp-development/SKILL.md +16 -0
  22. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/skills/vector-mcp-operations/SKILL.md +16 -0
  23. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/vector_api.py +52 -1
  24. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/vectordb/base.py +25 -2
  25. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/vectordb/medulla.py +14 -2
  26. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/vectordb/mongodb.py +9 -1
  27. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/vectordb/postgres.py +24 -1
  28. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/vectordb/qdrant.py +11 -1
  29. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp.egg-info/PKG-INFO +122 -86
  30. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp.egg-info/SOURCES.txt +3 -0
  31. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp.egg-info/requires.txt +6 -6
  32. vector_mcp-3.3.8/tests/test_mcp_server.py +0 -275
  33. vector_mcp-3.3.8/tests/test_protocol_compliance.py +0 -22
  34. vector_mcp-3.3.8/vector_mcp/ontology/shapes/connector.shacl.ttl +0 -124
  35. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/LICENSE +0 -0
  36. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/scripts/investigate_timeout.py +0 -0
  37. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/scripts/validate_a2a_agent.py +0 -0
  38. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/scripts/validate_agents.py +0 -0
  39. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/scripts/validate_all_dbs.py +0 -0
  40. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/scripts/verify_deps.py +0 -0
  41. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/setup.cfg +0 -0
  42. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/tests/conftest.py +0 -0
  43. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/tests/reproduce_chunking.py +0 -0
  44. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/tests/test_all_backends.py +0 -0
  45. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/tests/test_database_transport_security.py +0 -0
  46. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/tests/test_databases.py +0 -0
  47. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/tests/test_default_content_surfaces.py +0 -0
  48. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/tests/test_doctor.py +0 -0
  49. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/tests/test_document_inputs.py +0 -0
  50. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/tests/test_identity_scoped_resources.py +0 -0
  51. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/tests/test_init_dynamics.py +0 -0
  52. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/tests/test_optional_dependencies.py +0 -0
  53. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/tests/test_optional_dependency_boundary.py +0 -0
  54. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/tests/test_package.py +0 -0
  55. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/tests/test_placeholder.py +0 -0
  56. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/tests/test_retrievers.py +0 -0
  57. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/tests/test_secure_backends.py +0 -0
  58. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/tests/test_session_audience.py +0 -0
  59. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/tests/test_startup.py +0 -0
  60. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/tests/test_store_extras.py +0 -0
  61. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/tests/test_uv_sources_contract.py +0 -0
  62. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/tests/test_vector_api.py +0 -0
  63. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/tests/test_vector_mcp.py +0 -0
  64. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/tests/test_vectordbs_mock.py +0 -0
  65. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/__init__.py +0 -0
  66. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/__main__.py +0 -0
  67. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/backend_policy.py +0 -0
  68. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/bundled_mcp.json +0 -0
  69. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/connector_sources.py +0 -0
  70. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/connectors/__init__.py +0 -0
  71. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/doctor.py +0 -0
  72. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/document_inputs.py +0 -0
  73. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/mcp_config.json +0 -0
  74. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/ontology/fixtures/records.json +0 -0
  75. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/ontology/mappings/source.yaml +0 -0
  76. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/ontology/migrations/manifest.json +0 -0
  77. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/prompts/__init__.py +0 -0
  78. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/prompts/vector-mcp-research-analyst.json +0 -0
  79. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/retriever/__init__.py +0 -0
  80. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/retriever/chromadb_retriever.py +0 -0
  81. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/retriever/couchbase_retriever.py +0 -0
  82. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/retriever/llamaindex_retriever.py +0 -0
  83. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/retriever/medulla_retriever.py +0 -0
  84. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/retriever/mongodb_retriever.py +0 -0
  85. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/retriever/postgres_retriever.py +0 -0
  86. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/retriever/qdrant_retriever.py +0 -0
  87. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/retriever/retriever.py +0 -0
  88. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/session.py +0 -0
  89. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/skills/__init__.py +0 -0
  90. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/skills/vector-mcp-operations/agents/openai.yaml +0 -0
  91. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/skills/vector-mcp-operations/references/catalog.md +0 -0
  92. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/vectordb/__init__.py +0 -0
  93. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/vectordb/chromadb.py +0 -0
  94. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/vectordb/couchbase.py +0 -0
  95. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp/vectordb/db_utils.py +0 -0
  96. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp.egg-info/dependency_links.txt +0 -0
  97. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp.egg-info/entry_points.txt +0 -0
  98. {vector_mcp-3.3.8 → vector_mcp-3.3.10}/vector_mcp.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vector-mcp
3
- Version: 3.3.8
3
+ Version: 3.3.10
4
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
@@ -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]<1.0.0,>=0.9.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]<1.0.0,>=0.9.0; extra == "mcp"
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]<1.0.0,>=0.9.0; extra == "postgres"
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]<1.0.0,>=0.9.0; extra == "qdrant"
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]<1.0.0,>=0.9.0; extra == "mongodb"
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]<1.0.0,>=0.9.0; extra == "chromadb"
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,54 +41,40 @@ 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
- # vector-mcp
44
+ # Vector Mcp
45
+ ## CLI or API | MCP
46
+
47
+ ![PyPI - Version](https://img.shields.io/pypi/v/vector-mcp)
48
+ ![MCP Server](https://badge.mcpx.dev?type=server 'MCP Server')
49
+ ![PyPI - Downloads](https://img.shields.io/pypi/dd/vector-mcp)
50
+ ![GitHub Repo stars](https://img.shields.io/github/stars/Knuckles-Team/vector-mcp)
51
+ ![GitHub forks](https://img.shields.io/github/forks/Knuckles-Team/vector-mcp)
52
+ ![GitHub contributors](https://img.shields.io/github/contributors/Knuckles-Team/vector-mcp)
53
+ ![PyPI - License](https://img.shields.io/pypi/l/vector-mcp)
54
+ ![GitHub](https://img.shields.io/github/license/Knuckles-Team/vector-mcp)
55
+ ![GitHub last commit (by committer)](https://img.shields.io/github/last-commit/Knuckles-Team/vector-mcp)
56
+ ![GitHub pull requests](https://img.shields.io/github/issues-pr/Knuckles-Team/vector-mcp)
57
+ ![GitHub closed pull requests](https://img.shields.io/github/issues-pr-closed/Knuckles-Team/vector-mcp)
58
+ ![GitHub issues](https://img.shields.io/github/issues/Knuckles-Team/vector-mcp)
59
+ ![GitHub top language](https://img.shields.io/github/languages/top/Knuckles-Team/vector-mcp)
60
+ ![GitHub language count](https://img.shields.io/github/languages/count/Knuckles-Team/vector-mcp)
61
+ ![GitHub repo size](https://img.shields.io/github/repo-size/Knuckles-Team/vector-mcp)
62
+ ![GitHub repo file count (file type)](https://img.shields.io/github/directory-file-count/Knuckles-Team/vector-mcp)
63
+ ![PyPI - Wheel](https://img.shields.io/pypi/wheel/vector-mcp)
64
+ ![PyPI - Implementation](https://img.shields.io/pypi/implementation/vector-mcp)
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/).
69
+
70
+ ---
71
+
72
+ ## Overview
45
73
 
46
74
  Action-routed MCP and agent interfaces for governed vector collection management and retrieval.
47
75
  The native default is medulla. Secure opt-in providers cover PostgreSQL/pgvector,
48
76
  Qdrant, and MongoDB Atlas.
49
77
 
50
- <!-- GOVERNED-CAPABILITY:START -->
51
- ## Governed capability
52
-
53
- - MCP tools: `vector_create_collection`, `vector_add_documents`, `vector_delete_collection`, `vector_list_collections`, `vector_semantic_search`, `vector_lexical_search` 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
- medulla 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.
83
-
84
- ## MCP configuration
85
-
86
- The package includes a neutral agent-start configuration containing only the command,
87
- condensed tool mode, and tool toggles. Runtime values are inherited from AgentConfig or
88
- injected by the operator. Detailed instructions on how to use the underlying API wrappers,
89
- extended schema bindings, and developer SDK references are maintained in
90
- [docs/index.md](docs/index.md).
91
-
92
78
  ---
93
79
 
94
80
  ## MCP
@@ -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
@@ -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 agent-utilities variables (apply to every connector)
317
+ #### Inherited meristem variables (apply to every connector)
324
318
 
325
319
  | Variable | Example | Description |
326
320
  |----------|---------|-------------|
@@ -345,7 +339,7 @@ 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 agent-utilities set — do not edit._
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
 
@@ -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
- ## Documentation
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
- <!-- BEGIN agent-utilities-deployment (generated; do not edit between markers) -->
414
+ ## Installation
432
415
 
433
- ## Deploy with `agent-utilities-deployment`
416
+ Use the smallest extra set required by the deployment:
434
417
 
435
- Provision this package with the consolidated **`agent-utilities-deployment`**
436
- workflow. It selects an installed-package, editable-source, or immutable-container
437
- path; records only runtime secret and TLS-profile references in `AgentConfig`; and
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
- | Install mode | Command |
442
- |------|---------|
443
- | Installed package | `uv tool install "vector-mcp[mcp]"`, then run `vector-mcp` |
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
- The repository embeds no deployment profile, credential value, certificate path, or
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
- <!-- END agent-utilities-deployment -->
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
 
@@ -492,6 +473,28 @@ database container. Deployment recipes (single-node + Raft HA), connection confi
492
473
  database architecture are in the
493
474
  [medulla deployment guide](https://knuckles-team.github.io/medulla/deployment/).
494
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
+ ---
497
+
495
498
  ## Repository Owners
496
499
 
497
500
  <img width="100%" height="180em" src="https://github-readme-stats.vercel.app/api?username=Knucklessg1&show_icons=true&hide_border=true&&count_private=true&include_all_commits=true" />
@@ -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 -->
@@ -1,51 +1,37 @@
1
- # vector-mcp
1
+ # Vector Mcp
2
+ ## CLI or API | MCP
3
+
4
+ ![PyPI - Version](https://img.shields.io/pypi/v/vector-mcp)
5
+ ![MCP Server](https://badge.mcpx.dev?type=server 'MCP Server')
6
+ ![PyPI - Downloads](https://img.shields.io/pypi/dd/vector-mcp)
7
+ ![GitHub Repo stars](https://img.shields.io/github/stars/Knuckles-Team/vector-mcp)
8
+ ![GitHub forks](https://img.shields.io/github/forks/Knuckles-Team/vector-mcp)
9
+ ![GitHub contributors](https://img.shields.io/github/contributors/Knuckles-Team/vector-mcp)
10
+ ![PyPI - License](https://img.shields.io/pypi/l/vector-mcp)
11
+ ![GitHub](https://img.shields.io/github/license/Knuckles-Team/vector-mcp)
12
+ ![GitHub last commit (by committer)](https://img.shields.io/github/last-commit/Knuckles-Team/vector-mcp)
13
+ ![GitHub pull requests](https://img.shields.io/github/issues-pr/Knuckles-Team/vector-mcp)
14
+ ![GitHub closed pull requests](https://img.shields.io/github/issues-pr-closed/Knuckles-Team/vector-mcp)
15
+ ![GitHub issues](https://img.shields.io/github/issues/Knuckles-Team/vector-mcp)
16
+ ![GitHub top language](https://img.shields.io/github/languages/top/Knuckles-Team/vector-mcp)
17
+ ![GitHub language count](https://img.shields.io/github/languages/count/Knuckles-Team/vector-mcp)
18
+ ![GitHub repo size](https://img.shields.io/github/repo-size/Knuckles-Team/vector-mcp)
19
+ ![GitHub repo file count (file type)](https://img.shields.io/github/directory-file-count/Knuckles-Team/vector-mcp)
20
+ ![PyPI - Wheel](https://img.shields.io/pypi/wheel/vector-mcp)
21
+ ![PyPI - Implementation](https://img.shields.io/pypi/implementation/vector-mcp)
22
+
23
+ > **Documentation** — Installation, deployment, and usage across the API, CLI, MCP,
24
+ > and A2A agent interfaces are maintained in the
25
+ > [official documentation](https://knuckles-team.github.io/vector-mcp/).
26
+
27
+ ---
28
+
29
+ ## Overview
2
30
 
3
31
  Action-routed MCP and agent interfaces for governed vector collection management and retrieval.
4
32
  The native default is medulla. Secure opt-in providers cover PostgreSQL/pgvector,
5
33
  Qdrant, and MongoDB Atlas.
6
34
 
7
- <!-- GOVERNED-CAPABILITY:START -->
8
- ## Governed capability
9
-
10
- - MCP tools: `vector_create_collection`, `vector_add_documents`, `vector_delete_collection`, `vector_list_collections`, `vector_semantic_search`, `vector_lexical_search` and `vector_search`
11
- - Skill provider: the consolidated `vector-mcp-operations` workflow
12
- - Ontology provider: the packaged vector retrieval ontology
13
- - Source connector provider: a read-only vector collection inventory preset
14
- - Runtime configuration: AgentConfig, environment variables, and secret references
15
- - Privacy posture: no checked-in endpoints, credentials, personal identity, or host paths
16
- <!-- GOVERNED-CAPABILITY:END -->
17
-
18
- ## Install
19
-
20
- Use the smallest extra set required by the deployment:
21
-
22
- ```bash
23
- uvx --from 'vector-mcp[mcp]' vector-mcp
24
- ```
25
-
26
- The runtime requires `scion-sdk>=0.2.0` and its self-contained full
27
- medulla engine contract. A bare numeric-only or partial engine profile is not a
28
- supported deployment.
29
-
30
- For a selected storage provider:
31
-
32
- ```bash
33
- uv add 'vector-mcp[postgres]'
34
- uv add 'vector-mcp[qdrant]'
35
- uv add 'vector-mcp[mongodb]'
36
- ```
37
-
38
- The `all` extra enables every supported optional provider plus the agent, Langfuse, and
39
- Logfire runtimes. Production images should install only the providers they operate.
40
-
41
- ## MCP configuration
42
-
43
- The package includes a neutral agent-start configuration containing only the command,
44
- condensed tool mode, and tool toggles. Runtime values are inherited from AgentConfig or
45
- injected by the operator. Detailed instructions on how to use the underlying API wrappers,
46
- extended schema bindings, and developer SDK references are maintained in
47
- [docs/index.md](docs/index.md).
48
-
49
35
  ---
50
36
 
51
37
  ## MCP
@@ -241,6 +227,14 @@ consumed from a **remote deployment**. The
241
227
  `https://vector-mcp.example.invalid/mcp` using the `"url"` key.
242
228
  <!-- END GENERATED: additional-deployment-options -->
243
229
 
230
+ ### MCP configuration
231
+
232
+ The package includes a neutral agent-start configuration containing only the command,
233
+ condensed tool mode, and tool toggles. Runtime values are inherited from AgentConfig or
234
+ injected by the operator. Detailed instructions on how to use the underlying API wrappers,
235
+ extended schema bindings, and developer SDK references are maintained in
236
+ [docs/index.md](docs/index.md).
237
+
244
238
  ---
245
239
 
246
240
  ## Environment Variables
@@ -277,7 +271,7 @@ consumed from a **remote deployment**. The
277
271
  | `VECTOR_MCP_MCP_IMAGE` | — | e.g. registry.example.invalid/vector-mcp@sha256:<digest> |
278
272
  | `VECTOR_MCP_AGENT_IMAGE` | — | e.g. registry.example.invalid/vector-mcp@sha256:<digest> |
279
273
 
280
- #### Inherited agent-utilities variables (apply to every connector)
274
+ #### Inherited meristem variables (apply to every connector)
281
275
 
282
276
  | Variable | Example | Description |
283
277
  |----------|---------|-------------|
@@ -302,7 +296,7 @@ consumed from a **remote deployment**. The
302
296
  | `MODEL_ID` | — | Operator-configured model id for the agent |
303
297
  | `ENABLE_WEB_UI` | `True` | Serve the AG-UI web interface |
304
298
 
305
- _25 package + 20 inherited variable(s). Auto-generated from `.env.example` + the shared agent-utilities set — do not edit._
299
+ _25 package + 20 inherited variable(s). Auto-generated from `.env.example` + the shared meristem set — do not edit._
306
300
  <!-- ENV-VARS-TABLE:END -->
307
301
 
308
302
 
@@ -347,6 +341,8 @@ The full list is in the [Available MCP Tools](#available-mcp-tools) table above.
347
341
 
348
342
  See [`.env.example`](.env.example) for a copy-paste starting point.
349
343
 
344
+ ---
345
+
350
346
  ## Provider and ontology integration
351
347
 
352
348
  The package contributes its skills, prompts, ontology, and source connector through Python entry
@@ -357,6 +353,8 @@ Generated connector signatures must be recreated only after the installed MCP sc
357
353
  and a release signing key is provided at runtime. A signature from an older tool schema or
358
354
  ontology must never be copied forward.
359
355
 
356
+ ---
357
+
360
358
  ## Development checks
361
359
 
362
360
  Low-cost checks that do not start providers:
@@ -368,48 +366,31 @@ python -m compileall -q vector_mcp
368
366
  Provider tests use mocked SDK boundaries and make no network calls. Live qualification is a
369
367
  separate deployment gate and must use operator-provided AgentConfig and secrets.
370
368
 
371
- ## Documentation
372
-
373
- - [Installation](docs/installation.md)
374
- - [Configuration and privacy](docs/configuration.md)
375
- - [Deployment](docs/deployment.md)
376
- - [Usage](docs/usage.md)
377
- - [Architecture overview](docs/overview.md)
378
-
379
- The slim `:mcp` streamable-http container (`docker/mcp.compose.yml`) publishes
380
- `0.0.0.0:8000` with a `/health` check; see [Deployment](docs/deployment.md) for the full
381
- compose service definition.
382
-
383
- ## License
384
-
385
- See [LICENSE](LICENSE).
386
-
369
+ ---
387
370
 
388
- <!-- BEGIN agent-utilities-deployment (generated; do not edit between markers) -->
371
+ ## Installation
389
372
 
390
- ## Deploy with `agent-utilities-deployment`
373
+ Use the smallest extra set required by the deployment:
391
374
 
392
- Provision this package with the consolidated **`agent-utilities-deployment`**
393
- workflow. It selects an installed-package, editable-source, or immutable-container
394
- path; records only runtime secret and TLS-profile references in `AgentConfig`; and
395
- runs doctor, registration, policy, observability, and rollback gates. Ask your agent
396
- to **"deploy `vector-mcp` with agent-utilities-deployment"**.
375
+ ```bash
376
+ uvx --from 'vector-mcp[mcp]' vector-mcp
377
+ ```
397
378
 
398
- | Install mode | Command |
399
- |------|---------|
400
- | Installed package | `uv tool install "vector-mcp[mcp]"`, then run `vector-mcp` |
401
- | Editable source | `uv pip install -e ".[mcp]"`, then run `vector-mcp` |
402
- | Immutable container | deploy `registry.example.invalid/vector-mcp@sha256:<digest>` through the operator-selected orchestrator |
379
+ The runtime requires `scion-sdk>=0.2.0` and its self-contained full
380
+ medulla engine contract. A bare numeric-only or partial engine profile is not a
381
+ supported deployment.
403
382
 
404
- The repository embeds no deployment profile, credential value, certificate path, or
405
- environment-specific endpoint. Supply those at runtime through `AgentConfig` and the
406
- configured secret provider.
383
+ For a selected storage provider:
407
384
 
408
- <!-- END agent-utilities-deployment -->
385
+ ```bash
386
+ uv add 'vector-mcp[postgres]'
387
+ uv add 'vector-mcp[qdrant]'
388
+ uv add 'vector-mcp[mongodb]'
389
+ ```
409
390
 
410
- ---
391
+ The `all` extra enables every supported optional provider plus the agent, Langfuse, and
392
+ Logfire runtimes. Production images should install only the providers they operate.
411
393
 
412
- ## Installation
413
394
 
414
395
  Pick the extra that matches what the operator want to run:
415
396
 
@@ -449,6 +430,28 @@ database container. Deployment recipes (single-node + Raft HA), connection confi
449
430
  database architecture are in the
450
431
  [medulla deployment guide](https://knuckles-team.github.io/medulla/deployment/).
451
432
 
433
+ ---
434
+
435
+ ## Documentation
436
+
437
+ - [Installation](docs/installation.md)
438
+ - [Configuration and privacy](docs/configuration.md)
439
+ - [Deployment](docs/deployment.md)
440
+ - [Usage](docs/usage.md)
441
+ - [Architecture overview](docs/overview.md)
442
+
443
+ The slim `:mcp` streamable-http container (`docker/mcp.compose.yml`) publishes
444
+ `0.0.0.0:8000` with a `/health` check; see [Deployment](docs/deployment.md) for the full
445
+ compose service definition.
446
+
447
+ ---
448
+
449
+ ## License
450
+
451
+ See [LICENSE](LICENSE).
452
+
453
+ ---
454
+
452
455
  ## Repository Owners
453
456
 
454
457
  <img width="100%" height="180em" src="https://github-readme-stats.vercel.app/api?username=Knucklessg1&show_icons=true&hide_border=true&&count_private=true&include_all_commits=true" />
@@ -465,3 +468,36 @@ Contributions are welcome! Please ensure code quality by running local checks be
465
468
  - Lint code using `ruff check .`
466
469
  - Validate type-safety with `mypy .`
467
470
  - Run test suites using `pytest`
471
+
472
+ <!-- GOVERNED-CAPABILITY:START -->
473
+ ## Governed capability
474
+
475
+ - MCP tools: `vector_create_collection`, `vector_add_documents`, `vector_delete_collection`, `vector_list_collections`, `vector_semantic_search`, `vector_lexical_search` and `vector_search`
476
+ - Skill provider: the consolidated `vector-mcp-operations` workflow
477
+ - Ontology provider: the packaged vector retrieval ontology
478
+ - Source connector provider: a read-only vector collection inventory preset
479
+ - Runtime configuration: AgentConfig, environment variables, and secret references
480
+ - Privacy posture: no checked-in endpoints, credentials, personal identity, or host paths
481
+ <!-- GOVERNED-CAPABILITY:END -->
482
+
483
+ <!-- BEGIN meristem-deployment (generated; do not edit between markers) -->
484
+
485
+ ## Deploy with `meristem-deployment`
486
+
487
+ Provision this package with the consolidated **`meristem-deployment`**
488
+ workflow. It selects an installed-package, editable-source, or immutable-container
489
+ path; records only runtime secret and TLS-profile references in `AgentConfig`; and
490
+ runs doctor, registration, policy, observability, and rollback gates. Ask your agent
491
+ to **"deploy `vector-mcp` with meristem-deployment"**.
492
+
493
+ | Install mode | Command |
494
+ |------|---------|
495
+ | Installed package | `uv tool install "vector-mcp[mcp]"`, then run `vector-mcp` |
496
+ | Editable source | `uv pip install -e ".[mcp]"`, then run `vector-mcp` |
497
+ | Immutable container | deploy `registry.example.invalid/vector-mcp@sha256:<digest>` through the operator-selected orchestrator |
498
+
499
+ The repository embeds no deployment profile, credential value, certificate path, or
500
+ environment-specific endpoint. Supply those at runtime through `AgentConfig` and the
501
+ configured secret provider.
502
+
503
+ <!-- END meristem-deployment -->
@@ -4,12 +4,12 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "vector-mcp"
7
- version = "3.3.8"
7
+ version = "3.3.10"
8
8
  description = "Governed vector retrieval over native medulla and secure opt-in providers."
9
9
  readme = "README.md"
10
10
  classifiers = [ "Development Status :: 5 - Production/Stable", "License :: Public Domain", "Environment :: Console", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3",]
11
11
  requires-python = ">=3.12"
12
- dependencies = [ "scion-sdk[mcp]>=0.9.0,<1.0.0", "markdownify>=1.2.3", "beautifulsoup4>=4.15.0", "ebooklib>=0.20", "html2text>=2025.4.15", "ipython>=9.15.0", "platformdirs>=4.11.0", "pypdf>=6.14.2", "llama-index-core>=0.14.23", "llama-index-readers-file>=0.6.0",]
12
+ dependencies = [ "scion-sdk[mcp]>=0.14.1,<0.15", "markdownify>=1.2.3", "beautifulsoup4>=4.15.0", "ebooklib>=0.20", "html2text>=2025.4.15", "ipython>=9.15.0", "platformdirs>=4.11.0", "pypdf>=6.14.2", "llama-index-core>=0.14.23", "llama-index-readers-file>=0.6.0",]
13
13
  [[project.authors]]
14
14
  name = "Repository Maintainers"
15
15
  email = "maintainers@knuckles.team"
@@ -18,11 +18,11 @@ email = "maintainers@knuckles.team"
18
18
  text = "MIT"
19
19
 
20
20
  [project.optional-dependencies]
21
- mcp = [ "scion-sdk[mcp]>=0.9.0,<1.0.0",]
22
- postgres = [ "scion-sdk[vector,mcp]>=0.9.0,<1.0.0",]
23
- qdrant = [ "scion-sdk[vector,mcp]>=0.9.0,<1.0.0",]
24
- mongodb = [ "scion-sdk[vector,mcp]>=0.9.0,<1.0.0",]
25
- chromadb = [ "scion-sdk[vector-chroma,mcp]>=0.9.0,<1.0.0",]
21
+ mcp = [ "scion-sdk[mcp]>=0.14.1,<0.15",]
22
+ postgres = [ "scion-sdk[vector,mcp]>=0.14.1,<0.15",]
23
+ qdrant = [ "scion-sdk[vector,mcp]>=0.14.1,<0.15",]
24
+ mongodb = [ "scion-sdk[vector,mcp]>=0.14.1,<0.15",]
25
+ chromadb = [ "scion-sdk[vector-chroma,mcp]>=0.14.1,<0.15",]
26
26
  all = [ "vector-mcp[mcp,postgres,qdrant,mongodb,chromadb]>=2.1.2",]
27
27
  test = [
28
28
  "pytest-xdist>=3.8.0", "pytest>=9.1.1", "pytest-asyncio>=1.4.0", "pytest-cov>=7.1.0",]
@@ -1,4 +1,4 @@
1
- """The ChromaDB data directory is owned by this connector, not agent-utilities."""
1
+ """The ChromaDB data directory is owned by this connector, not meristem."""
2
2
 
3
3
  import importlib
4
4
 
@@ -16,7 +16,7 @@ def test_data_dir_defaults_to_the_connector_app_name(monkeypatch, tmp_path):
16
16
  monkeypatch.setenv("XDG_DATA_HOME", str(tmp_path))
17
17
  path = _module()._data_dir()
18
18
  assert path == tmp_path / "vector-mcp"
19
- assert "agent-utilities" not in str(path)
19
+ assert "meristem" not in str(path)
20
20
 
21
21
 
22
22
  def test_data_dir_honours_connector_override(monkeypatch, tmp_path):
@@ -24,8 +24,8 @@ def test_data_dir_honours_connector_override(monkeypatch, tmp_path):
24
24
  assert _module()._data_dir() == tmp_path / "chosen"
25
25
 
26
26
 
27
- def test_legacy_agent_utilities_data_dir_env_is_ignored(monkeypatch, tmp_path):
27
+ def test_legacy_meristem_data_dir_env_is_ignored(monkeypatch, tmp_path):
28
28
  monkeypatch.delenv("VECTOR_MCP_DATA_DIR", raising=False)
29
29
  monkeypatch.setenv("XDG_DATA_HOME", str(tmp_path))
30
- monkeypatch.setenv("AGENT_UTILITIES_DATA_DIR", str(tmp_path / "legacy"))
30
+ monkeypatch.setenv("MERISTEM_DATA_DIR", str(tmp_path / "legacy"))
31
31
  assert _module()._data_dir() == tmp_path / "vector-mcp"
@@ -0,0 +1,24 @@
1
+ """VECTOR-R001.4: a dimension mismatch and an unsupported profile are typed refusals."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from unittest.mock import MagicMock
6
+
7
+ import pytest
8
+
9
+ from vector_mcp.vectordb.base import VectorDBFactory, document_embeddings
10
+
11
+
12
+ @pytest.mark.spec("VECTOR-R001.4")
13
+ def test_dimension_mismatch_and_unsupported_profile_are_typed_refusals() -> None:
14
+ embedder = MagicMock()
15
+ embedder.get_text_embedding_batch = None
16
+ embedder.get_query_embedding.return_value = [0.1, 0.2, 0.3]
17
+ docs = [{"id": "a", "content": "text", "embedding": [0.1, 0.2]}]
18
+
19
+ with pytest.raises(ValueError, match="^vector_dimension_mismatch$"):
20
+ document_embeddings(docs, embedder, 3)
21
+ assert document_embeddings(docs, embedder, 2) == [[0.1, 0.2]]
22
+
23
+ with pytest.raises(ValueError, match="^vector_database_type_unsupported$"):
24
+ VectorDBFactory.create_vector_database("removed_profile")