按任务向编辑器提供预设提示词模板,如代码审查与 API 文档生成。
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add prompt -- node /path/to/prompt-server/src/index.js~/.codex/config.toml
[mcp_servers.prompt]
command = "node"
args = ["/path/to/prompt-server/src/index.js"]
# codex mcp add prompt -- node /path/to/prompt-server/src/index.js~/.cursor/mcp.json
{
"mcpServers": {
"prompt": {
"command": "node",
"args": [
"/path/to/prompt-server/src/index.js"
]
}
}
}.vscode/mcp.json
{
"servers": {
"prompt": {
"type": "stdio",
"command": "node",
"args": [
"/path/to/prompt-server/src/index.js"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"prompt": {
"command": "node",
"args": [
"/path/to/prompt-server/src/index.js"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"prompt": {
"command": "node",
"args": [
"/path/to/prompt-server/src/index.js"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"prompt": {
"command": "node",
"args": [
"/path/to/prompt-server/src/index.js"
]
}
}
}