Discover Awesome MCP Servers

Extend your agent with 16,031 capabilities via MCP servers.

All16,031
VTEX Headless CMS MCP Server

VTEX Headless CMS MCP Server

An MCP Server that enables interaction with VTEX's Headless Content Management System API, allowing users to manage content through natural language commands.

Create your first own server

Create your first own server

了解しました。以下に、文字 "r" をカウントするシンプルな MCP (Minecraft Coder Pack) サーバーのコード例を示します。 ```java package your.package.name; // パッケージ名を適切に変更してください import net.minecraft.server.MinecraftServer; import net.minecraft.server.dedicated.DedicatedServer; import net.minecraft.util.text.TextComponentString; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.event.FMLServerStartingEvent; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import net.minecraftforge.fml.common.gameevent.TickEvent; @Mod(modid = "r_counter", name = "R Counter", version = "1.0") // modid, name, version を適切に変更してください public class RCounter { private int rCount = 0; @Mod.EventHandler public void serverStarting(FMLServerStartingEvent event) { // サーバー起動時に実行される処理 event.registerServerCommand(new CountRCommand()); // コマンドを登録 } // TickEvent.ServerTickEvent を使用して、サーバーのティックごとに処理を実行 @SubscribeEvent public void onServerTick(TickEvent.ServerTickEvent event) { if (event.phase == TickEvent.Phase.END) { // サーバーのティックごとに実行される処理 MinecraftServer server = MinecraftServer.getServer(); if (server != null) { // サーバーに接続しているすべてのプレイヤーの名前をチェック server.getPlayerList().getPlayers().forEach(player -> { String playerName = player.getName(); // プレイヤー名に含まれる "r" の数をカウント for (char c : playerName.toLowerCase().toCharArray()) { if (c == 'r') { rCount++; } } }); } } } // "r" の数を表示するコマンド public static class CountRCommand extends net.minecraft.command.CommandBase { @Override public String getName() { return "countr"; // コマンド名 } @Override public String getUsage(net.minecraft.command.ICommandSender sender) { return "/countr"; // コマンドの使い方 } @Override public void execute(MinecraftServer server, net.minecraft.command.ICommandSender sender, String[] args) throws net.minecraft.command.CommandException { // RCounter インスタンスを取得 RCounter rCounterInstance = (RCounter) server.getEntityWorld().getMinecraftServer().getModObject("r_counter"); // modid を使用 if (rCounterInstance != null) { // "r" の数を送信者に表示 sender.sendMessage(new TextComponentString("Total 'r' count in player names: " + rCounterInstance.rCount)); } else { sender.sendMessage(new TextComponentString("Error: RCounter instance not found.")); } } } } ``` **解説:** 1. **パッケージとインポート:** 適切なパッケージ名を設定し、必要なクラスをインポートします。 2. **Mod アノテーション:** `modid`, `name`, `version` を適切に設定します。 3. **`rCount` 変数:** "r" の数を保持する変数です。 4. **`serverStarting` メソッド:** サーバー起動時に実行される処理を記述します。ここでは、`CountRCommand` を登録しています。 5. **`onServerTick` メソッド:** サーバーのティックごとに実行される処理を記述します。 * `MinecraftServer.getServer()` でサーバーインスタンスを取得します。 * `server.getPlayerList().getPlayers()` で接続しているすべてのプレイヤーのリストを取得します。 * 各プレイヤーの名前を取得し、`toLowerCase()` で小文字に変換してから、`toCharArray()` で文字配列に変換します。 * 文字配列をループし、`'r'` が出現するたびに `rCount` をインクリメントします。 6. **`CountRCommand` クラス:** `/countr` コマンドを実装します。 * `getName()` でコマンド名を定義します。 * `getUsage()` でコマンドの使い方を定義します。 * `execute()` でコマンド実行時の処理を記述します。 * `server.getEntityWorld().getMinecraftServer().getModObject("r_counter")` で `RCounter` のインスタンスを取得します。 `"r_counter"` は `Mod` アノテーションで定義した `modid` です。 * `rCount` の値をコマンド実行者に送信します。 **使い方:** 1. このコードを Java ファイル (`RCounter.java` など) に保存します。 2. MCP 環境をセットアップし、このファイルを `src/main/java/your/package/name` に配置します (パッケージ名を適切に変更してください)。 3. `build.gradle` ファイルに Forge の依存関係を追加します。 4. MCP を実行して、Mod をビルドします。 5. 生成された Mod ファイルを Minecraft の `mods` フォルダに配置します。 6. Minecraft サーバーを起動します。 7. ゲーム内で `/countr` コマンドを実行すると、プレイヤー名に含まれる "r" の合計数が表示されます。 **注意点:** * このコードは、サーバーに接続しているプレイヤーの名前のみをチェックします。 * `your.package.name` を適切なパッケージ名に変更してください。 * `modid`, `name`, `version` を適切に変更してください。 * このコードは基本的な例であり、エラー処理やパフォーマンスの最適化は含まれていません。 * `getModObject` は非推奨のメソッドである可能性があります。より新しい方法で Mod インスタンスを取得する方法を検討してください。例えば、`@Mod.Instance` アノテーションを使用する方法があります。 **改善点:** * 設定ファイルから "r" をカウントする対象の文字を変更できるようにする。 * カウント対象をプレイヤー名だけでなく、チャットメッセージなどにも拡張する。 * カウント結果をログファイルに記録する。 * より効率的な文字列検索アルゴリズムを使用する。 このコードが、あなたの目的に役立つことを願っています。

