# Smithery configuration file
# 参考文档:https://smithery.ai/docs/build/project-config/smithery.yaml
name: "@guangxiangdebizi/PaperMCP" # 服务器唯一标识
version: "0.1.0" # 版本号
description: "学术论文搜索 MCP 服务器"
author:
name: "Xingyu_Chen"
email: "guangxiangdebizi@gmail.com"
url: "https://github.com/guangxiangdebizi"
license: "MIT"
keywords: [paper, research, openalex, mcp-server]
# 运行时(Node 版本)要求,可选但建议声明
dependencies:
node: ">=18"
# ---------- 构建配置(可选) ----------
build:
dockerfile: Dockerfile # 相对路径,默认为仓库根下的 Dockerfile
dockerBuildPath: "." # 构建上下文,默认为仓库根
# ---------- 启动配置 ----------
startCommand:
type: stdio # 基于 STDIO 的 MCP
# ——配置选项的 JSON Schema——
configSchema:
type: object
required: ["OPENALEX_EMAIL"]
properties:
OPENALEX_EMAIL:
type: string
title: "OpenAlex API Email"
description: "Your email address for OpenAlex API access"
# ——返回实际启动命令的 JS 函数——
commandFunction: |-
(config) => ({
command: "node",
args: ["build/index.js"],
env: {
NODE_ENV: "production",
OPENALEX_EMAIL: config.OPENALEX_EMAIL
}
})
# ---------- 示例配置,供 UI 展示 ----------
exampleConfig:
OPENALEX_EMAIL: "your_email@example.com"