上传备份

master
王兵 1 month ago
parent 8a12f5d934
commit 12fd2134f5

@ -7,10 +7,11 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
* MCP
*
* @author wangbing
* @version 0.0.1
* @since 1.8
*/
@SpringBootApplication
public class McpServerApplication {
public static void main(String[] args) {
SpringApplication.run(McpServerApplication.class, args);
}

@ -9,6 +9,10 @@ import java.lang.annotation.Target;
*
* <p>MCP
* 便</p>
*
* @author
* @version 0.0.1
* @since 1.8
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.PARAMETER})

@ -9,8 +9,9 @@ import java.lang.annotation.Target;
* Tool
* 使
*
* @author wangbing
* @since 1.0
* @author
* @version 0.0.1
* @since 1.8
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})

@ -9,8 +9,9 @@ import org.springframework.web.reactive.function.server.RouterFunction;
/**
* MCP
*
* @author wangbing
* @since 1.0
* @author
* @version 0.0.1
* @since 1.8
*/
@Configuration
class McpServerConfig {

@ -29,7 +29,9 @@ import java.util.Set;
/**
* MCP
*
* @author wangbing
* @author
* @version 0.0.1
* @since 1.8
*/
@Component
public class McpServerRegistrar {

@ -8,6 +8,8 @@ import xyz.wbsite.mcp.server.annotation.Tool;
*
*
* @author wangbing
* @version 0.0.1
* @since 1.8
*/
@Service
public class WeatherService {

@ -1,3 +1 @@
server.port=8080
# spring.jackson.serialization.fail-on-empty-beans=false

Loading…
Cancel
Save

Powered by TurnKey Linux.