Skip to content

Commit c5a0987

Browse files
Added a system prompt to README.md (MicrosoftDocs#23)
In order for LLMs to actually utilize this MCP server appropriately, they will often need some encouragement / direction in the form of a system prompt. Even tool-friendly models like Claude will not default to calling a tool when they believe they have sufficient information inside their training data. I've included a sample system prompt (a Cursor rule) to the README.md that has helped me use this tool successfully.
1 parent a026735 commit c5a0987

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,20 @@ Some clients don't support `Streamable HTTP`, so you can use `mcp-remote` as a w
8282

8383
## ❓ Troubleshooting
8484

85+
### 💻 System Prompt
86+
87+
Even tool-friendly models like Claude Sonnet 4.0 will not default to calling MCP tools typically - they need to be given some encouragement in the form of "system prompts."
88+
89+
Here's an example of a Cursor rule (a system prompt) that will cause the LLM to utilize `microsoft.docs.mcp` more frequently:
90+
91+
```md
92+
## Querying Microsoft Documentation
93+
94+
You have access to an MCP server called `microsoft.docs.mcp` - this tool allows you to search through Microsoft's latest official documentation, and that information might be more detailed or newer than what's in your training data set.
95+
96+
When handling questions around how to work with native Microsoft technologies, such as C#, F#, ASP.NET Core, Microsoft.Extensions, NuGet, Entity Framework, the `dotnet` runtime - please use this tool for research purposes when dealing with specific / narrowly defined questions that may occur.
97+
```
98+
8599
### ⚠️ Common Issues
86100

87101
| Issue | Possible Solution |

0 commit comments

Comments
 (0)