将数据和内容从您的服务器暴露给 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
,附带资源 URInotifications/resources/updated
resources/read
获取最新内容resources/unsubscribe
取消订阅