Skip to content

angee.knowledge_graph_pgvector.mcp_tools

MCP tools contributed by the knowledge pgvector plugin.

Adds one semantic_search tool over the semantic_search query this plugin contributes in :mod:~angee.knowledge_graph_pgvector.schema. It reuses the same actor-scoped GraphQL engine the knowledge tools use — the compiler derives the input schema, projection, and document from the schema, so this module only names the operation and how to project it. Registered through the mcp_tools AppConfig seam with no edit to the knowledge addon; mcp_tools (never mcp) keeps the module from shadowing the third-party mcp package.

register

python
def register(server: FastMCP) -> None

Register the pgvector plugin's MCP tools on the server.

Released under the AGPL-3.0 License.