惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Visual Studio Blog
I
InfoQ
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 【当耐特】
小众软件
小众软件
B
Blog RSS Feed
大猫的无限游戏
大猫的无限游戏
博客园 - 三生石上(FineUI控件)
Engineering at Meta
Engineering at Meta
人人都是产品经理
人人都是产品经理
Microsoft Security Blog
Microsoft Security Blog
Last Week in AI
Last Week in AI
H
Help Net Security
爱范儿
爱范儿
云风的 BLOG
云风的 BLOG
博客园 - 司徒正美
Y
Y Combinator Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Microsoft Azure Blog
Microsoft Azure Blog
L
LangChain Blog
WordPress大学
WordPress大学
GbyAI
GbyAI
Google DeepMind News
Google DeepMind News
腾讯CDC

Mintlify Blog

22 UX improvements to the web editor Introducing the Mintlify Help Center Starter Kit Introducing the collaborative editor built for teams and agents Workflows, rebuilt Is your documentation agent-ready? Mintlify raises $45M Series B led by Andreessen Horowitz and Salesforce Ventures 5 things you didn't know you could do in the Mintlify web editor The improved Mintlify CLI Docs on autopilot: From zero to self-maintaining with Mintlify The state of agent traffic in documentation (March 2026) How we built a virtual filesystem for our Assistant We Replaced Our Internal Wiki With a Slack Bot. You Should Too. 8 ways teams use Mintlify to keep docs updated automatically Documentation is your AI interface What three years of watching AI in production taught us Bridging two JSX runtimes: How we solved Astro's React children problem AI agents are shipping faster than anyone can document Knowledge management systems for technical teams Workflows: Automate documentation maintenance Mintlify acquires Helicone to redefine AI knowledge infrastructure Why more product managers are switching to Mintlify Auto-generating documentation sites from GitHub repos Your docs, your frontend, our content engine Take control of your documentation system Almost half your docs traffic is AI, time to understand the agent experience @mintlify for better docs, faster Mintlify for Enterprise Real llms.txt examples from leading tech companies (and what they got right) Mintlify + Claude Opus 4.6: Powering AI-native knowledge management Declaring Clankruptcy: An experiment in agent orchestration
Generate MCP servers from your docs
Han Wang · 2025-03-06 · via Mintlify Blog

Everything that you need to build a Model Context Protocol (MCP) server is already available in your docs.

As MCP becomes more widely adopted by the day, we wanted to make it easy for everyone to build that bridge between AI and your APIs.

That's why we've launched the ability to generate MCP servers directly from your documentation.

Model Context Protocol is a standard released by Anthropic in November 2024 to simplify how applications can provide context to large language models (LLMs).

It enables LLMs to use external tools & services, with MCP servers exposing your data to AI and MCP clients allowing access to that data. For example, you can use an MCP client like Windsurf or Cursor to search for a pull request by using GitHub's MCP server.

While MCPs have recently gained intense traction as a way to embed products into AI ecosystems, best practices are still evolving.

We believe the most effective approach is to dynamically generate MCP servers based on existing data structures, like your OpenAPI spec. With a simple CLI installation, Mintlify enables you to do just that—automatically setting up an MCP server that allows AI applications to interact with your docs in these key scenarios:

  1. General search & answer returning, when users want to get a contextual answer
  2. Real-time API querying, when users want AI to execute actions on their behalf

Using AI to get fast, contextual answers is quickly becoming the default method over traditional search.

Your product documentation needs to fit into contextual answer workflows in two ways:

  1. Real-time AI search – When someone asks an LLM a question about your product, such as "How do I authenticate with Foo's API,” the AI application needs a structured way to retrieve relevant information.
  2. Static context loads – When users know they need an answer from specific docs, they need to be able to easily load them into the context windows of the AI app.

To make AI search easier for users, you can now leverage:

  • Structured formatsMarkdown versions of documentation allow people can more easily load context into AI apps.
  • Precompiled full-context filesAn /llms-full.txt file provides AI apps with a single reference to your entire documentation for a one-time static load.
  • AI-friendly indexingAn /llms.txt file acts as a sitemap for AI, helping general purpose LLMs more efficiently index your content and surface it when people are searching.
  • MCP servers for docs — Now, LLMs can query and provide up-to-date responses on your documentation content without users having to manually load into context windows.

Together, these elements ensure that documentation isn't just human-readable but also optimized for AI to retrieve and parse for end users.

Beyond returning answers, an exciting and increasingly popular use case is how AI apps can interact with APIs directly.

Instead of just answering “How do I authenticate with Foo's API?”, an AI app equipped as an MCP client could take it a step further—actually generating an authenticated request or executing an action on the user's behalf.

By exposing your OpenAPI spec via an MCP server, you allow AI apps to:

  • Provide real-time API guidance – Users can ask AI how to perform an action, and it can pull the exact API reference from your documentation.
  • Enable AI-assisted API calls – Instead of just showing an endpoint, AI apps can generate a ready-to-use API request.
  • Integrate API execution into workflows – With proper authentication, an AI app could even execute actions, such as initiating a Stripe refund or retrieving live data from your service.

MCP servers for documentation marks a major upgrade for the user experience, from AI simply returning answers to actually executing requests on their behalf.

MCP is only three months old, and we're just beginning to see its potential.

More than just a technical shift, this is a distribution opportunity. Getting your MCP server listed in registries like OpenTools MCP Server Registry, mcp.run, Cursor.directory, and Windsurf.run makes it easier for users to find and integrate with your product.

Optimizing documentation for both human users and AI isn't just a nice-to-have—it's becoming table stakes. We're quickly moving toward a future where AI agents handle tasks on behalf of users, and an MCP server is a critical piece of that future.

If you're interested in learning more about MCP & documentation, get in touch with our team.