Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fad7af7

Browse files
feat(config): update config.ini.example
- update the example config - make sure the tool would be install in the cpack
1 parent 5d6de16 commit fad7af7

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

‎config.ini.example‎

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@ title=MCP Server Configuration
66
[server]
77
;IP address the server binds to
88
ip=0.0.0.0
9-
;Network port for incoming connections
9+
;Legacy network port for incoming connections
1010
port=6666
11+
;HTTP transport port (set to 0 to disable HTTP)
12+
http_port=6666
13+
;HTTPS transport port (set to 0 to disable HTTPS)
14+
https_port=6667
1115
;Logging severity (trace, debug, info, warn, error)
1216
log_level=trace
1317
;Filesystem path for log storage
@@ -21,4 +25,12 @@ plugin_dir=plugins
2125
;Enable stdio transport (1=enable, 0=disable)
2226
enable_stdio=1
2327
;Enable HTTP transport (1=enable, 0=disable)
24-
enable_streamable_http=1
28+
enable_http=1
29+
;Enable HTTPS transport (1=enable, 0=disable)
30+
enable_https=0
31+
;SSL certificate file path (required for HTTPS)
32+
ssl_cert_file=certs/server.crt
33+
;SSL private key file path (required for HTTPS)
34+
ssl_key_file=certs/server.key
35+
;SSL Diffie-Hellman parameters file path (required for HTTPS)
36+
ssl_dh_params_file=certs/dh2048.pem

‎tools/CMakeLists.txt‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ add_executable(generate_cert generate_cert.cpp)
33

44
target_link_libraries(generate_cert MCP::OpenSSL)
55

6-
# Conditionally install the tools based on CPACK_INCLUDE_LIBS setting
7-
if(CPACK_INCLUDE_LIBS)
8-
install(TARGETS plugin_ctl generate_cert
9-
RUNTIME DESTINATION bin
10-
)
11-
endif()
6+
# Install the tools - always install them regardless of CPACK_INCLUDE_LIBS setting
7+
install(TARGETS plugin_ctl generate_cert
8+
RUNTIME DESTINATION bin
9+
)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /