MCP.so
ログイン

MCP Server - Model Context Protocol

@maithanhduyan

MCP Server - Model Context Protocol について

MCP Server

基本情報

カテゴリ

その他

ライセンス

MIT

ランタイム

python

トランスポート

stdio

公開者

maithanhduyan

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "mcp-server-maithanhduyan": {
      "command": "docker",
      "args": [
        "build",
        "-t",
        "mcp-time-server",
        "."
      ]
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is MCP Server - Model Context Protocol?

Model Context Protocol (MCP) Server is an open protocol developed by Anthropic that standardizes how AI models interact with external data sources and tools. It acts as a bridge between AI models and various services, databases, and APIs, providing tools, resources, and prompts via JSON‑RPC 2.0 over WebSocket or stdio.

How to use MCP Server - Model Context Protocol?

Install the SDK (pip install mcp for Python, npm install @modelcontextprotocol/sdk for Node.js/TypeScript), then create a server implementing tool handlers. Configure a client by adding a mcpServers entry in a JSON file with the command and arguments. Test with a simple stdio command like echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | python mcp_server.py.

Key features of MCP Server - Model Context Protocol

  • Standardized protocol for AI integrations (JSON‑RPC 2.0)
  • Supports multiple transports: stdio and WebSocket
  • Provides tools, resources, and prompts to AI models
  • Includes sample implementations: Python, TypeScript, Node.js
  • Offers a pre‑built MCP Time Server for timezone operations
  • Integrates with databases, external APIs, and file systems

Use cases of MCP Server - Model Context Protocol

  • Business Intelligence: Automate sales reports by querying databases
  • Customer Support: Let AI chatbots look up order status and update tickets
  • Content Management: Auto‑publish blog posts and update CMS via AI
  • DevOps & Monitoring: Check server health and deploy applications
  • E‑commerce Integration: Manage inventory, orders, and customer service

FAQ from MCP Server - Model Context Protocol

What is MCP and who created it?

MCP (Model Context Protocol) is an open protocol developed by Anthropic to standardize interactions between AI models and external data/tools.

What runtimes and languages are supported?

The README provides SDKs and examples for Python (pip install mcp) and Node.js/TypeScript (npm install @modelcontextprotocol/sdk).

How do I configure a client to connect to an MCP server?

Add a mcpServers entry in a JSON configuration file with the command and arguments to launch the server (e.g., "command": "python", "args": ["path/to/server.py"]).

What transport mechanisms are available?

MCP supports communication via stdio (standard input/output) and WebSocket connections between AI applications (clients) and MCP servers.

Is there a sample server included in the repository?

Yes, the repository contains a Node.js MCP Time Server (mcp-time-node/) that provides get_current_time and convert_time tools with full IANA timezone support.

コメント

「その他」の他のコンテンツ