Compiler Explorer MCP

Compiler Explorer MCP

LLMをCompiler Explorer APIに接続し、コードのコンパイル、コンパイラ機能の調査、さまざまなコンパイラや言語における最適化の分析を可能にする、モデルコンテキストプロトコルサーバー。

Video Fetch MCP

Video Fetch MCP

Enables downloading videos from 1000+ platforms including YouTube, Bilibili, TikTok, and Twitter using yt-dlp. Supports both MCP protocol and REST API modes with real-time progress tracking, multiple formats, and subtitle downloads.

Jadx MCP Server

Jadx MCP Server

JadxデコンパイラAPIをHTTP経由で公開するサーバー。これにより、ClaudeはデコンパイルされたJava/Androidコードと対話し、クラスの一覧表示、ソースコードの取得、メソッド/フィールドの検査、およびコードのライブ抽出が可能になります。

GitLab + Jira MCP Server

GitLab + Jira MCP Server

Enables read-only access to GitLab and Jira data through MCP, allowing users to list projects, merge requests, issues, and search Jira tickets via natural language queries. Provides safe, structured access to project management data without write permissions.

Pinecone MCP Server

Pinecone MCP Server

ベクトルの検索機能を備えたPineconeの統合

RetellAI MCP Server

RetellAI MCP Server

A Model Context Protocol server implementation that enables AI assistants to interact with RetellAI's voice services for managing calls, agents, phone numbers, and voice options.

hyperliquid-whalealert-mcp

hyperliquid-whalealert-mcp

hyperliquid-whalealert-mcp

SFCC MCP Server

SFCC MCP Server

MCP Server: ComfyUI Selfie

MCP Server: ComfyUI Selfie

チャットアシスタントに自撮り写真を生成させてください。

Auth0 OAuth MCP Server

Auth0 OAuth MCP Server

A Model Context Protocol server that requires user authentication via Auth0 before enabling secure API access on behalf of the authenticated user.

Heimdall

Heimdall

Heimdallは、ローカルのMCPサーバーを管理するための軽量なサービスで、単一のnpxコマンドでインストールできます。特定のMCPサーバースツールをMCPクライアントに対して承認でき、同じ設定がデバイス上のすべてのMCPクライアントからアクセス可能です。

SolTracker MCP Server

SolTracker MCP Server

40以上のAPIエンドポイントを通じて、リアルタイムおよび過去のSolanaエコシステムデータへの統一されたアクセスを提供し、LLMエージェントがトークン、ウォレット、取引、DeFiメトリクスをクエリできるようにします。

TypeScript MCP

TypeScript MCP

A specialized server that provides advanced TypeScript code manipulation and analysis capabilities, enabling refactoring, navigation, diagnostics, and module analysis through Claude.

Philips Hue MCP Server

Philips Hue MCP Server

ClaudeのようなAIアシスタントが、自然言語コマンドを通じてPhilips Hueスマート照明システムを制御できるようにする、モデルコンテキストプロトコルインターフェース。

MATLAB MCP Server

MATLAB MCP Server

MATLAB Engine APIを使用してPythonからMATLABコードを実行できるようにし、複数のリクエスト間でMATLABセッションを共有することで、Claude Desktopとのシームレスな統合を可能にします。

SDOF Knowledge Base

SDOF Knowledge Base

A Model Context Protocol (MCP) server that provides persistent memory and context management for AI systems through a structured 5-phase optimization workflow.

Remote MCP Server (Authless)

Remote MCP Server (Authless)

A Cloudflare Workers-based MCP server that enables AI tools without requiring authentication, allowing connection from Claude Desktop or the Cloudflare AI Playground.

gh-github-mcp-server

gh-github-mcp-server

Webvizio MCP Server

Webvizio MCP Server

Enables AI clients to interact with Webvizio projects and development tasks through a standardized interface. Provides access to task management, screenshots, logs, and project details for streamlined development workflows.

NestJS MCP Server - Model Context Protocol Example

NestJS MCP Server - Model Context Protocol Example

Liveblocks

Liveblocks

Liveblocks

Postman Tool Generation Server

Postman Tool Generation Server

PostmanコレクションとリクエストからAIエージェントツールを生成するMCPサーバー。このサーバーはPostman APIと統合し、APIエンドポイントを、様々なAIフレームワークで使用できる型安全なコードに変換します。

Nuvio-MCP

Nuvio-MCP

A framework that helps developers quickly build AI Native IDE products.

SteamStats MCP Server

SteamStats MCP Server

Steam Web API ゲーム統計用 MCP サーバー

CodeGraphContext

CodeGraphContext

Indexes local Python code into a Neo4j graph database to provide AI assistants with deep code understanding and relationship analysis. Enables querying code structure, dependencies, and impact analysis through natural language interactions.

MoCo MCP Server

MoCo MCP Server

Provides a Model Context Protocol interface to MoCo time tracking and project management systems, enabling AI assistants to retrieve work activities, projects, tasks, holidays, and presence data.

MCP Auto Register

MCP Auto Register

YouTube MCP

YouTube MCP

Automatically captures and processes screenshots from YouTube videos and Shorts at specified intervals, supporting customizable screenshot timing and providing API endpoints for image management.