b

behole

@behole/cooper-hewitt-mcp
0 Stars 345 次浏览 behole 更新于 2026-08-23
该服务暂未提供标准配置,请参考 README 手动接入

可用工具 (2 个)

该服务在 MCP 协议中暴露的工具,AI 可按需调用

search-objects 3 个参数 需填 1 项

Search for objects in the Cooper Hewitt collection

必填参数:query

get-object 1 个参数 需填 1 项

Get detailed information about a specific object

必填参数:id

服务介绍

Cooper Hewitt 模型上下文协议 (MCP) 服务器

描述

一个用于与 Cooper Hewitt 博物馆藏品 API 交互的模型上下文协议 (MCP) 服务器。此工具允许以编程方式搜索和检索有关博物馆藏品的详细信息。

前提条件

  • Node.js(推荐版本 16+)
  • npm(Node 包管理器)

安装

  1. 克隆仓库:
    bash
    git clone https://github.com/behole/cooper-hewitt-mcp.git
    cd cooper-hewitt-mcp

  2. 安装依赖项:
    bash
    npm install

  3. 设置 API Token

    • 在项目根目录下创建一个 .env 文件
    • Cooper Hewitt API 获取 API token
    • 将您的 token 添加到 .env 文件中:

    COOPER_HEWITT_API_TOKEN=your_api_token_here

  4. 更新您的 claude_desktop_config.json 文件
    bash
    "cooper-hewitt": {
    "command": "node",
    "args": ["path to your index.js"]
    }

可用工具

搜索藏品

  • 名称: search-objects
  • 描述: 在 Cooper Hewitt 藏品中搜索对象
  • 参数:
    • query (字符串, 必填): 搜索词
    • page (数字, 可选): 结果页码
    • perPage (数字, 可选): 每页结果数量

获取藏品详情

  • 名称: get-object
  • 描述: 检索特定博物馆藏品的详细信息
  • 参数:
    • id (字符串, 必填): 博物馆藏品的唯一标识符

运行服务器

bash
node index.js

开发

  • 确保所有依赖项已安装
  • 运行测试(如果适用)
  • 检查代码格式

贡献

  1. 分叉仓库
  2. 创建您的功能分支 (git checkout -b feature/AmazingFeature)
  3. 提交更改 (git commit -m 'Add some AmazingFeature')
  4. 推送到分支 (git push origin feature/AmazingFeature)
  5. 打开拉取请求

待办事项(非常初步的工作) ->

  • 修复 Claude Desktop 中艺术品图像处理问题

许可证

指定您的许可证 - 例如,MIT、Apache 2.0

联系

[]

致谢

  • Cooper Hewitt, Smithsonian 设计博物馆
  • 模型上下文协议 SDK

相关 MCP 服务