drio
Open app

spring-ai-mcp-client

Source

mcp client application that utilizes spring ai and anthropic claude models. it integrates with mcp protocol-supported servers to enable ai-powered chat interactions.

Catalog onlyCatalog onlySTDIO

Overview

The Spring AI MCP Client is a client application that utilizes Spring AI and Anthropic Claude models to enable AI-powered chat interactions with MCP protocol-supported servers.

To use the Spring AI MCP Client, clone the repository, configure the MCP server settings in the mcp-servers.json file, set up the application.yml for Spring configuration, and run the application using Maven.

  • Establishes and manages connections with MCP servers. - Supports protocol version and capability negotiation. - Handles message transport and JSON-RPC communication. - Allows tool discovery and execution. - Manages resources and prompt system interactions. - Supports both Anthropic and OpenAI models.
  1. Integrating AI chat functionalities into applications.
  2. Facilitating communication between clients and AI models.
  3. Enabling developers to build AI-powered applications using the MCP protocol.

Add to your AI client

Use these steps to connect spring-ai-mcp-client in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "spring-ai-mcp-client-ogulcanarbc": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-spring-ai-mcp-client-ogulcanarbc"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "spring-ai-mcp-client-ogulcanarbc": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-spring-ai-mcp-client-ogulcanarbc"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "spring-ai-mcp-client-ogulcanarbc": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-spring-ai-mcp-client-ogulcanarbc"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "spring-ai-mcp-client-ogulcanarbc": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-spring-ai-mcp-client-ogulcanarbc"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "spring-ai-mcp-client-ogulcanarbc": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-spring-ai-mcp-client-ogulcanarbc"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "spring-ai-mcp-client-ogulcanarbc": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-spring-ai-mcp-client-ogulcanarbc"
      ]
    }
  }
}

FAQ

What are the requirements to run the Spring AI MCP Client?

You need Java 17+, Maven or Gradle, and an Anthropic or OpenAI API key.

How do I configure the MCP server?

You need to add the MCP server information to the mcp-servers.json file.

Can I use both Anthropic and OpenAI models?

Yes, the client supports both models.