Token导航 LogoToken导航TokenDH.com
Hl MCP Send Email logo
AI代理未说明官方级别未说明来源级核验

Hl MCP Send Email

MCP Server

一个基于Helidon框架构建的MCP服务器示例项目,提供模拟邮件发送功能,用于Java与LLM结合的学习。

工具数

1

提示词数

0

GitHub Stars

0

资源数

0
Java模型集成AI代理

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

rst77

提供方

rst77

最后核验

2026/5/17 20:19

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

MCP Send Email - Helidon MCP Server Example

Description

This is an example MCP (Model Context Protocol) Server project built with the Helidon framework.

The project implements a basic MCP server that provides a simple tool for simulating email sending, demonstrating how to create MCP servers using Java and Helidon.

Purpose

This project is part of a series of examples with increasing complexity developed for studying Java in conjunction with LLM (Large Language Models). The goal is to provide a practical foundation for understanding how to build MCP servers that can be used by AI agents and LLM-based assistants.

Technologies

  • Java (JDK 17+)
  • Helidon 4.3.1 (Helidon SE)
  • MCP (Model Context Protocol)
  • Maven (dependency management and build)

Project Structure

The project contains:

  • McpServer.java: MCP server implementation with:

- sendEmail: Tool for simulated email sending - sendEmailPrompt: Example prompt for LLM interaction

  • Main.java: Main class that initializes the server

Features

Tool: Send Email

Tool that simulates sending an email with the following parameters:

  • from: Sender's email address
  • to: Recipient's email address(es)
  • subject: Email subject
  • body: Email body

Prompt: Send Email Prompt

Example prompt demonstrating how to structure an email sending request for use by an LLM.

How to Run

Prerequisites

  • Java JDK 17 or higher
  • Maven 3.8+

Build

mvn clean package

Run

mvn exec:java -Dexec.mainClass="com.r13a.mcp.sendemail.Main"

Or run the generated JAR:

java -jar target/mcp-send-email.jar

The server will start on port 8080 (configurable in application.yaml).

Configuration

Server configuration can be adjusted in the src/main/resources/application.yaml file:

server:
  port: 8080
  host: 0.0.0.0

Next Steps

This is the initial project in the series. Subsequent projects will include:

  • Integration with real email sending APIs
  • Authentication and authorization
  • Data persistence
  • More complex MCP tools
  • Integration with multiple services

Resources

License

This is a sample project for educational purposes.

Author

Developed as part of a series of studies on Java and LLM.

目录标签

目录标签

Java模型集成AI代理MCP服务器本地部署邮件模拟Java开发Helidon框架LLM集成

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

1

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明none部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP