sciverse-mcp-server 0.5.1 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/config.js +1 -1
- package/dist/generated/tools.d.ts +1 -1
- package/dist/generated/tools.js +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
[English](#english) | [中文](#中文)
|
|
6
6
|
|
|
7
|
-
Official MCP (Model Context Protocol) server for the
|
|
7
|
+
Official MCP (Model Context Protocol) server for the Sciverse open platform.
|
|
8
8
|
Exposes five academic-paper retrieval tools to any MCP-compatible coding agent
|
|
9
9
|
— Claude Code, Cursor, Codex CLI, Windsurf, Continue, and more.
|
|
10
10
|
|
|
@@ -110,7 +110,7 @@ Find 3 papers on Transformer attention mechanism with quoted excerpts.
|
|
|
110
110
|
Or let the agent learn the schema first:
|
|
111
111
|
|
|
112
112
|
```
|
|
113
|
-
List the
|
|
113
|
+
List the Sciverse fields and the values access_oa_status can take, then find
|
|
114
114
|
2024+ gold-OA Nature papers.
|
|
115
115
|
```
|
|
116
116
|
|
|
@@ -140,7 +140,7 @@ npm install --registry https://registry.npmmirror.com
|
|
|
140
140
|
|
|
141
141
|
## 中文
|
|
142
142
|
|
|
143
|
-
|
|
143
|
+
Sciverse 开放平台官方 MCP (Model Context Protocol) server。把 5 个学术文献检索
|
|
144
144
|
工具暴露给任何 MCP 兼容的 coding agent —— Claude Code、Cursor、Codex CLI、
|
|
145
145
|
Windsurf、Continue 等。
|
|
146
146
|
|
|
@@ -235,7 +235,7 @@ Python/TS SDK、ClawHub skill、OpenAI / Anthropic tool 保持一致。
|
|
|
235
235
|
或让 agent 先学 schema 再发查询:
|
|
236
236
|
|
|
237
237
|
```
|
|
238
|
-
列出
|
|
238
|
+
列出 Sciverse 有哪些字段、access_oa_status 取值,然后找 2024 年以来 gold OA
|
|
239
239
|
状态的 Nature 期刊论文。
|
|
240
240
|
```
|
|
241
241
|
|
package/dist/config.js
CHANGED
|
@@ -11,7 +11,7 @@ export class ConfigError extends Error {
|
|
|
11
11
|
export function loadConfig(env = process.env) {
|
|
12
12
|
const token = resolveToken(undefined, env);
|
|
13
13
|
if (!token) {
|
|
14
|
-
throw new ConfigError("未找到
|
|
14
|
+
throw new ConfigError("未找到 Sciverse API Token。请设 SCIVERSE_API_TOKEN 环境变量,或运行 " +
|
|
15
15
|
"`pip install sciverse && sciverse auth login` 保存凭据到 ~/.sciverse/credentials.json。");
|
|
16
16
|
}
|
|
17
17
|
const baseUrl = resolveEndpoint(undefined, env).replace(/\/$/, "");
|
package/dist/generated/tools.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Auto-generated by scripts/gen-tools.mjs. Do not edit.
|
|
2
2
|
// Source of truth: openapi.yaml
|
|
3
|
-
export const TOOLS_VERSION = "0.5.
|
|
3
|
+
export const TOOLS_VERSION = "0.5.3";
|
|
4
4
|
export const TOOLS = [
|
|
5
5
|
{
|
|
6
6
|
"name": "search_papers",
|
|
@@ -150,7 +150,7 @@ export const TOOLS = [
|
|
|
150
150
|
},
|
|
151
151
|
{
|
|
152
152
|
"name": "list_catalog",
|
|
153
|
-
"description": "Returns the schema catalog for search_papers: every field name, type,\nwhether it's filterable / sortable, default-return status, human\ndescription, and applicable FilterOperators.\nUse when: \"Which field do I filter by DOI?\", \"What values can\naccess_oa_status take?\", \"What's the right enum for metadata_type?\".\nNot for: actually searching papers (use search_papers / semantic_search).\nTypical pattern: call once when first encountering
|
|
153
|
+
"description": "Returns the schema catalog for search_papers: every field name, type,\nwhether it's filterable / sortable, default-return status, human\ndescription, and applicable FilterOperators.\nUse when: \"Which field do I filter by DOI?\", \"What values can\naccess_oa_status take?\", \"What's the right enum for metadata_type?\".\nNot for: actually searching papers (use search_papers / semantic_search).\nTypical pattern: call once when first encountering Sciverse or facing\nan ambiguous field need, then construct precise search_papers filters\nfrom the returned schema.\nPass include_sample_values=true to also fetch top-20 values for\nenum-like fields (OpenSearch terms aggregation, 24h cached).",
|
|
154
154
|
"inputSchema": {
|
|
155
155
|
"type": "object",
|
|
156
156
|
"properties": {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sciverse-mcp-server",
|
|
3
|
-
"version": "0.5.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.5.3",
|
|
4
|
+
"description": "Sciverse MCP server — exposes academic paper retrieval (search_papers / semantic_search / read_content) to MCP-compatible coding agents (Claude Code, Cursor, Codex CLI, Windsurf, ...).",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://github.com/opendatalab/Sciverse-Agent-Tools/tree/main/packages/mcp",
|
|
7
7
|
"repository": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"bugs": {
|
|
13
13
|
"url": "https://github.com/opendatalab/Sciverse-Agent-Tools/issues"
|
|
14
14
|
},
|
|
15
|
-
"author": "
|
|
15
|
+
"author": "Sciverse Platform Team",
|
|
16
16
|
"type": "module",
|
|
17
17
|
"main": "./dist/server.js",
|
|
18
18
|
"types": "./dist/server.d.ts",
|