About MCP Project
MCP Project is a Node.js MCP server and client example focused on querying and adding student records. Its README documents a PostgreSQL setup and a Claude Desktop connection, plus an inspector-based resource check.
Key features
- 01Query student records
- 02Add student records
- 03PostgreSQL setup instructions
- 04Claude Desktop configuration
- 05Resource inspection with MCP Inspector
Use cases
- 01Query student data through MCP
- 02Add student records
- 03Check server resources in MCP Inspector
MCP support
The README shows how to configure the server in Claude Desktop and connect with MCP Inspector. It describes listing resources and receiving a server response to a Hello World Message.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEMCP 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 的回應
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.