MCP.so
登录

MCP Project

@lee926427

关于 MCP Project

for query and add student

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-server-lee926427": {
      "command": "docker",
      "args": [
        "run",
        "-d",
        "--name",
        "postgres",
        "-p",
        "5432:5432",
        "-e",
        "POSTGRES_PASSWORD=admin",
        "postgres"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Project?

MCP Project is a Model Context Protocol server example that demonstrates basic MCP functionality, including a Hello World resource. It is intended for developers learning or prototyping MCP-based integrations with tools like Claude Desktop.

How to use MCP Project?

Set up the environment by installing Node.js, running a Docker PostgreSQL container, then building the server with npm install and npm run build. Configure Claude Desktop by creating a claude_desktop_config.json file pointing to the built server. Finally, run npm run inspector and open http://localhost:5173 to test using the MCP Inspector.

Key features of MCP Project

  • Demonstrates a minimal MCP server implementation
  • Includes a "Hello World Message" resource
  • Integrates with Claude Desktop via claude_desktop_config.json
  • Provides a web-based inspector for testing MCP features
  • Supports local PostgreSQL database (Docker container)

Use cases of MCP Project

  • Learning how to build and run an MCP server
  • Testing MCP client‑server communication with Claude Desktop
  • Prototyping custom resources for MCP integrations

FAQ from MCP Project

What dependencies are required to run MCP Project?

You need Node.js, Docker (to run PostgreSQL), and the npm packages installed via npm install.

How do I configure MCP Project with Claude Desktop?

Create a claude_desktop_config.json file in ~/Library/Application Support/Claude with the server command and absolute path to the built index.js.

How can I test if MCP Project is working?

Run npm run inspector, open http://localhost:5173, click Connect, then click List Resources. Select "Hello World Message" to see the server response.

Does MCP Project actually use the PostgreSQL database?

The README provides a Docker command to start a PostgreSQL container, but the server code’s use of that database is not described.

What transport does MCP Project use?

The README does not specify the transport protocol; the MCP Inspector connects via HTTP on localhost.

常见问题

What dependencies are required to run MCP Project?

You need Node.js, Docker (to run PostgreSQL), and the npm packages installed via `npm install`.

How do I configure MCP Project with Claude Desktop?

Create a `claude_desktop_config.json` file in `~/Library/Application Support/Claude` with the server command and absolute path to the built `index.js`.

How can I test if MCP Project is working?

Run `npm run inspector`, open `http://localhost:5173`, click Connect, then click List Resources. Select "Hello World Message" to see the server response.

Does MCP Project actually use the PostgreSQL database?

The README provides a Docker command to start a PostgreSQL container, but the server code’s use of that database is not described.

What transport does MCP Project use?

The README does not specify the transport protocol; the MCP Inspector connects via HTTP on localhost.

评论

其他 分类下的更多 MCP 服务器