Spring AI Chrome MCP Server

Spring AI Chrome MCP Server

By qoxogus GitHub

-

spring-ai chrome
Overview

What is Spring AI Chrome MCP Server?

Spring AI Chrome MCP Server is a server that interacts with the Chrome browser, allowing users to automate various browser tasks.

How to use Spring AI Chrome MCP Server?

To use the server, you can send commands to open the browser, perform searches, navigate to URLs, and manage tabs. For example, you can instruct it to open a browser, search for a term, summarize a blog, or check the exchange rate.

Key features of Spring AI Chrome MCP Server?

  • Open and manage multiple browser instances.
  • Perform Google searches and navigate to specific URLs.
  • Take screenshots and extract page text.
  • Close tabs and browsers programmatically.

Use cases of Spring AI Chrome MCP Server?

  1. Automating web scraping tasks.
  2. Conducting research by summarizing web content.
  3. Managing multiple browser sessions for testing purposes.

FAQ from Spring AI Chrome MCP Server?

  • Can I run multiple browsers at the same time?

Yes! You can manage multiple browser instances using unique IDs.

  • Is there a limit to the number of tabs I can open?

No, you can open as many tabs as your system resources allow.

  • What programming language is used for this project?

The project is developed in Java.

Content

Spring AI Chrome MCP Server

크롬 브라우저와 상호작용 할 수 있는 MCP 서버입니다.

Running Example

  1. 브라우저 열어줘
  2. MCP 검색해줘
  3. 블로그 하나 들어가서 내용 요약해줘
  4. 새 탭 열고, 구글 접속해줘
  5. 오늘의 환율 검색해줘
  6. 브라우저 닫아줘

spring-ai-chrome-mcp-server-running-example.gif

Tools

각각의 브라우저는 ID로 관리됩니다. (여러개의 브라우저를 띄울 수 있습니다, 세팅하지 않을 시 default)
각각의 Tab은 인덱스로 관리됩니다.

ex1) 브라우저 열어줘(default google page) -> XX 검색해줘
ex2) 브라우저 ID 1로 열어줘 -> 새 탭 인덱스 2로 열고 구글 접속해줘 -> 2 인덱스 탭에서 XX 검색해줘

  • open_browser
  • open_browser_by_browser_id
  • google_search
  • google_search_by_browser_id
  • navigate_to_url
  • navigate_to_url_by_browser_id
  • click_link_with_text
  • click_link_with_text_by_browser_id
  • take_screenshot
  • take_screenshot_by_browser_id
  • get_page_title
  • get_page_title_by_browser_id
  • input_text
  • input_text_by_browser_id
  • extract_page_text
  • extract_page_text_by_browser_id
  • get_cookies
  • get_cookies_by_browser_id
  • open_new_tab
  • open_new_tab_by_browser_id
  • open_new_tab_with_url
  • open_new_tab_with_url_by_browser_id
  • close_current_tab
  • close_current_tab_by_browser_id
  • switch_to_tab
  • switch_to_tab_by_browser_id
  • get_tab_list
  • get_tab_list_by_browser_id
  • close_all_tabs_except_current
  • close_all_tabs_except_current_by_browser_id
  • close_browser
  • close_browser_by_browser_id
  • close_all_browsers

claude_desktop_config

template

{
  "mcpServers": {
    "spring-ai-chrome-mcp-server": {
      "command": "{JAVA_PATH}",
      "args": [
        "-Dspring.ai.mcp.server.stdio=true",
        "-jar",
        "{JAR_PATH}"
      ]
    }
  }
}

example

{
  "mcpServers": {
    "spring-ai-chrome-mcp-server": {
      "command": "/Users/baetaehyeon/Library/Java/JavaVirtualMachines/corretto-21.0.5-1/Contents/Home/bin/java",
      "args": [
        "-Dspring.ai.mcp.server.stdio=true",
        "-jar",
        "/Users/baetaehyeon/dev/chrome-mcp-server/build/libs/chrome-mcp-server-0.0.1.jar"
      ]
    }
  }
}
No tools information available.

MCP server implementation that serves up-to-date information about projects from api.spring.io

spring-ai mcp-server
View Details