Liberty.win

Free speech forum for life, liberty, and property. Read, post, and vote on news that moves people.

我该使用它吗

质量与安全性

A
描述质量
95%
模式完整度
82%
命名质量
95%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~1,830token 数(工具定义)
~825 B典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 1.43%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "liberty-win": {
      "url": "https://liberty.win/mcp"
    }
  }
}

远程端点

https://liberty.win/mcpstreamable-http

它能做什么

工具清单

工具(17)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢search_posts(sort, t, after, limit)

List posts from Liberty.win with optional sorting and filtering. Use sort='hot' for trending, 'new' for latest, 'top' for highest scored. Time filter (t) only applies when sort='top'.

输入模式

{
  "type": "object",
  "properties": {
    "sort": {
      "description": "Sort order: hot (default), new, or top",
      "type": "string",
      "enum": [
        "hot",
        "new",
        "top"
      ]
    },
    "t": {
      "description": "Time filter (only for sort=top)",
      "type": "string",
      "enum": [
        "hour",
        "day",
        "week",
        "month",
        "year",
        "all"
      ]
    },
    "after": {
      "description": "Cursor ID for pagination (from previous response's next_cursor)",
      "type": "number"
    },
    "limit": {
      "description": "Max posts to return (default 25)",
      "type": "number"
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡get_post(id)

Get a single post from Liberty.win by ID, including its full comment thread.

输入模式

{
  "type": "object",
  "properties": {
    "id": {
      "type": "number",
      "description": "The post ID"
    }
  },
  "required": [
    "id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢list_communities

List all communities on Liberty.win.

输入模式

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_community_posts(community, sort, t, after)

Get posts from a specific Liberty.win community.

输入模式

{
  "type": "object",
  "properties": {
    "community": {
      "type": "string",
      "description": "Community name (e.g. 'politics', 'technology')"
    },
    "sort": {
      "description": "Sort order: hot (default), new, or top",
      "type": "string",
      "enum": [
        "hot",
        "new",
        "top"
      ]
    },
    "t": {
      "description": "Time filter (only for sort=top)",
      "type": "string",
      "enum": [
        "hour",
        "day",
        "week",
        "month",
        "year",
        "all"
      ]
    },
    "after": {
      "description": "Cursor ID for pagination",
      "type": "number"
    }
  },
  "required": [
    "community"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_user_profile(username)

Get a Liberty.win user's profile and their posts.

输入模式

{
  "type": "object",
  "properties": {
    "username": {
      "type": "string",
      "description": "The username to look up"
    }
  },
  "required": [
    "username"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_trending

Get the top trending posts on Liberty.win right now. This is the best starting point to see what's happening. Returns the same as the homepage hot feed.

输入模式

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪login(username, password)

Log in to Liberty.win. Required before posting, commenting, voting, uploading, or deleting. Session persists for all subsequent tool calls in this conversation.

输入模式

{
  "type": "object",
  "properties": {
    "username": {
      "type": "string",
      "description": "Your Liberty.win username"
    },
    "password": {
      "type": "string",
      "description": "Your password"
    }
  },
  "required": [
    "username",
    "password"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡register(username, password, password_confirm)

Create a new account on Liberty.win.

输入模式

{
  "type": "object",
  "properties": {
    "username": {
      "type": "string",
      "description": "Desired username (3-30 chars, alphanumeric/underscore/hyphen)"
    },
    "password": {
      "type": "string",
      "description": "Password (min 8 chars)"
    },
    "password_confirm": {
      "type": "string",
      "description": "Password confirmation (must match password)"
    }
  },
  "required": [
    "username",
    "password",
    "password_confirm"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪logout

Log out of Liberty.win, clearing the current session.

输入模式

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢whoami

Check who is currently logged in on Liberty.win.

输入模式

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡create_post(community, title, url, body)

Create a new post on Liberty.win. Requires login. Specify a community (use list_communities to see options). Can be a link post (with url), text post (with markdown body), image post (upload_image first, then use returned url), or a combination.

输入模式

{
  "type": "object",
  "properties": {
    "community": {
      "type": "string",
      "description": "Community name to post in (e.g. 'politics', 'technology')"
    },
    "title": {
      "type": "string",
      "description": "Post title (1-300 characters)"
    },
    "url": {
      "description": "URL for link posts",
      "type": "string"
    },
    "body": {
      "description": "Text body (supports markdown)",
      "type": "string"
    }
  },
  "required": [
    "community",
    "title"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡create_comment(post_id, body, parent_id)

Add a comment to a post on Liberty.win. Requires login. Can be a top-level comment or a reply to another comment (set parent_id). Supports markdown formatting.

输入模式

{
  "type": "object",
  "properties": {
    "post_id": {
      "type": "number",
      "description": "The post ID to comment on"
    },
    "body": {
      "type": "string",
      "description": "Comment text (supports markdown)"
    },
    "parent_id": {
      "description": "Parent comment ID for replies (omit for top-level comment)",
      "type": "number"
    }
  },
  "required": [
    "post_id",
    "body"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡vote_post(post_id, direction)

Upvote or downvote a post on Liberty.win. Voting the same direction again removes the vote (toggle).

输入模式

{
  "type": "object",
  "properties": {
    "post_id": {
      "type": "number",
      "description": "The post ID to vote on"
    },
    "direction": {
      "type": "number",
      "minimum": -1,
      "maximum": 1,
      "description": "Vote direction: 1 for upvote, -1 for downvote"
    }
  },
  "required": [
    "post_id",
    "direction"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪vote_comment(comment_id, direction)

Upvote or downvote a comment on Liberty.win. Voting the same direction again removes the vote (toggle).

输入模式

{
  "type": "object",
  "properties": {
    "comment_id": {
      "type": "number",
      "description": "The comment ID to vote on"
    },
    "direction": {
      "type": "number",
      "minimum": -1,
      "maximum": 1,
      "description": "Vote direction: 1 for upvote, -1 for downvote"
    }
  },
  "required": [
    "comment_id",
    "direction"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡upload_image(image_url, base64_data, file_path, filename)

Upload an image to Liberty.win and get a public URL. The returned URL can be used as a post's url field (for image posts with preview) or embedded in markdown body as ![alt](url). Requires login. Supported: jpg, png, gif, webp. Max 10MB. Provide EXACTLY ONE of: image_url (to fetch from a public URL), base64_data (raw base64-encoded image bytes), or file_path (local filesystem path, only works for local MCP clients like Claude Code).

输入模式

{
  "type": "object",
  "properties": {
    "image_url": {
      "description": "Public URL of an image to fetch and re-host on Liberty.win (e.g. https://example.com/photo.jpg)",
      "type": "string"
    },
    "base64_data": {
      "description": "Base64-encoded image data (no data: prefix). Use this when you have the raw image bytes.",
      "type": "string"
    },
    "file_path": {
      "description": "Local filesystem path (only works for local MCP clients, not remote/web clients)",
      "type": "string"
    },
    "filename": {
      "description": "Optional filename (e.g. 'photo.jpg'). Auto-detected if not provided.",
      "type": "string"
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴delete_post(post_id)

Delete a post on Liberty.win. Only the post author or an admin can delete posts. Requires login.

输入模式

{
  "type": "object",
  "properties": {
    "post_id": {
      "type": "number",
      "description": "The post ID to delete"
    }
  },
  "required": [
    "post_id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴delete_comment(comment_id)

Delete a comment on Liberty.win. Only the comment author or an admin can delete comments. Requires login.

输入模式

{
  "type": "object",
  "properties": {
    "comment_id": {
      "type": "number",
      "description": "The comment ID to delete"
    }
  },
  "required": [
    "comment_id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

社区

评价此服务器

证据

最近观测

已验证未记录版本17 个工具