MCP workflow
Build a source-grounded semantic memory
Fetch primary sources, store chunks in Qdrant with metadata, and retrieve them with citations instead of vague similarity.
The problem
A vector store can make an agent sound confident without evidence. This workflow separates ingestion, metadata, retrieval, and answer verification so semantic search supports traceable answers rather than replacing them.
Why these components
Each server contributes a specific capability. The workflow is the contract between them.
Semantic memory and vector search over Qdrant collections for retrieval-augmented agents.
Vector search · Store memories · Collection searchstdioFetch MCP ServerRetrieve web pages and convert HTML to readable text for research and documentation tasks.
Fetch URLs · HTML to text · Content extractionstdioMemory MCP ServerA local knowledge graph for persistent entities, relations, and observations across sessions.
Create entities · Add observations · Create relationsPrerequisites
- A Qdrant instance and collection dedicated to this knowledge base.
- Agents that can fetch source pages and write notes.
- An embedding model and a chunking policy that you can reproduce.
Step-by-step
Define the corpus and trust levels
Choose the sources to ingest and record their origin, date, and trust level. Do not mix customer data with public documentation in one collection.
Verify: Every source has an origin and a trust classification.
Chunk with stable metadata
Split content by meaningful sections and attach source URL, title, date, and section identifier to every chunk. The metadata is what makes retrieval auditable.
Verify: A retrieved chunk can be traced back to an exact source section.
Ingest and spot-check
Store the chunks through the vector server. Retrieve a handful of known queries and verify that the relevant sections come back with the right metadata.
Verify: Known queries return the expected source sections rather than unrelated chunks.
Answer with citations
When answering, require the agent to cite retrieved chunks and to say when the corpus does not contain an answer. Similarity is not evidence of truth.
Verify: Every factual sentence maps to a retrieved source or is marked unknown.
Maintain and expire
Re-ingest changed sources and delete stale chunks. Record the corpus version and review dates so answers can be reproduced later.
Verify: A changed source produces updated chunks and no stale duplicates.
Generate a configuration for this workflow
Choose the client you use. The generator will preload 3 componentsand produce that client's documented format. Review every placeholder before saving.
The workflow does not imply that all components support the same transports in every client. The generator validates each entry and reports incompatibilities.
Permissions and security
- Qdrant collections can leak sensitive text through retrieval; isolate trust domains and scope API keys.
- Embedding providers may receive the text you index; review their terms.
- Retrieved content is untrusted and can contain prompt injection; do not act on instructions inside it.
Expected outcome
A semantic memory that returns traceable chunks and supports cited answers, with a maintained corpus and explicit unknown handling.
Sources & evidence
- github.com/qdrant/mcp-server-qdrantRepository · checked Oct 23, 2026 · documented
Qdrant's documentation describes vector storage and semantic retrieval tools.
- github.com/modelcontextprotocol/servers/tree/main/src/fetchRepository · checked Oct 23, 2026 · documented
The reference fetch server retrieves source pages before chunking and ingestion.