MCP.so
登录

MCP Server Demo工程

@vivitrip

基本信息

分类

其他

传输方式

stdio

作者

vivitrip

关于 MCP Server Demo工程

mcp-server-demo

MCP Server Demo工程 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

MCP Server Demo工程 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Server Demo工程?

MCP Server Demo工程 is a Spring AI-based MCP server that enables large language models to invoke Spark tasks via tools. It integrates with Alibaba Cloud Bailian's Qwen model through the Cline plugin in VS Code, providing a local server that accepts model requests, runs Spark jobs, and returns execution results. It is suitable for developers who want to experiment with MCP workflows without owning dedicated cloud server resources.

How to use MCP Server Demo工程?

Start the MCP server by running the run-sse-server.sh script. Configure Cline to use the Bailian Qwen model and point the MCP server configuration to the local server address. Once set up, ask the model a question like "Please use MCP Server to start a Spark task" in Cline. The model will request to call the MCP server; you can either approve each call or enable auto-approval. The server executes the Spark task and returns the result to the model, which then relays it to you.

Key features of MCP Server Demo工程

  • Rapid MCP Server development using Spring AI
  • Tool method for invoking and tracking Spark tasks
  • Integration with Alibaba Cloud Bailian Qwen model via Cline
  • Local SSE server with built-in client for testing
  • Supports auto-approve or manual confirmation of tool calls

Use cases of MCP Server Demo工程

  • Starting a Spark job by asking a language model in Cline
  • Demonstrating an end-to-end MCP workflow with a real compute task
  • Testing and prototyping MCP-based tool calling without cloud server overhead

常见问题

1

How do I configure the MCP server in Cline?

Add a new MCP server entry in Cline's MCP configuration, set the transport to SSE, and point the URL to `http://localhost:8080` (or the custom port). Then start the server using the provided `run-sse-server.sh` script.

2

What are the runtime requirements?

You need Java and the Spring AI framework. The server runs locally, and the client requires VS Code with the Cline extension and a valid Alibaba Cloud Bailian API token (trial or paid).

3

Is the data stored locally or sent to the cloud?

Data stays local. The MCP server runs on your machine, and the Spark task executes locally. Only model queries and tool call metadata are exchanged with the Bailian API.

4

Can I use a different model instead of Qwen?

The README specifically uses Bailian's Qwen model, but the architecture is model-agnostic. You can configure Cline to use any model provider that supports tool calling and SSE-based MCP servers.

5

Can I implement the MCP server without Spring AI?

Yes. The README notes that if you prefer not to use Spring AI, you can implement the same functionality directly using the MCP SDK.

评论

其他 分类下的更多 MCP 服务器