Back to MCP directory
publicPublicdnsLocal runtime

mcp-server-public

一个基于Kotlin SDK的服务器项目,提供获取城市天气信息和通过RESEND SDK发送邮件的功能。

article

README

🚀 MCP-Server 与 Kotlin SDK

本项目提供了获取城市气候信息和发送电子邮件的功能。通过地理编码获取城市地理位置数据,再根据经纬度获取天气情况;同时借助 Resend SDK 实现电子邮件的发送。

🚀 快速开始

在终端中执行以下命令进行构建: ./gradlew clean build -x test

✨ 主要特性

获取城市气候信息

  • 通过地理编码获取城市地理位置数据:获得指定城市的经纬度坐标。
  • 根据经纬度获取天气情况:使用经纬度数据查询该城市的气候信息。

发送电子邮件

  • 借助 Resend SDK 发送通知邮件:实现电子邮件的发送功能。
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