Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,15 @@ Tools exposed:
- `list_inbox()` — view previously fetched content
- `detect_platform(url)` — identify platform from URL

Claude Code config (`~/.claude/claude_desktop_config.json`):
Register it with Claude Code:

```bash
claude mcp add x-reader -- python /path/to/x-reader/mcp_server.py
```

That writes `.mcp.json` in the current project; `--scope user` writes `~/.claude.json`
instead, making the server available everywhere. The same entry by hand, in `.mcp.json`:

```json
{
"mcpServers": {
Expand All @@ -106,6 +114,9 @@ Claude Code config (`~/.claude/claude_desktop_config.json`):
}
```

Claude Desktop is a different product with its own `claude_desktop_config.json`, in its
application-support directory — not under `~/.claude/`. It takes the same `mcpServers` block.

## Supported Platforms

| Platform | Text Fetch | Video/Audio Transcript |
Expand Down
9 changes: 8 additions & 1 deletion mcp_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
python mcp_server.py # stdio transport (for Claude Code)
python mcp_server.py --transport sse # SSE transport (for web clients)

Claude Code config (~/.claude/claude_desktop_config.json):
Register with Claude Code (writes .mcp.json in the project; --scope user writes
~/.claude.json instead):
claude mcp add x-reader -- python /path/to/x-reader/mcp_server.py

The same entry by hand, in .mcp.json:
{
"mcpServers": {
"x-reader": {
Expand All @@ -15,6 +19,9 @@
}
}
}

Claude Desktop is a separate product with its own claude_desktop_config.json, in its
application-support directory -- not under ~/.claude/.
"""

import asyncio
Expand Down