将服务器中的数据和内容暴露给 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
取消订阅