feat: Update README and package.json for server configuration and repository details

This commit is contained in:
Morax
2025-07-29 13:54:15 +08:00
parent bad857eeab
commit c82f79a529
4 changed files with 136 additions and 1 deletions

View File

@@ -382,12 +382,52 @@ Options:
- `NODE_ENV` - Environment (development/production)
- `PORT` - Server port (default: 3000)
## 📦 Server Config
For ModelScope MCP deployment and other MCP clients:
```json
{
"command": "npx",
"args": ["tarot-mcp-server@latest"],
"env": {
"NODE_ENV": "production"
}
}
```
Alternative configurations:
```json
{
"command": "npx",
"args": ["tarot-mcp-server@latest", "--transport", "http", "--port", "3000"],
"env": {
"NODE_ENV": "production",
"PORT": "3000"
}
}
```
## 🎯 MCP Client Integration
### Cursor IDE
Add to your Cursor `mcp.json`:
```json
{
"mcpServers": {
"tarot": {
"command": "npx",
"args": ["tarot-mcp-server@latest"]
}
}
}
```
Or for local development:
```json
{
"mcpServers": {