MCP Directory
Back

mcp-tools-php

by kuroneko913 · PHP · ★ 0

A from-scratch implementation of the ModelContextProtocol to deepen my understanding.

Install

git clone https://github.com/kuroneko913/mcp-tools-php.git

Auto-generated from the repo's primary language — check the repo's own README for its exact install instructions.

Claude Desktop config

A starting point for your claude_desktop_config.json (auto-generated — the repo's README may specify a published package name or required env vars):

{
  "mcpServers": {
    "mcp-tools-php": {
      "command": "npx",
      "args": [
        "-y",
        "github:kuroneko913/mcp-tools-php"
      ]
    }
  }
}

From the README

JSON-RPC 2.0形式でSTDIN/STDOUT経由で処理するPHP製の簡易MCPサーバです。 自作することでプロトコルの理解を深めるのが目的です。 一応、Cursor と GitHub Copilot と MCP Inspector で、initialize, tools/list, tools/call が動作することは確認しました。 参考: [ModelContextProtocol](https://github.com/modelcontextprotocol) [MCP Inspector](https://github.com/modelcontextprotocol/inspector) 天気を取得するために、無料で使える OpenWeather のAPI ([Built-in API request by city name](https://openweathermap.org/current))を使用しています。 APIキーはログインして My API Keys で発行してください。 https://home.openweathermap.org/api_keys 発行したキーは、以下のコマンドを叩くか、.envファイルに追加してください。 (.envファイルはmakeコマンドから試す用です) Cursor や GitHubCopil…
Read full README on GitHub →

Related other servers