MCP-Server
The Model Context Protocol (MCP) server is designed to facilitate communication between clients and servers using a structured protocol, often used in conjunction with LLM (Large Language Models) and other AI technologies.
MCP Project
環境建置
- 下載 Node.js
- 下載 docker 然後執行以下命令
docker run -d --name postgres -p 5432:5432 -e POSTGRES_PASSWORD=admin postgres
- 建立 Server
npm install
npm run build
- 建立 claude_desktop_config.json
cd ~/Library/Application\ Support/Claude
touch claude_desktop_config.json
- 將以下內容貼至剛建立的檔案內
{
"mcpServers": {
"mcp-server": {
"command": "node",
"args": ["/absolute/path/to/your/hello-mcp/build/index.js"]
}
}
}
- 執行 MCP 檢查器
npm run inspector
- 打開瀏覽器輸入以下網址 http://localhost:5173 ,點擊 Connect 按鈕
- 右側會出現以下畫面再點選 List Resources,會列出先前ListResourcesRequestSchema 所提供的 Resources
- 點擊 Hello World Message, 右側會出現 Server 的回應
Related MCP Servers
View all typescript servers →mcp-unity
by CoderGamester
MCP Unity is an implementation of the Model Context Protocol for Unity Editor, allowing AI assistants to interact with Unity projects.
marvel-mcp
by DanWahlin
MCP Server for the Marvel Developer API, enabling interaction with characters and comics data.
DoorDash-MCP-Server
by JordanDalton
The MCP Server Guide provides instructions for building and deploying a Model Context Protocol server using Node.js and TypeScript.
superset-mcp-server
by LiusCraft
The MCP Server Superset is a server-side application built on the Apache Superset REST API, enabling basic query capabilities through large models.
hubble-ai-mcp
by HubbleVision
Hubble AI for Solana is an AI-powered analytics tool that provides data analysis and visualization for Solana blockchain transactions using natural language queries.
dad-mcp
by andyrewlee
DadMCP is a remote Model Context Protocol server designed to enhance children's creativity through AI-powered education at home.
devtools-mcp-server
by devtools-mcp
The devtools-mcp-server is a server implementation for the Model Context Protocol (MCP), designed to facilitate communication and interaction between different components in a model-driven architecture.