Back to MCP directory
publicPublicdnsLocal runtime

My_First_MCP_server

开发HR请假管理AI工具的MCP服务端,实现与数据库交互并响应客户端查询

article

README

🚀 构建我的第一个MCP服务器

这个人工智能工具专为HR打造,能有效处理与请假管理相关的任务。我们正在着手创建一个MCP服务器,该服务器会与数据库进行交互,并且能够响应来自MCP客户端(也就是Claude Desktop)的查询。

🚀 快速开始

我们的目标是构建一个可以与数据库交互、响应Claude Desktop查询的MCP服务器,以此辅助HR进行请假管理任务。后续将逐步展开搭建步骤。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client