Skip to content

Commit bc3de4b

Browse files
karthiknittclaude
andauthored
Update Claude Desktop MCP configuration in README (#32)
- Replace direct URL method with npx mcp-remote command - Add separate configs for production API and local Docker - Fix connection error that occurred with URL-only config - Include restart instruction for Claude Desktop 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 1fab523 commit bc3de4b

File tree

1 file changed

+40
-4
lines changed

1 file changed

+40
-4
lines changed

README.md

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,19 +95,37 @@ curl -X POST "https://panchang.karthikwrites.com/api/today" \
9595

9696
Connect the MCP server to Claude Desktop or any MCP-compatible AI assistant:
9797

98-
**Add to `claude_desktop_config.json`:**
98+
**Production API (Recommended):**
99+
100+
Add to `claude_desktop_config.json`:
101+
102+
```json
103+
{
104+
"mcpServers": {
105+
"tamil-panchang": {
106+
"command": "npx",
107+
"args": ["-y", "mcp-remote", "https://panchang.karthikwrites.com/mcp/sse"]
108+
}
109+
}
110+
}
111+
```
112+
113+
**Local Docker (For Testing):**
114+
115+
If you're running the API locally with Docker, use:
99116

100117
```json
101118
{
102119
"mcpServers": {
103120
"tamil-panchang": {
104-
"url": "https://panchang.karthikwrites.com/mcp/sse"
121+
"command": "npx",
122+
"args": ["-y", "mcp-remote", "http://localhost:8001/sse"]
105123
}
106124
}
107125
}
108126
```
109127

110-
Then ask: *"What's today's panchang in Chennai?"*
128+
Then restart Claude Desktop and ask: *"What's today's panchang in Chennai?"*
111129

112130
### Self-Hosting with Docker
113131

@@ -575,13 +593,31 @@ curl -X POST "https://panchang.karthikwrites.com/api/panchang" \
575593

576594
#### Claude Desktop Configuration
577595

596+
**Production API (Recommended):**
597+
578598
Add to `claude_desktop_config.json`:
579599

580600
```json
581601
{
582602
"mcpServers": {
583603
"tamil-panchang": {
584-
"url": "https://panchang.karthikwrites.com/mcp/sse"
604+
"command": "npx",
605+
"args": ["-y", "mcp-remote", "https://panchang.karthikwrites.com/mcp/sse"]
606+
}
607+
}
608+
}
609+
```
610+
611+
**Local Docker (For Testing):**
612+
613+
If running the API locally, use:
614+
615+
```json
616+
{
617+
"mcpServers": {
618+
"tamil-panchang": {
619+
"command": "npx",
620+
"args": ["-y", "mcp-remote", "http://localhost:8001/sse"]
585621
}
586622
}
587623
}

0 commit comments

Comments
 (0)