MCP.so
ログイン

Data Generator Java MCP Server

@uthircloudnative

Data Generator Java MCP Server について

概要はまだありません

基本情報

カテゴリ

データと分析

ランタイム

java

トランスポート

stdio

公開者

uthircloudnative

設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

ツール

4

`prompt` (String)

Generated data as a String

`id` (String)

User object with ID, name, and age

概要

What is Data Generator Java MCP Server?

A Spring Boot application that implements a Model Completion Protocol (MCP) server for data generation. It exposes Java methods as tools that can be called by AI models, using Spring AI’s MCP server capabilities.

How to use Data Generator Java MCP Server?

Build with ./mvnw clean install and run with ./mvnw spring-boot:run. The MCP server starts in synchronous mode as a non-web application, ready to accept requests from AI models via the Model Completion Protocol.

Key features of Data Generator Java MCP Server

  • Implements the Model Completion Protocol (MCP) server
  • Provides two built‑in data generation tools
  • Supports synchronous execution mode
  • Includes a REST client for external API integration
  • Extensible via @Tool‑annotated service methods

Use cases of Data Generator Java MCP Server

  • AI model generates structured data based on a prompt
  • AI model retrieves synthetic user data (ID, name, age)
  • Developers integrate custom data generation logic into AI workflows
  • Build a test data pipeline for AI‑driven applications

FAQ from Data Generator Java MCP Server

What tools does the server expose?

The server exposes two tools: generateData (accepts a prompt string, returns generated data as a String) and getUserData (accepts id String and age int, returns a User object with ID, name, and age).

What are the prerequisites for running the server?

Java 21 or higher, Maven 3.9+ (or the included Maven wrapper), and a basic understanding of Spring Boot and Spring AI.

How can I extend the server with custom tools?

Create a new service class with methods annotated @Tool, then register the service in McpServerConfig using MethodToolCallbackProvider.builder().toolObjects(...).

How do I configure the MCP server?

Configuration is in application.properties (e.g., spring.ai.mcp.server.name and spring.ai.mcp.server.type=SYNC) and can be customized via the McpServerConfig class.

Does the server run in synchronous or asynchronous mode?

The server is configured to run in synchronous mode by default (spring.ai.mcp.server.type=SYNC).

コメント

「データと分析」の他のコンテンツ