Back to MCP directory
publicPublicdnsLocal runtime

catalog-api-mcp-server

一个用于验证和管理P&C状态的工具,通过MCP服务器与本地工具交互实现功能。

article

README

🚀 目录-api-mcp-server

本项目是一个用于验证或管理P&C状态的工具代理,能帮助用户更便捷地与本地MCP服务器进行交互,实现信息查询等功能。

🚀 快速开始

配置

  1. 首先,在VSC(Visual Studio Code)中激活MCP代理。 img
  2. 之后,在VSC中的settings.json文件中添加以下配置:
"mcp": {
    "servers": {
        "test-catalog-status": {
            "command": "{{JAVA_HOME}}",
            "args": [
                "-jar",
                "{{LOCAL_PATH}}\\catalog-api-mcp-server\\target\\catalog-api-mcp-server-0.0.1-SNAPSHOT.jar"
            ]
        }
    }
}
  1. 然后,通过点击start启动MCP服务器。 img
  2. 启动后,选择agent选项,将显示所有已配置的tools,这些工具允许与本地MCP服务器交互。 img

验证

一切准备就绪后,可以通过提问来查询MCP中的信息,根据在已定义的工具中所配置的内容进行操作。 img

📚 详细文档

更多相关文档请参考:https://docs.spring.io/spring-ai/reference/api/tools.html

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client