mcpField
C
central-station

central-station

github.com/railwayappクラウド・DevOps3381.5k 回インストール2 週間前に更新
リポジトリ

central-station について

Railway のコミュニティプラットフォーム Central Station を検索・閲覧するスキルです。サポートの議論や既存の解決策を探せるほか、公開スレッドの全文も参照できます。

主な機能

  1. 01公開された議論とドキュメントの検索
  2. 02トピック別の最近のスレッド取得
  3. 03トレンドやピン留めスレッドの閲覧
  4. 04データエクスポートによる全文検索

活用シーン

  1. 01デプロイ失敗に関する質問の検索
  2. 02データベース接続の議論や解決策の確認
  3. 03特定トピックの最近の質問の把握
  4. 04コミュニティのフィードバックや注目話題の閲覧

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/railwayapp/railway-skills --skill central-station

インストール後、Claude Code で/central-stationを入力して読み込まれたか確認します。

同梱ファイル

SKILL.md と一緒にインストールされる参考資料やスクリプト。

references/
environment-config.md
monorepo.md
railpack.md
variables.md

詳細

Central Station

Railway の Central Station を検索して閲覧します。スレッド、ディスカッション、ドキュメントを扱うコミュニティサポートプラットフォームです。

API エンドポイント

エンドポイントURL
GraphQLhttps://station-server.railway.com/gql
スレッドの Markdownhttps://station-server.railway.com/api/threads/:slug
LLM データエクスポートhttps://station-server.railway.com/api/llms-station
フロントエンドhttps://station.railway.com

使用する場合

  • Central Station のスレッドやドキュメントを検索したい場合
  • コミュニティでのディスカッションやサポートに関する質問がある場合
  • 特定のトピック(デプロイ、データベースなど)に関するスレッドを見つけたい場合
  • 「X について、みんなは何を質問していますか」と尋ねられた場合
  • 最近のスレッドや質問を確認したい場合
  • Central Station、コミュニティのスレッド、サポートに関するディスカッションについて言及された場合
  • 新しいスレッドを作成する前に、既存の解決策を探したい場合

使用しない場合

  • Railway の製品ドキュメントを確認したい場合は、railway-docs スキルを使用してください
  • プロジェクトのステータスを確認したい場合は、status スキルを使用してください
  • Railway プロジェクトを管理したい場合は、適切なスキル(deploy、environment など)を使用してください

ドキュメント検索

Railway の公式ドキュメントには、https://docs.railway.com/api/llms-docs.md から取得する railway-docs スキルを使用してください。

Central Station の unifiedSearch ではドキュメントの種類を判別できますが、取得できるフィールドは限られています。

curl -s 'https://station-server.railway.com/gql' \
  -H 'content-type: application/json' \
  --data-raw '{"query":"{ unifiedSearch(input: { query: \"volumes\", limit: 10 }) { results { document { __typename } } } }"}'

返されるドキュメントの種類:EsThreadItem(スレッド)および DocSearchResult(ドキュメント)。

注:スレッドの内容を検索するには、代わりに LLM データエクスポートのエンドポイントを使用してください(下記参照)。スレッドの全データを取得できます。

クイックアクション

最近のスレッドを取得

最近のスレッドを取得します。トピックで絞り込むこともできます。

curl -s 'https://station-server.railway.com/gql' \
  -H 'content-type: application/json' \
  -d '{"query": "{ threads(first: 10, sort: recent_activity) { edges { node { slug subject status topic { slug displayName } upvoteCount createdAt } } } }"}'

トピックで絞り込む場合:

curl -s 'https://station-server.railway.com/gql' \
  -H 'content-type: application/json' \
  -d '{"query": "{ threads(first: 10, sort: recent_activity, topic: \"questions\") { edges { node { slug subject status topic { displayName } upvoteCount } } } }"}'
スラッグでスレッドを取得

指定したスレッドの内容を取得します。

curl -s 'https://station-server.railway.com/gql' \
  -H 'content-type: application/json' \
  -d '{"query": "{ thread(slug: \"THREAD_SLUG\") { slug subject status content { data } topic { displayName } upvoteCount } }"}'
スレッドを Markdown 形式で取得

より読みやすい形式でスレッドを取得するには、Markdown 形式で取得します。

# Append .md to the frontend URL (requires topic slug)
curl -s 'https://station.railway.com/TOPIC_SLUG/THREAD_SLUG.md'

# Or use API with format query parameter
curl -s 'https://station-server.railway.com/api/threads/THREAD_SLUG?format=md'

# Or use API with Accept header
curl -s 'https://station-server.railway.com/api/threads/THREAD_SLUG' \
  -H 'Accept: text/markdown'
トピックの一覧を取得

利用可能なすべてのトピックを取得します。

curl -s 'https://station-server.railway.com/gql' \
  -H 'content-type: application/json' \
  -d '{"query": "{ topics { slug displayName displayNamePlural } }"}'

返されるトピック:questions、feedback、community、billing、bug-bounty、privacy、abuse、templates

トレンドのスレッドを取得

現在トレンドになっているスレッドを取得します。

curl -s 'https://station-server.railway.com/gql' \
  -H 'content-type: application/json' \
  -d '{"query": "{ trendingThreads { slug subject status topic { displayName } upvoteCount } }"}'
ピン留めされたスレッドを取得

ピン留めされた重要なスレッドを取得します。

curl -s 'https://station-server.railway.com/gql' \
  -H 'content-type: application/json' \
  -d '{"query": "{ pinnedThreads { slug subject topic { displayName } } }"}'
LLM データエクスポートで検索

スレッドの内容を検索するには、すべてのスレッドを取得してローカルで絞り込みます。

curl -s 'https://station-server.railway.com/api/llms-station' | jq '.items[] | select(.title | test("postgres"; "i")) | {title, topic: .topic.name, status: .metadata.status}'

このエンドポイントは、公開されているすべてのスレッドとその全内容を返します。キーワード検索に便利です。

スレッドのステータス

ステータス説明
OPEN未解決で、返信を受け付けています
SOLVED解決済みとしてマークされています
AWAITING_RAILWAY_RESPONSERailway チームからの返信を待っています
AWAITING_USER_RESPONSE元の投稿者からの返信を待っています
CLOSED返信を受け付けていません
ARCHIVED参照用に保存された古いスレッドです

並べ替えオプション

threads クエリでは、sort パラメーターを使用します。

並べ替え値説明
recent_activity最も最近アクティビティがあった順(デフォルト)
newest新しい順
highest_votes投票数が多い順

検索結果の提示

スレッドを表示するときは、次の情報を含めます。

  1. スレッドのタイトル - 件名
  2. トピック - カテゴリー(questions、feedback など)
  3. ステータス - オープン、解決済み、返信待ち
  4. 概要 - 内容の簡単なプレビュー
  5. リンク - https://station.railway.com/{topic_slug}/{thread_slug}

形式の例:

Found 3 threads about "postgres":

1. "Connection timeout when connecting to Postgres"
   Topic: questions | Status: SOLVED | Upvotes: 5
   https://station.railway.com/questions/connection-timeout-postgres

2. "How to connect to Postgres from local development"
   Topic: community | Status: OPEN | Upvotes: 12
   https://station.railway.com/community/connect-postgres-local

3. "Postgres SSL certificate verification failed"
   Topic: questions | Status: AWAITING_RAILWAY_RESPONSE
   https://station.railway.com/questions/postgres-ssl-verification

よく使われる検索パターン

ユーザーの質問絞り込み/検索
「デプロイに失敗するのはなぜですか?」topic: questions、search: "deploy"
「データベースに接続できません」topic: questions、search: "database" または "postgres"
「ドメインが機能しません」topic: questions、search: "domain"
「機能リクエスト」topic: feedback
「みんなは何を作っていますか?」topic: community

組み合わせて使う

  • スレッドが見つかった場合:解決策を要約するか、スレッドへのリンクを提示します
  • 結果が見つからない場合:railway-docs スキルの使用、または新しいスレッドの作成を提案します
  • 技術的な問題が見つかった場合:適切なスキル(deploy、environment など)を使用して解決を支援します

エラー処理

結果が見つかりません
No threads found. Try:
- Different topic filter
- Checking Railway docs instead
- Creating a new thread at https://station.railway.com
無効なトピック

まず、利用可能なトピックを一覧表示します。

curl -s 'https://station-server.railway.com/gql' -H 'content-type: application/json' -d '{"query": "{ topics { slug } }"}'
スレッドが見つかりません
Thread not found. It may have been deleted or marked private.

コメント