Answers from documentation with MCP
An MCP tool searches up-to-date docs and the model answers from those results.
Advanced6 min
In this lesson
- MCP tools as nodes
- Grounded answers, not guesses
Build it yourself
This workflow is created in your account and opened in the editor, where you can change and run it.
The nodes in this workflow
Question
question
The user’s technical question.
Docs search
microsoft_docs_search
The free Microsoft Learn MCP tool; returns relevant passages from official docs.
Text template
{{question}} {{docs}}
Puts the question and the search results together.
Language model
Claude Sonnet
The grounded final answer.
Answer
answer
Returns the result under this key in the API response and in chat.