从你的 server 向 LLMs 暴露数据和内容
file:///home/user/documents/report.pdf
postgres://database/customers/schema
screen://localhost/display1
resources/list
端点暴露一个具体的 resources 列表。每个 resource 包括:
resources/read
请求。
服务器使用一个 resource 内容列表进行响应:
resources/read
请求返回多个 resources。例如,当读取目录时,可以使用此方法返回目录中的文件列表。notifications/resources/list_changed
通知 clients。
resources/subscribe
notifications/resources/updated
resources/read
获取最新内容resources/unsubscribe
取消订阅