Spring AI + X's New MCP Servers

9 Просмотры
Издатель
X (formerly Twitter) just dropped MCP servers for both the X API and their developer documentation and they work with any MCP-compatible AI tool. Let's see what they can do and build a Spring AI client that connects to both servers.

In this video, we explore the brand-new X MCP servers for docs and the live X API. We start by reviewing the official announcement and documentation, then plug the docs server into Claude AI for a quick test. Finally, we build a full Spring Boot 4.1 + Spring AI 2.0 MCP client app with two demos: querying X API documentation and searching real-time posts on any topic, all powered by AI tool calling.

- Understand the two X MCP servers: one for X API documentation and one for the live X API endpoints
- Learn how to plug a remote MCP server into Claude AI (or any MCP-compatible client) with zero setup
- Build a Spring Boot 4.1 MCP client using Spring AI 2.0 and Anthropic Claude
- Configure streamable HTTP MCP connections and bearer token authentication in application.yaml
- See AI tool calling in action — watch the model decide which MCP tools to invoke automatically

0:00 - Intro – X announces MCP servers
0:45 - Why MCP servers matter for context engineering
1:30 - Exploring the X MCP documentation
3:00 - Two auth models: bearer token vs XRL bridge
4:00 - Demo: Plugging the docs MCP server into Claude AI
5:15 - Setting up the Spring Boot project with Spring Initializr
6:30 - Configuring application.yaml for the docs MCP server
8:00 - Creating the ChatClient bean with MCP tool callbacks
9:30 - Demo 1: Docs controller – querying X API documentation
11:00 - Adding the X API MCP server with bearer token auth
12:30 - MCP Client Customizer for authorization headers
14:00 - Demo 2: Searching live X posts about Spring Boot 4.1
15:30 - Viewing tool call logs and results
16:30 - Wrap-up and final thoughts on MCP + Spring AI

Категория
AI инструменты
Комментариев нет.