4 v1.0.4 更新于 2026-11-05

Model Salt MCP Server

引入模型之外的随机性,同一个提示词能得到不同但依然切题的回答。

适用客户端

本地客户端
Claude Desktop、Claude Code、Cursor、Cline 等支持本地 MCP 的客户端
远程接入
任意支持远程 MCP(streamable-http)的客户端,如 Claude、ChatGPT 开发者模式、自建 Agent

安装配置

本地运行(npm)
{
  "mcpServers": {
    "model-salt": {
      "command": "npx",
      "args": [
        "-y",
        "@modelsalt/model-salt"
      ]
    }
  }
}
远程接入(streamable-http)
{
  "mcpServers": {
    "model-salt": {
      "url": "https://modelsalt.com/mcp"
    }
  }
}

将上方 JSON 加入 MCP 客户端配置(如 Claude Desktop 的 claude_desktop_config.json 或项目的 .mcp.json)即可接入;远程接入按客户端要求填写 URL 与鉴权头。

提供的工具 接入后 Agent 可调用这 1 个工具

model_salt
为模型请求注入外部随机性,使同一提示产生不同但符合要求的结果。