模型上下文协议服务器

一个基于Model Context Protocol (MCP)的服务器,提供日历查询、基础数学计算和问候语等功能,用于与Cursor AI等大型语言模型集成。

  • by ibrahim-sajib
  • JavaScript
  • 本地部署
  • 1 星标
  • 更新于
在 GitHub 查看 ibrahim-sajib/my-mcp

使用说明

🧠 Ibrahim的MCP服务器

这是一个模型上下文协议(MCP)服务器,使用 @modelcontextprotocol/sdk。它公开了日历查找、基本数学和问候语等工具和资源,以便与Cursor AI等LLM集成。


⚙️ 安装说明

# Clone the repo
git clone https://github.com/ibrahim-sajib/my-mcp.git

# Go to the project directory
cd my-mcp

# Install Node.js dependencies
npm install

# Create the environment file
cp .env.example .env

# Open .env and set the following variables:
# GOOGLE_PUBLIC_API_KEY=
# CALENDAR_ID=

# Run the server
node server.js