mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-26 23:44:17 +02:00
Update docs and add_resource_fn
This commit is contained in:
parent
29b31573bc
commit
0cc7d88bd7
4 changed files with 18 additions and 15 deletions
|
|
@ -27,9 +27,9 @@ if __name__ == "__main__":
|
|||
## What is MCP?
|
||||
The Model Context Protocol lets you build servers that expose data and functionality to LLM applications in a secure, standardized way. It is often described as "the USB-C port for AI", providing a uniform way to connect LLMs to resources they can use. It may be easier to think of it as an API, but specifically designed for LLM interactions. MCP servers can:
|
||||
|
||||
- Expose data through **Resources** (think of these sort of like GET endpoints; they are used to load information into the LLM's context)
|
||||
- Provide functionality through **Tools** (sort of like POST endpoints; they are used to execute code or otherwise produce a side effect)
|
||||
- Define interaction patterns through **Prompts** (reusable templates for LLM interactions)
|
||||
- Expose data through `Resources` (think of these sort of like GET endpoints; they are used to load information into the LLM's context)
|
||||
- Provide functionality through `Tools` (sort of like POST endpoints; they are used to execute code or otherwise produce a side effect)
|
||||
- Define interaction patterns through `Prompts` (reusable templates for LLM interactions)
|
||||
- And more!
|
||||
|
||||
There is a low-level Python SDK available for implementing the protocol directly, but FastMCP aims to make that easier by providing a high-level, Pythonic interface.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue