Skip to main content
Glama
LAF-labs
by LAF-labs

laf-mcp-template

自社サービスをLAF ボットに接続する MCP サーバーの出発点です。 契約は mcp-contract.md の一枚だけで、このリポジトリはその契約の実行可能な最小実装+提出前 チェッカー+CI です。

Use this template ボタンで自社リポジトリを作成し、collectSignals() を一つ 埋めるだけで標準ツール laf.watch が完成します。

はじめに

bun install
bun start          # http://127.0.0.1:8765/mcp
bun run check      # 제출 전 검사 — 등록 화면과 같은 질문을 CI에서 미리

リモートサーバーの検査は bun laf-mcp-check.ts <url> [--token <bearer>] [--json] です。

Related MCP server: wrg-mcp-server

埋める順序

  1. collectSignals() — 「止まったら大変」なものだけ。テレメトリではなく 当直リストです。閾値判定(何個から warn か)は必ずサーバー側で 完了させ、status として出力します。バックエンドが落ちてもプロトコルエラーではなく シグナルで応答します(契約 §1.2)。

  2. 自由ツールの追加 — ボットに任せる作業単位で、ツールは 10 個以下推奨。ツールごとに MCP 標準アノテーションを宣言します(契約 §2)。アノテーションのないツールは 登録時に最高リスク(破壊的)として扱われ、ボットが実質使用できません。 書き込みツールは最初から作らず、読み取りだけで 1 週間運用してみて、必要になったものだけ 追加する方が実際には速いです。

  3. 検査の通過bun run check が FAIL 0 になるまで。同梱の GitHub Actions ワークフローがプッシュのたびに同じ検査を実行します。

  4. デプロイ — 自社インフラへ。コードレビュー・シークレット管理・可用性は自社の責任であり、 プラットフォームには URL と Bearer トークンのみが渡されます。

  5. 登録 — LAF 管理画面に URL を登録すると、プラットフォームが laf.watch を 定期ポーリング(モデルなし、純粋なコードで)し、シグナルの出現・消滅・遷移のみを イベント化します。自由ツールはボット対話でリスク宣言どおりに実行されます — 読み取りは静かに、破壊的・送信・課金は人間の承認を待ちます。

やってはいけないこと

  • 閾値判定をプラットフォームに先送りする — status はサーバー側で確定させます。

  • バックエンド障害をプロトコルエラーとして出す — シグナルで応答します。

  • アノテーションの省略 — すべて破壊的として扱われます。

  • 登録後のアノテーション引き下げ — 権限昇格とみなされ、自動停止+再同意が 発生します。

ファイル

ファイル

内容

index.ts

参照サーバー(約 100 行)。ステートレス Streamable HTTP — 再起動しても何も失いません

laf-mcp-check.ts

提出前チェッカー。登録画面と同じ質問 — LAF-labs/openbot からそのまま取得したファイルであり、直接編集しません

.github/workflows/check.yml

サーバーを起動してチェッカーを実行する CI

MIT — LICENSE

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    An AppSec-focused MCP server that performs static analysis scans on C/C++ source code for memory-safety vulnerabilities and parses compiled PE/ELF binary headers locally to audit active defensive compiler mitigations (ASLR, DEP/NX, PIE).
    4
    1
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    An MCP server that exposes a 60+ tool security and threat-intel stack to AI agents, enabling secret scanning, Sigma rule generation, ransomware lookup, OSINT, and deep research.
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Scans MCP servers for tool poisoning, prompt injection and supply chain risks.

  • MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.

  • MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LAF-labs/laf-mcp-template'

If you have feedback or need assistance with the MCP directory API, please join our Discord server