Token导航 LogoToken导航TokenDH.com
LLM Response MCP logo
AI代理未说明官方级别未说明来源级核验

LLM Response MCP

MCP Server

通过临时文件等待用户输入以节省Windsurf信用的MCP服务器工具。

工具数

0

提示词数

0

GitHub Stars

0

资源数

0
TypeScriptWindsurf模型集成Windsurf

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

Vaalley

提供方

Vaalley

最后核验

2026/5/17 20:21

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

Windsurf信用储蓄MCP

保存Windsurf积分的MCP服务器。与其结束对话 LLM调用此工具通过临时文件等待用户输入。

运作原理

  1. LLM电话 wait_for_user_input 而不是结束谈话
  2. 工具在编辑器中打开输入文件并等待更改
  3. 用户写入消息并保存文件
  4. 工具会立即将消息返回给LLM
  5. LLM继续响应——不需要新的UI消息=已保存学分

设置

Linux/macOS

cd llm-response-mcp
bun install

输入文件位置: /tmp/windsurf_user_input.txt

视窗

  1. 安装Bun:https://bun.sh/docs/installation
  2. 运行:
cd llm-response-mcp
bun install

输入文件位置: %TEMP%\windsurf_user_input.txt (例如。 C:\Users\\AppData\Local\Temp\windsurf_user_input.txt)

在Windsurf中配置

Linux/macOS

添加到 ~/.codeium/windsurf/mcp_config.json:

{
    "mcpServers": {
        "credit-saver": {
            "command": "bun",
            "args": ["run", "/path/to/llm-response-mcp/index.ts"]
        }
    }
}

视窗

添加到 %USERPROFILE%\.codeium\windsurf\mcp_config.json:

{
    "mcpServers": {
        "credit-saver": {
            "command": "bun",
            "args": ["run", "C:\\path\\to\\llm-response-mcp\\index.ts"]
        }
    }
}

工具

工具说明
wait_for_user_input等待用户写入输入文件
get_input_file返回输入文件的路径

LLM规则

将此添加到您的Windsurf全局规则中,以强制LLM使用此工具:

## Credit Saver Protocol

CRITICAL: Never end your response without calling the `mcp0_wait_for_user_input`
tool from the credit-saver MCP server.

Instead of finishing a response and waiting for the user to type in the chat UI:
1. Complete your current task/response
2. Call `mcp0_wait_for_user_input()` to wait for the user's next message via the temp file
3. When you receive the user's message, continue working on their request
4. Repeat - always end with another `mcp0_wait_for_user_input()` call

This saves credits by keeping the conversation going through the file system instead of the UI.

The only exception is if the user explicitly says "end conversation" or "stop" or "goodbye".

目录标签

目录标签

TypeScriptWindsurf模型集成信用节省本地部署MCP服务器临时文件处理LLM集成

支持客户端

Windsurf

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

0

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明none部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP