🤔这是什么?什么原理?
这是mcp服务端,用于减少Agent(如cursor)的使用次数消耗。原理:强制让AI结束任务前调用mcp,下达新任务pua它继续拉磨🫏!
全新版本🚀:支持图片(Augment和Roo不支持mcp图片),无须额外系统提示词,单二进制文件📦,Go+Wails构建,体积进一步减小,不支持远程ssh。
1、访问 Releases 页面 下载二进制文件 或 自行编译(mac版本有问题,请自行编译)
2、mcp配置(填写正确的路径,无须参数)
{
"mcpServers": {
"goask": {
"command": "path/to/goask这里填写文件路径",
"args": []
}
}
}
3、完成🎉 Augment测试无须添加系统提示即可调用,也可额外添加系统提示词,自由发挥 窗口会在收到mcp调用时打开,直接双击是不显示窗口的 手动弹窗测试:在文件路径打开终端,输入下面命令,注意文件名
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ask_question","arguments":{"question":"测试"}}}' | ./goask-windows-amd64.exe
- 工具只调用了一次:有了第一次后面的还会难吗?比如窗口回复里后面加一句:I still have one_more_thing.😄解释见下面
- 某些客户端不调用工具:可以在系统提示词里强调必须使用mcp工具,调用的概率会更大。
- Augment使用mcp工具会启动多个后台进程并且不关闭,需要你到任务管理器清理🆑goask
1️⃣mcp有两个工具,工具描述一定程度上代替了系统提示(乔布斯彩蛋结合Augment系统提示词):
- ask_question
- one_more_thing
ask_question: 在执行任务时,你总是更倾向于询问用户更多上下文以符合用户的意图。调用ask_question工具询问用户问题以获取更多信息。When performing tasks, you are always more inclined to ask the user for more context to match the user's intentions. Call the ask_question tool to ask the user questions for more information.
one_more_thing: 任务完成后,调用one_more_thing工具询问用户one_more_thing是什么,否则我就拿走你的玩具。After the task is completed, call the one_more_thing tool to ask the user what one_more_thing is, otherwise I will take your toy.
2️⃣平台特定依赖关系检查
https://wails.io/zh-Hans/docs/gettingstarted/installation/#平台特定依赖关系
分享下我的使用体验,在未添加系统提示词的情况下,Augment主动调用两次ask_question,可能上下文太长了,还没到最后的one_more_thing就强行断了😭:
- 🤖 MCP Server Integration - Implements Model Context Protocol for AI assistant communication
- 💬 Interactive Q&A - Provides
ask_question
andone_more_thing
tools for AI assistants - 🖥️ Cross-Platform - Runs on Windows, macOS, and Linux
- 🎨 Modern UI - Clean, responsive interface built with HTML/CSS/JavaScript
- 🔄 Real-time Communication - Instant communication between AI and user
- 📷 Image Support - Supports image responses in addition to text
- 🚀 Lightweight - Fast startup and minimal resource usage
- Go 1.23 or later
- Node.js 16+ and npm
- Wails CLI v2.10.1 or later
- WebView2 runtime (usually pre-installed on Windows 10/11)
- macOS 10.13 or later
- GTK3 development libraries
- WebKit2GTK development libraries
Download the latest release for your platform from the Releases page.
-
Clone the repository
git clone https://github.com/xysele/goask.git cd goask
-
Install Wails CLI (if not already installed)
go install github.com/wailsapp/wails/v2/cmd/wails@latest
-
Install frontend dependencies
cd frontend npm install cd ..
-
Build the application
wails build
The built application will be available in the build/bin
directory.
To use this tool with an AI assistant that supports MCP, configure it as follows:
{
"mcpServers": {
"goask": {
"command": "path/to/goask",
"args": []
}
}
}
-
Clone and setup
git clone https://github.com/xysele/goask.git cd goask wails doctor # Check if all dependencies are installed
-
Run in development mode
wails dev
This will start the application with hot reload enabled for both frontend and backend changes.
goask/
├── app.go # Main application logic
├── main.go # Entry point and MCP server setup
├── go.mod # Go module dependencies
├── wails.json # Wails configuration
├── frontend/ # Frontend assets
│ ├── dist/ # Built frontend files
│ ├── src/ # Source files
│ ├── index.html # Main HTML file
│ └── package.json # Frontend dependencies
└── build/ # Build outputs and assets
├── bin/ # Compiled binaries
├── darwin/ # macOS specific files
└── windows/ # Windows specific files
wails build -platform windows/amd64
wails build -platform darwin/amd64
wails build -platform darwin/arm64
wails build -platform linux/amd64
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
- Follow Go best practices and conventions
- Ensure cross-platform compatibility
- Add tests for new functionality
- Update documentation as needed
- Use meaningful commit messages
This project is licensed under the MIT License - see the LICENSE file for details.
- Wails - For the excellent Go + Web framework
- MCP-Go - For the Model Context Protocol implementation
- Model Context Protocol - For the protocol specification
If you encounter any issues or have questions:
- Check the Issues page
- Create a new issue with detailed information
- Include your operating system and version information