
💫 Tachyon MCP 运行时支持 Java 和 Kotlin - 模型上下文协议(MCP)服务器,支持可流式 HTTP、原生 Netty 传输、工具、任务、资源、提示、完成、可恢复会话等功能,以及......
概览
是 Model Context 协议的 Java 21+ 服务器运行时。它通过可流式 HTTP 实现 MCP 2025-11-25 和 2026-07-28,并支持两个版本的官方一致性套件。 构建带有同步 Java 处理器或协程优先的 Kotlin DSL 服务器。Tachyon 在虚拟线程上运行阻塞处理程序,避免进入 Netty 事件循环,且无需任何应用框架。 - —— 编写阻塞 Java 代码或暂停 Kotlin 代码,无需反应式流水线或手动线程池。—— 协议版本映射器将处理程序与线格式更改隔离开来。—— —— 将现有的 mcp-java、LangChain4j 或 Spring AI 注释服务适配到 Tachyon MCP 服务器中。—— —— 仅在需要可恢复的 SSE、事件重放和 TTL 清理时选择加入会话。—— —— 净背压、优雅关机、DNS 重新绑定保护、CORS 和原生传输自动检测(io_uring → epoll → kqueue → NIO)。
概述(AI 翻译)
Tachyon MCP 是一个用于 模型上下文协议。它实现了MCP 2025-11-25, 2026-07-28 通过 Streamable HTTP 通过,并通过了两个版本的官方合规套件。
构建带有同步 Java 处理器或协程优先的 Kotlin DSL 服务器。Tachyon 运行 在虚拟线程上阻断处理程序,使其避免进入Netty事件循环,且不需要 应用框架。
为什么是Tachyon?
- 简单处理程序——编写阻塞的Java代码或无反应式的挂起Kotlin代码 流水线或手动线池。
- 稳定应用API——协议版本映射器将处理程序与线格式更改隔离开来。
- Java 注释支持 —— 将现有的 mcp-java、LangChain4j 或 Spring AI 注释服务适配到 Tachyon MCP 服务器中。
- 默认无状态 ——仅在需要可恢复的SSE、事件重放和 时间线清理。
- 生产传输 – 净背压,优雅关机,DNS重新绑定保护,
CORS,以及本地传输自动检测(
io_uring→epoll→kqueue→NIO)。 - 内置OpenTelemetry——为MCP寄存器
tachyon-opentelemetry的监听器
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Tachyon MCP is a Java 21+ server runtime for the Model Context Protocol. It implements MCP 2025-11-25 and 2026-07-28 over Streamable HTTP and passes the official conformance suites for both versions.
Build servers with synchronous Java handlers or a coroutine-first Kotlin DSL. Tachyon runs blocking handlers on virtual threads, keeps them off the Netty event loop, and requires no application framework.
Why Tachyon?
- Simple handlers – write blocking Java code or suspending Kotlin code without reactive pipelines or manual thread pools.
- Stable application API – protocol-version mappers isolate handlers from wire-format changes.
- Java annotations support – adapt existing mcp-java, LangChain4j, or Spring AI annotated services into Tachyon MCP servers.
- Stateless by default – opt into sessions only when you need resumable SSE, event replay, and TTL cleanup.
- Production transport – Netty backpressure, graceful shutdown, DNS-rebinding protection,
CORS, and native transport auto-detection (
io_uring→epoll→kqueue→ NIO). - Built-in OpenTelemetry – register
tachyon-opentelemetry’s listener for MCP semantic-convention spans and metrics, with an opt-in policy for payload capture.
Quickstart
Import the BOM once to pin the version, then add the core dependency:
dev.tachyonmcp
tachyon-bom
安装
npx skills add tachyonmcp/tachyon --skill tachyon-mcp