SY

stark-ydq/site-mcp-servers

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

0 stars 0 forks 质量 71 趋势 14MIT

离线MCP工具用于音乐计时、音高转换和Tesla包裹模板检查。

概览

两台小型MCP服务器用于音乐计时和特斯拉包装准备。每个工具都本地运行,使用算术或捆绑的参考数据。无需API密钥、账户、网络请求、遥测或网站后台连接。 - tempo_to_timing:四分音符BPM到音符时长和小节长度。- note_to_frequency:科学的音高记号,Hz和MIDI数。- frequency_to_note:最近的平均律音符和分音偏差。 例如,120 BPM 可获得 500 毫秒的四分音符、375 毫秒的附八分音符和 4/4 拍的 8 秒四小节短语。A4 在默认调音下为 440 Hz。该软件包执行音乐计算;不生成或转换音频。 - list_vehicle_templates:按族筛选12个捆绑的模型/装饰模板。- validate_wrap_metadata:检查调用者提供的尺寸、文件名和字节大小与所选模板的匹配。 目录中引用了特斯拉于2026年10月17日公布的模板。

概述(AI 翻译)

两个小型MCP服务器用于音乐时间和特斯拉包裹准备。每个工具 本地运行,使用算术或捆绑的参考数据。没有API密钥,账户, 需要网络请求、遥测或网站后端连接。

声乐器 — 音乐工具

从声音到乐器。

  • tempo_to_timing:四分音符BPM到音符时长和小节长度。
  • note_to_frequency:科学音高符号,用于Hz和MIDI编号。
  • frequency_to_note:最近平均律音和分音偏差。

例如,120 BPM可得500毫秒的四分音符,375毫秒的附八分音符, 一段8秒的四小节4/4小节乐句。A4在默认调音下为440赫兹。 该软件包执行音乐计算;不生成或转换音频。

特斯拉包裹生成器 — 模板工具

来自特斯拉包裹发生器。

  • list_vehicle_templates:按家族筛选12个捆绑模型/装饰模板。
  • validate_wrap_metadata:检查尺寸、文件名和字节大小 由呼叫者对所选模板进行。

目录中引用了特斯拉发布的模板, 2026年10月17日检查。本地Cybertruck模板是1024×768; 其他捆绑的模板是1024×1024。

本页由 AI 翻译,技术细节请以原文为准。

README

Offline MCP tools

Two small MCP servers for music timing and Tesla wrap preparation. Every tool runs locally using arithmetic or bundled reference data. No API key, account, network request, telemetry or website backend connection is required.

Voice To Instrument — Music Utilities

From Voice To Instrument.

  • tempo_to_timing: quarter-note BPM to note durations and bar length.
  • note_to_frequency: scientific pitch notation to Hz and MIDI number.
  • frequency_to_note: nearest equal-tempered note and cents deviation.

For example, 120 BPM gives a 500 ms quarter note, a 375 ms dotted eighth and an 8-second four-bar phrase in 4/4. A4 is 440 Hz with the default tuning. This package performs music calculations; it does not generate or convert audio.

Tesla Wrap Generator — Template Utilities

From Tesla Wrap Generator.

  • list_vehicle_templates: filter 12 bundled model/trim templates by family.
  • validate_wrap_metadata: check dimensions, filename and byte size supplied by the caller against the selected template.

The catalog references Tesla’s published templates, checked on October 17, 2026. The native Cybertruck template is 1024 × 768; the other bundled templates are 1024 × 1024. Reference links are returned as text and are never downloaded by the server. No template images are bundled.

Checks use conservative limits of 1,000,000 bytes and a 30-character filename including .png. They check supplied metadata only, not file contents, panel alignment or acceptance by a particular vehicle/software version. This package does not generate wraps. It is not affiliated with Tesla, Inc.

Install

Download the appropriate .mcpb file from Releases and install it in a client supporting MCP bundles. Node.js 20.19+ is required. No environment variables or credentials are needed.

For a client configured using JSON, extract the bundle (it is a ZIP archive) and use the absolute path to its server/index.cjs:

{
  "mcpServers": {
    "music-utilities": {
      "command": "node",
      "args": ["/absolute/path/to/extracted/voice/server/index.cjs"]
    },
    "wrap-utilities": {
      "command": "node",
      "args": ["/absolute/path/to/extracted/tesla/server/index.cjs"]
    }
  }
}

Development

npm ci
npm test
npm run build
npm run smoke

The smoke test connects through the MCP client SDK and calls every tool in each extracted bundle. On macOS the child servers run with OS-level network access denied. Bundle hashes and Registry metadata are generated by the build.

Registry identifiers:

  • io.github.stark-ydq/voicetoinstrument
  • io.github.stark-ydq/teslawrapgenerator

License: MIT. Third-party dependency notices are included in each bundle.

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "music-utilities": { "command": "node", "args": ["/absolute/path/to/extracted/voice/server/index.cjs"] }, "wrap-utilities": { "command": "node", "args": ["/absolute/path/to/extracted/tesla/server/index.cjs"] } } }