Understanding MCP resources and prompts
Resources give a server readable context In MCP, resources give an AI application structured access to information, so the application can retrieve that information and provide it to models as context. For a newcomer, this means a server can offer material to read and use during a conversation, so the first thing to check is whether your needed context exists as a resource. Those resources can expose data from files, APIs, databases, and other sources, covering many of the places an AI application may need to pull context from. That matters because one server interface can sit in front of very different information stores, so you should ask where the data comes from and how trustworthy it is. Resources can be discovered and watched Each resource has its own URI and can declare a MIME type for content handling, and servers can also publish resource templates for flexible queries with parameters. For readers, the practical point is discoverability: a fixed item is easy to fetch direct...