Local Utilities MCP Server
ローカルユーティリティMCPサーバー
様々なローカルシステムユーティリティへのアクセスを提供するモデルコンテキストプロトコル(MCP)サーバー。このサーバーは、Cursorやその他のMCP互換クライアントと併用することで、システム情報への迅速なアクセスを提供します。
特徴
サーバーは次のユーティリティを提供します。
時刻と日付: 現在の現地の時刻と日付(曜日を含む)をさまざまな形式で取得します
ホスト名: システムのホスト名を取得する
パブリックIP : マシンのパブリックIPアドレスを取得します
ディレクトリ一覧: 指定されたディレクトリの内容を一覧表示します
Node.js バージョン: 現在実行中の Node.js バージョンを取得します
ポートチェッカー: 特定のポートで実行されているプロセスを確認します
思考ツール: 開発セッション中に思考を記録、取得、分析します
Related MCP server: Simple MCP Server
インストール
グローバルインストール
pnpm add -g localutils-mcp-servernpx での使用
グローバルにインストールせずに、npx を使用してサーバーを直接実行することもできます。
npx localutils-mcp-server使用法
サーバーの起動
グローバルにインストールされている場合:
localutils-mcpnpx の場合:
npx localutils-mcp-serverカーソルの使用
Cursor の設定でサーバーを MCP サーバーとして構成することにより、Cursor でサーバーを使用できます。
カーソル設定を開く
MCPセクションに移動する
次の構成で新しい MCP サーバーを追加します。
{ "name": "localutils", "command": "npx", "args": ["localutils-mcp-server"] }
MCPインスペクターの使用
MCP Inspector を使用してサーバーをテストできます。
pnpm run inspectorこれにより、 http://localhost:5173で MCP Inspector が起動します。
利用可能なツール
get_time_and_date
現在のローカルの時刻と日付を、次のようなさまざまな形式で返します。
現地時間
現地の日付
曜日
ISO 8601形式
Unixタイムスタンプ
get_hostname
MCP サーバーを実行しているマシンのホスト名を返します。
get_public_ip
MCP サーバーを実行しているマシンのパブリック IP アドレスを返します。
list_directory
指定されたディレクトリの内容を一覧表示します。
パラメータ:
path(文字列、必須): リストへのディレクトリパス
get_node_version
MCP サーバーを実行している環境の Node.js バージョン情報を返します。
check_port
特定のポート上で実行されているプロセスを確認します。
パラメータ:
port(数値または文字列、必須):チェックするポート番号(1~65535)。文字列値は自動的に数値に変換されます。
応答例 (macOS/Linux):
{
"processes": [
{
"command": "node",
"pid": "12345",
"user": "username",
"fd": "12u",
"type": "IPv4",
"device": "0x1234567890",
"size": "0t0",
"node": "TCP",
"name": "*:3000 (LISTEN)"
}
],
"message": "Found 1 process(es) using port 3000"
}think
新しい考えをタイムスタンプとともに記録します。
パラメータ:
thought(文字列、必須): 記録する思考内容
応答例:
{
"success": true,
"data": {
"message": "Thought recorded successfully"
}
}get_thoughts
記録されたすべての考えを取得します。
応答例:
{
"success": true,
"data": {
"thoughts": [
{
"timestamp": "2025-03-24T15:00:00.000Z",
"content": "Need to update the documentation"
}
]
}
}clear_thoughts
記録された思考をすべて消去します。
応答例:
{
"success": true,
"data": {
"message": "All thoughts cleared"
}
}get_thought_stats
記録された思考に関する統計を返します。
応答例:
{
"success": true,
"data": {
"totalThoughts": 1,
"averageLength": 28,
"oldestThought": "2025-03-24T15:00:00.000Z",
"newestThought": "2025-03-24T15:00:00.000Z"
}
}発達
建物
pnpm run build開発モードで実行
pnpm run devテスト
pnpm testGitワークフロー
このリポジトリには、コミット前にサーバーを自動的にビルドするpre-commitフックが含まれています。これにより、リポジトリ内のビルドファイルが常に最新の状態になります。
ビルド フォルダーは、最初にビルドしなくても npx でパッケージを簡単に使用できるようにするために、git リポジトリに含まれています。
リポジトリのクローン作成後にコミット前フックを設定するには:
pnpm installこれにより、依存関係がインストールされ、Husky を介してコミット前のフックが設定されます。
ライセンス
マサチューセッツ工科大学
Available Tools
10 toolscheck_portD
Inputs: port (required).
clear_thoughtsA
Clear all recorded thoughts
get_hostnameA
Returns the hostname of the machine running the MCP server.
get_node_versionA
Returns the Node.js version information of the environment running the MCP server.
get_public_ipA
Returns the public IP address of the machine running the MCP server.
get_thoughtsB
Retrieve all recorded thoughts
get_thought_statsC
Get statistics about recorded thoughts
get_time_and_dateA
Returns the current time, date, day of week, and timestamp in various formats
list_directoryD
Inputs: path (required).
thinkD
Inputs: thought (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool has a distinct name and purpose, even though some lack descriptions. The 'get_*' tools clearly differentiate between hostname, node version, public IP, time/date, and thoughts, while 'list_directory', 'check_port', and the thought management tools are all distinct.
All tool names follow a consistent lowercase_snake_case pattern, predominantly using verb_noun structure (e.g., 'get_hostname', 'list_directory', 'clear_thoughts'). The single verb 'think' is a minor deviation but still fits the pattern.
10 tools is a reasonable number for a local utilities server, covering both system information and a thought management module without overloading the surface.
The thought management tools are complete, but the system utilities are sparse, lacking common operations like disk space, CPU usage, or process listing. This leaves notable gaps for a 'Local Utilities' server.
Related MCP Connectors
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
MCP Apps that show UI in your chat. Every tool in one server.
Hosted MCP server for live public-data APIs and Skills for AI agents.
Related MCP Servers
- AlicenseBqualityDmaintenanceA comprehensive MCP server with 30+ custom tools organized into categories: date/time operations, file management, system information, text processing, and web operations. Enables async communication with robust error handling and flexible CLI integration.311MIT
- AlicenseNot gradedqualityDmaintenanceA self-contained, dependency-free MCP server that provides utility tools for time, date, mathematical calculations, and shell command execution. It supports remote connectivity through SSE and is designed for easy deployment via Docker.GPL 3.0
- FlicenseAqualityDmaintenanceA general-purpose MCP server providing time-related utilities such as fetching current time, Unix timestamps, and formatting services. It supports both local stdio and remote SSE communication modes for versatile AI client integration.3-
- AlicenseNot gradedqualityDmaintenanceLightweight MCP server providing system time tools (current time, date, datetime, time components, unix timestamp) for LLM applications.1MIT