返回 MCP 目录
public公开dns本地运行

Sketchfab模型平台

允许通过克劳德或光标与Sketchfab的3D模型平台进行交互,使用户能够直接从人工智能界面搜索、查看详细信息和下载3D模型。

article

README

Sketchfab MCP Server

A Model Context Protocol (MCP) server for interacting with Sketchfab's 3D model platform. This MCP allows you to search, view details, and download 3D models from Sketchfab directly through Claude or Cursor.

Features

  • Search for 3D Models: Find models on Sketchfab using keywords, tags, and categories
  • View Model Details: Get comprehensive information about specific models
  • Download Models: Download models in various formats (gltf, glb, usdz, source)

Prerequisites

  • Node.js 18 or higher
  • A Sketchfab API key (for authentication)

Installation

  1. Clone this repository
  2. Install dependencies:
    npm install
    
  3. Build the project:
    npm run build
    

Usage

Running the MCP Server

npm start

To provide your Sketchfab API key, use the --api-key parameter:

node build/index.js --api-key YOUR_API_KEY

Alternatively, you can set the SKETCHFAB_API_KEY environment variable:

export SKETCHFAB_API_KEY=YOUR_API_KEY
npm start

Available Tools

1. sketchfab-search

Search for 3D models on Sketchfab based on keywords and filters.

Parameters:

  • query (optional): Text search query (e.g., "car", "house", "character")
  • tags (optional): Filter by specific tags (e.g., ["animated", "rigged", "pbr"])
  • categories (optional): Filter by categories (e.g., ["characters", "architecture", "vehicles"])
  • downloadable (optional): Set to true to show only downloadable models
  • limit (optional): Maximum number of results to return (1-24, default: 10)

2. sketchfab-model-details

Get detailed information about a specific Sketchfab model.

Parameters:

  • modelId: The unique ID of the Sketchfab model

3. sketchfab-download

Download a 3D model from Sketchfab.

Parameters:

  • modelId: The unique ID of the Sketchfab model to download
  • format (optional): Preferred format to download the model in (gltf, glb, usdz, source)
  • outputPath (optional): Local directory or file path to save the downloaded file

Using with Cursor

  1. Go to Cursor Settings -> MCP -> Add new MCP server
  2. Configure your MCP:
    • Name: Sketchfab MCP
    • Type: command
    • Command: node /path/to/build/index.js --api-key YOUR_API_KEY

Using with Claude Desktop

Add the following MCP config to your Claude Desktop configuration:

{
  "mcpServers": {
    "sketchfab": {
      "command": "node",
      "args": ["/path/to/build/index.js", "--api-key", "YOUR_API_KEY"]
    }
  }
}

Environment Variables

You can set the following environment variables:

  • SKETCHFAB_API_KEY: Your Sketchfab API key (alternative to passing it with the --api-key parameter)

License

ISC

help

运行方式说明

cloud

托管运行

托管运行通常表示这个 MCP Server 由服务方环境承载,用户一般按页面提供的连接方式或授权流程接入,不需要在本地长期启动一个 MCP 进程

  1. 打开服务方连接页
  2. 完成授权或复制端点
  3. 在 MCP 客户端中连接
terminal

本地运行 / 其它方式

本地运行通常需要用户在自己的电脑或服务器上安装依赖,把 server_config 复制到 MCP 客户端,并按 env_schema 补齐环境变量、密钥或其它配置

  1. 复制 server_config
  2. 安装所需依赖
  3. 补齐环境变量后重启客户端