learn-mcp
If you are the rightful owner of learn-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
MCP-Learn is a Model Context Protocol server designed to enhance search capabilities for Microsoft Learn.
π MCP-Learn: Model Context Protocol Server
Welcome to MCP-Learn!
Your friendly neighborhood Model Context Protocol (MCP) server π¦ΈββοΈβmaking searches for Learn agentic
β¨ Features
- β‘ Fast & Lightweight: Blazing fast context handling.
- π Secure: Built-in authentication and authorization.
- π Flexible Protocols: Supports multiple context protocols.
- π§© Extensible: Easy to add your own plugins.
- π Metrics: Real-time stats and monitoring.
- π οΈ Developer Friendly: Clean API and great docs.
π¦ Install
You're recommended to create a virtual environment for this project.
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
Then, install the required packages:
git clone https://github.com/your-org/mcp-learn.git
cd mcp-learn
pip install requests "mcp[cli]"
π Run
Start server with:
cd src
python server.py # should start a server on http://localhost:8000
Start client with:
python client.py
Tools
- learn_filter, returns the filters available for Microsoft Learn.
- free_text, takes a parameters
query
and returns a list of search results from Microsoft Learn. - topic_search, takes a parameter
topic
andcategory
and returns a list of search results from Microsoft Learn. For example topic "Azure" and category "products".
Use with Visual Studio Code
Use in Vs Code by adding an entry to .vscode/mcp.json and its "servers" section like so:
{
"servers": [
{
"type": "sse",
"url": "http://localhost:8000/sse"
}
]
}
In Agent mode, type a prompt like so:
Do a free text search for JavaScript, use a tool
License
This project is licensed under the MIT License. See the file for details.
π€ Contributing
Pull requests welcome! For major changes, please open an issue first.
Happy hacking! π