# Hugging Face — How to Build an MCP Server with Gradio

- Company: Hugging Face (huggingface.co)
- Announced: 2025-04-30T00:00:00+00:00
- Subject: Platform
- Source: https://huggingface.co/blog/gradio-mcp
- Record: https://forck.live/items/1702-how-to-build-an-mcp-server-with-gradio

This blog post is a tutorial on how to use Gradio to build an MCP (Model Context Protocol) server for LLMs, allowing any Python function to be exposed as a tool that LLMs can call. It includes examples, setup instructions, and advanced features like resources and prompts.

## Evidence

Verbatim from https://huggingface.co/blog/gradio-mcp:

> This guide will show you how to use Gradio to build an MCP server in just a few lines of Python.

---

Record: https://forck.live/items/1702-how-to-build-an-mcp-server-with-gradio
Catalogue: https://forck.live/llms.txt
Feed: https://forck.live/feed.md
