44 lines
1.4 KiB
YAML
44 lines
1.4 KiB
YAML
#
|
|
# Copyright 2025-2026 the original author or authors.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# https://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
# spring.main.web-application-type=none
|
|
|
|
# NOTE: You must disable the banner and the console logging
|
|
# to allow the STDIO transport to work !!!
|
|
# Config reference: https://docs.spring.io/spring-ai/reference/api/mcp/mcp-server-boot-starter-docs.html#_webflux_server_configuration
|
|
spring:
|
|
main:
|
|
banner-mode: off
|
|
profiles:
|
|
active: dev
|
|
ai:
|
|
mcp:
|
|
server:
|
|
name: crm-mcp-server
|
|
version: 0.0.1
|
|
type: ASYNC # Recommended for reactive applications
|
|
# 配置 sse 的根路径,包含前缀 /crm-mcp
|
|
# 下面的最终路径为 ip:port/crm-mcp/sse/mcp
|
|
sse-endpoint: /crm-mcp/sse
|
|
sse-message-endpoint: /mcp
|
|
capabilities:
|
|
tool: true
|
|
resource: true
|
|
prompt: true
|
|
completion: true
|
|
|
|
# logging.pattern.console=
|