从服务器向 LLM 公开数据和内容
file:///home/user/documents/report.pdf
postgres://database/customers/schema
screen://localhost/display1
resources/list
端点公开具体资源列表。每个资源包括:
resources/read
请求。
服务器响应资源内容列表:
resources/read
请求返回多个资源。例如,当读取目录时,可以用来返回目录内的文件列表。notifications/resources/list_changed
通知客户端其可用资源列表何时发生变化。
resources/subscribe
notifications/resources/updated
resources/read
获取最新内容resources/unsubscribe
取消订阅