Discourse MCP by usefulapi

Search topics and posts; create topics, reply and mark notifications read in Discourse.

사용해야 할까요

품질 및 안전성

A
설명 품질
100%
스키마 완전성
82%
이름 품질
77%
오염 위험
100%
권한 일치
100%
프로토콜 준수
100%

발견 사항 (2)

  • LOWTool 'discourse_list_private_messages' name length outside 3-30 rangediscourse_list_private_messages에서
  • LOWTool 'discourse_mark_notifications_read' name length outside 3-30 rangediscourse_mark_notifications_read에서

도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.

컨텍스트 비용

~1,754토큰 (도구 정의)
~777 B일반적인 응답 크기
중간 정도의 주의 영향 (128k 컨텍스트의 1.37%)

이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.

설치

원클릭 설치

`claude_desktop_config.json` 파일에 다음을 추가하세요:

{
  "mcpServers": {
    "discourse": {
      "url": "https://discourse.usefulapi.io/mcp"
    }
  }
}

원격 엔드포인트

https://discourse.usefulapi.io/mcpstreamable-http

할 수 있는 일

도구 목록

도구 (14)

🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
🟢discourse_search(query, page)

Search topics, posts, users and categories of the forum for a term. Returns matching posts and topics with their ids. Discourse API: GET /search.json?q=.

입력 스키마

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 300,
      "description": "Search term; supports Discourse search syntax such as in:title or #category."
    },
    "page": {
      "description": "Page number, starting at 0.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "query"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢discourse_list_latest_topics(order, ascending, per_page, page)

List the latest topics of the forum, newest activity first by default. Discourse API: GET /latest.json.

입력 스키마

{
  "type": "object",
  "properties": {
    "order": {
      "description": "Sort order (default: activity).",
      "type": "string",
      "enum": [
        "default",
        "created",
        "activity",
        "views",
        "posts",
        "likes",
        "op_likes"
      ]
    },
    "ascending": {
      "description": "Sort ascending instead of descending.",
      "type": "boolean"
    },
    "per_page": {
      "description": "Topics per page.",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "page": {
      "description": "Page number, starting at 0.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢discourse_list_top_topics(period, per_page)

List the top topics of the forum for a period. Discourse API: GET /top.json.

입력 스키마

{
  "type": "object",
  "properties": {
    "period": {
      "description": "Period (default: all).",
      "type": "string",
      "enum": [
        "all",
        "yearly",
        "quarterly",
        "monthly",
        "weekly",
        "daily"
      ]
    },
    "per_page": {
      "description": "Topics per page.",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢discourse_get_topic(topic_id)

Get one topic with its title, category, tags and the first posts of its post stream. Discourse API: GET /t/{id}.json.

입력 스키마

{
  "type": "object",
  "properties": {
    "topic_id": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "Numeric id."
    }
  },
  "required": [
    "topic_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢discourse_get_post(post_id)

Get one post with its raw Markdown, author and cooked HTML. Discourse API: GET /posts/{id}.json.

입력 스키마

{
  "type": "object",
  "properties": {
    "post_id": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "Numeric id."
    }
  },
  "required": [
    "post_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢discourse_list_categories(include_subcategories)

List the categories of the forum with their ids, slugs and colours. Discourse API: GET /categories.json.

입력 스키마

{
  "type": "object",
  "properties": {
    "include_subcategories": {
      "description": "Include subcategories in the list.",
      "type": "boolean"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢discourse_list_tags

List the tags of the forum with their topic counts. Discourse API: GET /tags.json.

입력 스키마

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢discourse_get_user(username)

Get a user's profile by username: name, trust level, groups and activity counts. Discourse API: GET /u/{username}.json.

입력 스키마

{
  "type": "object",
  "properties": {
    "username": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_.-]{1,60}$",
      "description": "Forum username."
    }
  },
  "required": [
    "username"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢discourse_list_notifications

List the notifications of the user the key acts as: replies, mentions, likes and messages. Discourse API: GET /notifications.json.

입력 스키마

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢discourse_list_private_messages(username)

List the private message topics received by a user. Discourse API: GET /topics/private-messages/{username}.json.

입력 스키마

{
  "type": "object",
  "properties": {
    "username": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_.-]{1,60}$",
      "description": "Forum username."
    }
  },
  "required": [
    "username"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢discourse_get_site_info

Get the forum's basic information: title, description, logo and version. Discourse API: GET /site/basic-info.json.

입력 스키마

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴discourse_create_topic(title, raw, category_id)

Create a new public topic in a category as the key's user. Publishes content on the forum: confirm the text first. Discourse API: POST /posts.json.

입력 스키마

{
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "minLength": 1,
      "maxLength": 300,
      "description": "Topic title."
    },
    "raw": {
      "type": "string",
      "minLength": 1,
      "maxLength": 32000,
      "description": "First post body in Markdown."
    },
    "category_id": {
      "description": "Category id (from discourse_list_categories).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "title",
    "raw"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴discourse_reply_to_topic(topic_id, raw, reply_to_post_number)

Post a reply in an existing topic as the key's user. Publishes content on the forum: confirm the text first. Discourse API: POST /posts.json.

입력 스키마

{
  "type": "object",
  "properties": {
    "topic_id": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "Numeric id."
    },
    "raw": {
      "type": "string",
      "minLength": 1,
      "maxLength": 32000,
      "description": "Reply body in Markdown."
    },
    "reply_to_post_number": {
      "description": "Post number this reply answers.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "topic_id",
    "raw"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡discourse_mark_notifications_read(id)

Mark all notifications of the key's user as read, or one notification by id. Discourse API: PUT /notifications/mark-read.json.

입력 스키마

{
  "type": "object",
  "properties": {
    "id": {
      "description": "Notification id; omit to mark all as read.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

커뮤니티

이 서버 평가하기

증거

최근 관측

검증됨버전이 기록되지 않음도구 14개