Replies: 4 comments 2 replies
-
Thanks for suggesting! We're currently knee deep in foundational work, but once that's settled, we might consider adding this functionality. It should probably live as a plugin anyway, so maybe somebody else is faster than us |
Beta Was this translation helpful? Give feedback.
-
Over the long weekend, I hacked a PoC together. It is far from perfect, but it would be interesting to get some feedback. As this is my first mkdocs "plugin", I am sure there is a lot I can improve. |
Beta Was this translation helpful? Give feedback.
-
I came here to create a discussion item and found this. I tackled this from a different direction. I have created a project for a stand-alone local MCP server which is capable of loading the live I did this for the Powertools for AWS Lambda documentation to check out how it can empower AI assistants (see here). It also then scrapes the live doc pages and converts to markdown for AI consumption. After building this I thought - this could be useful for mkdocs more generally and I get that its not your core purpose here, so I came here to say - would you be interested if I made this more generic and package it up as an add-on for mkdocs (and found this feature proposal). Also interested in input from @squidfunk so we can we do this responsibly without annoying the whole world. Am curious how you see this as a plugin and how that would work - What I have built directly hooks into a deployed site and simply works - I feel there should be some mkdocs integration to enable conformity and approval of using an MCP server to access doc sites (see: not annoying the whole world). I also wanted to ask if I can integrate your front-end code for re-constituting the index rather than the cobbled version I have now (I was moving fast the other day). Let me know your thoughts. Happy to collaborate on this idea. |
Beta Was this translation helpful? Give feedback.
-
I love where you are going with the foundational work! Thanks for the response. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I would like to propose the integration of a lightweight MCP (Model Context Protocol) server into MkDocs Material. The goal is to allow AI tools (like Langflow, Open WebUI, etc.) to interact directly with the documentation content and structure — enabling use cases such as contextual chatbots, intelligent search, and dynamic assistants.
What is MCP?
The Model Context Protocol (MCP) is a conceptual interface through which LLM-based systems can query structured documentation, retrieve relevant context, and reason more effectively. It defines a standard way to expose:
This protocol would make it possible to use MkDocs-powered sites as intelligent knowledge bases, with minimal setup.
Proposed Implementation (Initial Idea)
Use Cases
Why This Matters
With the growing adoption of AI assistants and custom LLM workflows, documentation is no longer just static content — it becomes an interface. A native MCP integration in MkDocs Material would make this project even more future-proof and open up exciting new developer experiences.
Beta Was this translation helpful? Give feedback.
All reactions