nowcoder-mcp-server

CalmChih/nowcoder-mcp-server

3.1

If you are the rightful owner of nowcoder-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

NowCoder MCP Server is a backend service based on Spring Boot, integrated with Spring AI components, supporting interview experience search functionality.

Tools
1
Resources
0
Prompts
0

NowCoder MCP Server

项目简介

NowCoder MCP Server 是一个基于 Spring Boot 的后端服务,集成了 Spring AI 组件,支持面经搜索功能

技术栈

  • Java 17
  • Spring Boot 3.4.3
  • Spring AI 1.0.0
  • Retrofit 3.0.0

工具列表

面经搜索 faceWarpSearch

  • 根据关键词搜索牛客网中的面经

必备环境

  • jdk17
  • maven

快速开始

  1. 克隆项目
    git clone https://github.com/CalmChih/nowcoder-mcp-server.git
    
  2. 构建并运行
    cd nowcoder-mcp-server
    mvn clean package
    
  3. 默认配置请参考 src/main/resources/application.yml

在 Claude 等平台中配置 MCP 服务

stdio模式:

{
   "mcpServers": {
      "nowcoder-mcp-server": {
         "command": "java",
         "args": [
            "-jar",
            "-Dfile.encoding=UTF-8",
            "<你的jar包地址>/nowcoder-mcp-server-1.0.0.jar",
            "--spring.main.web-application-type=none",
            "--spring.ai.mcp.server.stdio=true",
            "--logging.pattern.console="
         ]
      }
   }
}

或者

{
   "mcpServers": {
      "nowcoder-mcp-server": {
         "command": "java",
         "args": [
            "-jar",
            "D:/Downloads/nowcoder-mcp-server-1.0.0.jar",
            "--spring.main.web-application-type=none",
            "--spring.ai.mcp.server.stdio=true",
            "--logging.pattern.console="
         ],
         "env": {
            "JAVA_TOOL_OPTIONS": "-Dfile.encoding=UTF-8"
         }
      }
   }
}

sse模式:

{
  "mcpServers": {
    "nowcoder-mcp-server": {
      "type": "sse",
      "url": "http://<你部署的地址>/sse"
    }
  }
}

贡献与反馈

欢迎提交 issue 或 PR 以改进本项目。