更新README文件,增加对PromptX配置参数的详细说明,优化了启动命令的可读性和用户理解,确保用户能够更清晰地配置和使用PromptX服务。
This commit is contained in:
24
README_EN.md
24
README_EN.md
@ -70,22 +70,30 @@ Open your configuration file and copy the `promptx` configuration code below. Th
|
||||
{
|
||||
"mcpServers": {
|
||||
"promptx": {
|
||||
// Use npx to run promptx service
|
||||
"command": "npx",
|
||||
// Startup parameters configuration
|
||||
"args": [
|
||||
"-y", // Auto-confirm
|
||||
"-f", // Force refresh cache
|
||||
"--registry", // Specify registry
|
||||
"https://registry.npmjs.org", // Use official registry
|
||||
"dpml-prompt@beta", // Use stable beta version
|
||||
"mcp-server" // Start service
|
||||
"-y",
|
||||
"-f",
|
||||
"--registry",
|
||||
"https://registry.npmjs.org",
|
||||
"dpml-prompt@beta",
|
||||
"mcp-server"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
**Configuration Parameters:**
|
||||
- `command`: Specifies using npx to run promptx service
|
||||
- `args`: Startup parameters configuration list
|
||||
- `-y`: Auto-confirm
|
||||
- `-f`: Force refresh cache
|
||||
- `--registry`: Specify registry source
|
||||
- `https://registry.npmjs.org`: Use official registry
|
||||
- `dpml-prompt@beta`: Use stable beta version
|
||||
- `mcp-server`: Start service
|
||||
|
||||
**🎯 It's that simple!** Save the file and restart your AI application, and PromptX is successfully activated.
|
||||
|
||||
> **💡 Tip:** The configuration specifically uses the official registry `registry.npmjs.org` to avoid installation issues caused by unofficial mirrors. If you find the installation slow, it's recommended to use a proxy tool for acceleration rather than switching to alternative mirrors.
|
||||
|
||||
Reference in New Issue
Block a user