OriginSelect MCP服务器
模型上下文协议服务器 原产地选择 --通过人工智能代理搜索经过原产地验证的道德产品和品牌。
适用于Claude Desktop、Cursor、Windsurf和任何兼容MCP的客户端。
快速开始
cd originselect-mcp-server
npm install克劳德桌面
添加到您的Claude桌面配置(~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"originselect": {
"command": "node",
"args": ["/absolute/path/to/originselect-mcp-server/src/index.js"],
"env": {
"API_BASE_URL": "https://api.originselect.com"
}
}
}
}光标/风帆
添加到MCP设置中:
{
"originselect": {
"command": "node",
"args": ["./originselect-mcp-server/src/index.js"],
"env": {
"API_BASE_URL": "https://api.originselect.com"
}
}
}工具
search_products
按值、国家、类别、品牌或关键字搜索策划的产品目录。
"Find organic baby products from Canada under $25"
→ { country: "Canada", category: "Baby", values: ["organic"], priceMax: 25 }| 参数 | 类型 | 说明 |
|---|---|---|
query | string | 上下文的可选NL查询 |
country | string | 原产国(加拿大、美国) |
category | string | 产品类别(美容、婴儿、宠物护理等) |
values | string\[\] | 伦理价值观(女性所有、有机、b-corps等) |
brand | string | 品牌名称 |
keywords | string\[\] | 产品关键字(洗发水、咖啡等) |
priceMax | number | 最高价格(美元) |
market | 字符串 | canada, global,或 all (默认值:全部) |
limit | number | 最大产品数(1-50,默认值:12) |
search_brands
按道德价值观、国家或类别发现品牌。
| 参数 | 类型 | 说明 |
|---|---|---|
country | string | 原产国 |
values | string\[\] | 伦理价值观 |
category | string | 产品类别 |
brand | string | 要查找的品牌名称 |
market | string | 市场范围 |
limit | number | 最大品牌数(1-20,默认值:10) |
refine_search
通过添加/删除筛选器来优化之前的搜索。拿着 intent 来自先验的对象 search_products 响应并应用修改——无需从头开始重新查询。
{
"intent": { "...from previous response..." },
"modifications": [
{ "action": "add", "field": "values", "value": "organic" },
{ "action": "remove", "field": "values", "value": "vegan" },
{ "action": "modify", "field": "priceMax", "value": 30 }
]
}get_values
列出所有21种支持的道德/所有权价值观(女性所有、b公司、有机等)。
get_categories
列出所有17个支持的产品类别。
get_countries
列出所有受支持的原产国(目前为加拿大和美国)。
建筑
AI Agent (Claude, GPT, Cursor)
│
│ MCP (stdio)
▼
┌─────────────────────────┐
│ MCP Server (this pkg) │
│ 6 tools │
└───────────┬─────────────┘
│ HTTPS
▼
┌─────────────────────────┐
│ OriginSelect API │
│ api.originselect.com │
└─────────────────────────┘环境变量
| 变量 | 默认值 | 描述 |
|---|---|---|
API_BASE_URL | https://api.originselect.com | 发现API基础URL |
支持的值
women-owned · black-owned · indigenous-owned · veteran-owned
family-owned · lgbtq-owned · aapi-owned · latino-owned · minority-owned
b-corp · organic · sustainable · vegan · non-gmo · fair-trade
non-toxic · cruelty-free · fragrance-free · plastic-free
social-impact · gluten-free安全与信任
此MCP服务器是 开源 并且完全可审计:
- 只读 --仅向以下对象发出出站HTTPS请求
api.originselect.com - 没有文件系统访问权限 --不读取或写入任何本地文件
- 无遥测 --不向任何地方发送用户数据或分析
- 最小依赖性 --单一运行时依赖关系(
@modelcontextprotocol/sdk) - 源代码 —
看 安全.md 用于漏洞报告。
许可证
麻省理工学院
