[WIP] Introduce native MCP API
What's being changed:
This PR adds basic MCP capabilities to Weaviate through a new endpoint for agentic use-cases
- It introduces a dependency on
mcp-gofor scaffolding and bootstrapping an MCP API using the Streamable HTTP standard proposed in the spec - It exposes four tools for performing basic operations against Weaviate:
-
get-schemato return the full list of collection configurations -
get-tenantsto return the full list of tenants of a multi-tenancy collection -
search-with-hybridto perform a vector search using Weaviate's hybrid algorithm -
insert-oneto add a single object to a collection
-
- A new RBAC domain gating MCP capabilities behind a dedicated permission in RBAC-enabled instances
Review checklist
- [ ] Documentation has been updated, if necessary. Link to changed documentation:
- [ ] Chaos pipeline run or not necessary. Link to pipeline:
- [x] All new code is covered by tests where it is reasonable.
- [ ] Performance tests have been run or not necessary.
Quality Gate passed
Issues
2 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Great to see you again! Thanks for the contribution.
beep boop - the Weaviate bot 👋🤖
PS:
Are you already a member of the Weaviate Slack channel?
Quality Gate passed
Issues
1 New issue
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Quality Gate passed
Issues
1 New issue
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code