Spring AI MCP Server Spark task demo

Spring AI MCP Server Spark task demo

mcp-server-demo-vivitrip•byvivitrip

A demo MCP server built with Spring AI that exposes a tool to launch a Spark task and return execution information to the model.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Exposes an MCP tool that starts a Spark task when requested by the model.
  • •After the Spark task runs, the MCP server returns execution information to the model.
  • •Can be started via the run-sse-server.sh script and includes an SSE client implementation for testing.

BEST FOR

  • •Testing a model-driven workflow that triggers Spark jobs through an MCP server.
  • •Using an MCP host such as the VS Code Cline plugin to call a locally launched MCP server.

ABOUT MCP-SERVER-DEMO-VIVITRIP

Spring AI MCP Server Spark task demo is cataloged as an MCP server attributed to vivitrip. A demo MCP server built with Spring AI that exposes a tool to launch a Spark task and return execution information to the model. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Spring AI MCP Server Spark task demo are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How is the MCP server built?

It is developed quickly using Spring AI, registering a tool method; alternatives include the MCP SDK.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 12e0bc170bfa · 采集于 2026-11-13 13:33:41 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

MCP Server Demo工程

1. 流程和实现效果

该工程用于完成大模型调用MCP Server(Tool)执行一个Spark任务的流程。

阿里云百炼平台上可以选择模型结合自建MCP完成该流程,但存在限制MCP Server需要使用函数计算FC或者自建公网服务。由于缺乏服务器资源,使用替代服务完成当前流程:

  • 申请百炼云试用token,在本地远程调用模型;
  • 使用vs-code + cline插件作为MCP host,提供入口;
  • 配置cline,使用百炼提供的千问模型,同时配置本地启动MCP服务器提供给模型调用;
  • 开发MCP Server Demo,使用spring-ai完成快速开发,tool方法提供调用上一个task的入口;

完成的效果是:

  1. 在cline向模型提问:请使用MCP Server帮我启动一个Spark任务;
  2. 模型请求调用MCP Server,选择允许或者提前配置 auto approve;
  3. MCP Server接收请求,运行Spark任务,在任务执行之后返回执行信息给模型;
  4. 模型将会把当前信息返回给提问者;

相关图片:

  1. cline配置-使用千问模型

配置模型

  1. cline配置-配置MCP Server

配置本地服务器

  1. 对话信息

对话信息.png

2. 工程介绍

由于使用了spring-ai提供的能力,所以在MCP开发上是非常简洁的,只需要完成tool注册即可。

如果不使用spring-ai,也可以使用mcp SDK自行对应功能。

可以使用run-sse-server.sh脚本启动mcp server。

工程中提供了sse方式的client端实现,可以测试sse的调用。

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Spring AI MCP Server Spark task demo from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-server-demo-vivitrip)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools