MCP Server - Model Context Protocol
@maithanhduyan
关于 MCP Server - Model Context Protocol
MCP Server
基本信息
配置
使用下面的配置,将此服务器添加到你的 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.
其他 分类下的更多 MCP 服务器
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Nginx UI
0xJackyYet another WebUI for Nginx
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
评论