---
slug: "linux-command-mcp"
source_type: "readme"
source_url: "https://cdn.jsdelivr.net/gh/Pleasurecruise/linux-do-mcp@main/README.md"
repo: "https://github.com/Pleasurecruise/linux-do-mcp"
source_file: "README.md"
branch: "main"
---
# Linux Do MCP Server

[中文](https://github.com/Pleasurecruise/linux-do-mcp/blob/HEAD/README_zh.md) / English

<img src="https://avatars.githubusercontent.com/u/160804563?s=200&v=4"/>

Where possible begin!

## API List

| Description                      | API Endpoint                                                                 |
|----------------------------------|------------------------------------------------------------------------------|
| **Without Authentication**       |                                                                              |
| Topics with new posts            | https://linux.do/latest.json                                                 |
| Most active topics (past year/month/week/day) | https://linux.do/top.json                                             |
| Recently popular topics          | https://linux.do/hot.json                                                   |
| Latest classified topics         | https://linux.do/categories_and_latest                                              |
| **With Authentication**          |                                                                              |
| Recently created topics          | https://linux.do/new.json                                                   |
| Topics with unread posts (tracked/followed) | https://linux.do/unread.json                                          |
| New topics and unread posts (tracked/followed) | https://linux.do/unseen.json                                          |
| Topics you posted in             | https://linux.do/posted.json                                                |
| Notifications                    | https://linux.do/notifications.json                                         |
| Topic Search                    | https://linux.do/search/query.json                                         |
| Bookmarks                        | https://linux.do/u/${your-username}/user-menu-bookmarks                     |
| Private messages                 | https://linux.do/u/${your-username}/user-menu-private-messages              |

### Tools List

1. Topics with new posts
2. Most active topics (past year/month/week/day)
3. Recently popular topics
4. Latest classified topics 
5. Recently created topics
6. Topics with unread posts (tracked/followed)
7. New topics and unread posts (tracked/followed)
8. Topics you posted in
9. Notifications
10. Topic Search
11. Bookmarks
12. Private messages

## Category List

| Category Name | Description                                                                 | Id |
|---------------|-----------------------------------------------------------------------------|-------|
| Development   | Includes content on development, testing, debugging, deployment, optimization, security, etc. | 4     |
| Resources     | Shares software, open-source repositories, video courses, books, etc.      | 14    |
| Documentation | Friends become academicians, let's compile books together                  | 42    |
| Flea Market   | Trading-related section, including physical/virtual goods supply/demand, carpooling, etc. | 10    |
| Job Market    | "Master skills to serve the emperor." Dedicated to job postings/hunting only. | 27    |
| Book Club     | What's it like to finish a book with forum friends?                        | 32    |
| Set Sail      | Set sail with the stars as our destination!                                | 46    |
| News Flash    | Stay informed about the world without leaving home.                        | 34    |
| Web Archive   | The internet never forgets - this is certain!                              | 92    |
| Benefits      | "Who pays full price these days?" For sharing deals/giveaways.             | 36    |
| Off-Topic     | Casual chat section. No politics/NSFW content allowed.                     | 11    |
| Feedback      | Discussions about this site, its organization, operations, and improvements. | 2     |

## How to install

use python run [this](https://github.com/Pleasurecruise/linux-do-mcp/blob/HEAD/src/get-pat.py) file to get your API_KEY

### Node

```json
{
  "mcpServers": {
    "linux-do-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@pleasure1234/linux-do-mcp"
      ],
      "env": {
        "LINUX_DO_API_KEY": "your-api-key-here",
        "LINUX_DO_USERNAME": "your-username"
      }
    }
  }
}
```

### Python

```python
{
  "mcpServers": {
    "linux-do-mcp": {
      "command": "uvx",
      "args": [
        "linux-do-mcp"
      ],
      "env": {
        "LINUX_DO_API_KEY": "your-api-key-here",
        "LINUX_DO_USERNAME": "your-username"
      }
    }
  }
}
```

## Reference

- [Baidu Map Mcp](https://github.com/baidu-maps/mcp)

- [Discourse docs](https://docs.discourse.org)

- [PAT Generate Script](https://linux.do/t/topic/31549)

## Copyright

- Logo and community content © [Linux DO Community](https://linux.do)

- PAT generation script © [this author](https://linux.do/t/topic/31549)

- Project code © [Pleasurecruise](https://github.com/Pleasurecruise)

This project is licensed under the [MIT License](https://github.com/Pleasurecruise/linux-do-mcp/tree/HEAD/LICENSE).

## Star History

[![Star History Chart](https://api.star-history.com/svg?repos=Pleasurecruise/linux-do-mcp&type=Date)](https://www.star-history.com/#Pleasurecruise/linux-do-mcp&Date)