Create a new resource within a server.
Documentation Index
Fetch the complete documentation index at: https://docs.getmcp.com/llms.txt
Use this file to discover all available pages before exploring further.
docs://getting-started, config://app, file:///data/report.json.text/plain, text/markdown, application/json.| Value | Description |
|---|---|
static | Content stored directly in data_source_config.content |
url | Content fetched from an external URL at read time |
wp_query | Content generated from a WordPress query |
callback | Content generated by a custom PHP callback function |
static — serve fixed text content:url — fetch content from a remote URL:cache_ttl is optional (seconds, default 0 = no cache).wp_query — query WordPress posts/pages:callback — call a registered PHP function:($resource, $params) and must return a string.file:///data/{id}.json.
When set, the resource appears under resources/templates/list in the MCP protocol.