Baseline MCP Server

by yamanoku
Verified

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Package is distributed through JSR, making it easy to install and use in Deno projects

  • References MDN Web Docs as a source for Baseline compatibility information

日本語版 | English Version

Web Platform APIのサポート状況を提供するModel Context Protocolサーバーです。

概要

このサーバーは、Web Platform DashboardのAPIを使用して、WebのAPI機能のBaselineステータス(サポート状況)を取得できるMCPサーバーを実装しています。クエリに基づいてWeb機能の情報を取得し、その結果をMCPクライアントに返します。

機能

  • Web Platform DashboardのAPIを使用した機能検索
  • 機能のBaselineステータス(widelynewlylimitedno_data)の提供
  • MCPを介した各種AIモデルとの連携

Baselineステータスについて

Baselineステータスは、Web機能のブラウザサポート状況を示します:

  • widely: 広くサポートされているWeb標準機能。ほとんどのブラウザで安全に使用できます。
  • newly: 新しく標準化されたWeb機能。主要なブラウザでサポートされ始めていますが、まだ普及途上です。
  • limited: 限定的にサポートされているWeb機能。一部のブラウザでは使用できないか、フラグが必要な場合があります。
  • no_data: 現時点ではBaselineに含まれていないWeb機能。ブラウザのサポート状況を個別に確認する必要があります。

Baselineについての詳細については「Baseline (互換性) - MDN Web Docs 用語集」を参照してください。

MCPクライアントでの設定

  • サーバーを起動するにあたり、Denoの使用を推奨します
    • パーミッションとしてapi.webstatus.devのみのアクセスを許可してください
  • @yamanoku/baseline-mcp-serverを指定するか、お手元のローカル環境にbaseline-mcp-server.tsを設置して読み取るように設定してください

Claude Desktop

Claude DesktopのMCPクライアントで使用するには、以下のようにcline_mcp_settings.jsonに設定を追加します。

{ "mcpServers": { "baseline-mcp-server": { "command": "deno", "args": [ "run", "--allow-net=api.webstatus.dev", "jsr:@yamanoku/baseline-mcp-server" ] } } }

Visual Studio Code

Visual Studio CodeのMCPクライアントで使用するには、以下のようにsettings.jsonに設定を追加します。

{ "mcp": { "servers": { "baseline-mcp-server": { "command": "deno", "args": [ "run", "--allow-net=api.webstatus.dev", "jsr:@yamanoku/baseline-mcp-server" ] } } } }

Dockerによる起動

最初にDockerイメージをビルドします。

docker build -t baseline-mcp-server .

MCPクライアントの設定でDockerコンテナを実行するようにします。

{ "mcpServers": { "baseline-mcp-server": { "command": "docker", "args": [ "run", "-i", "baseline-mcp-server:latest" ] } } }

謝辞

このOSSはGPT-4o Image Generationによってロゴを製作、Claude 3.7 Sonnetによって実装、ドキュメントのサンプルを提案いただきました。感謝申し上げます。

ライセンス

MIT License

-
security - not tested
A
license - permissive license
-
quality - not tested

MCP server that checks the Baseline status using Web Platform APIs.

  1. 機能
    1. Baselineステータスについて
      1. MCPクライアントでの設定
        1. Claude Desktop
        2. Visual Studio Code
      2. Dockerによる起動
        1. 謝辞
          1. ライセンス
            ID: p35kai7u9n