Repository navigation
Expand file tree
/
Copy pathsettings.ini.example
More file actions
121 lines (109 loc) · 4.63 KB
/
Copy pathsettings.ini.example
File metadata and controls
121 lines (109 loc) · 4.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
; Delphi MCP Server Configuration
; Copy this file to settings.ini and modify as needed
[Server]
; Server configuration
Port=3000
Host=localhost
Name=delphi-mcp-server
Version=1.0.0
Endpoint=/mcp
; Optional identity reported to clients (initialize and server/discover)
Title=
Description=
WebsiteUrl=
; Optional guidance for LLM clients on how to use this server
Instructions=
; Interface to listen on. Empty = derived from Host: a loopback Host binds
; 127.0.0.1 and ::1, any other Host binds every interface. Set 0.0.0.0 to
; listen on every interface explicitly.
BindAddress=
; Optional GET path that answers a JSON document with the endpoint URL and
; the protocol versions (the MCP endpoint itself only accepts POST)
EndpointInfoPath=
; Larger POST bodies are refused with 413
MaxRequestBodyBytes=4194304
; Deeper JSON nesting is refused with 400
MaxJsonDepth=64
; Indy connection limit; 0 = unlimited
MaxConnections=0
; Serve logs://recent, logs://{level} and server://status; set 0 on a server
; that strangers can reach, the log buffer and status counters are diagnostics
ExposeDiagnosticsResources=1
; Worker threads of the stdio transport; 1 answers requests in arrival order
MaxConcurrentRequests=1
[Security]
; Origins allowed next to the loopback origins (localhost, 127.0.0.1, [::1] on
; any port), for DNS-rebinding protection. Comma-separated scheme://host[:port];
; ":*" allows any port. Empty = the [CORS] AllowedOrigins list below.
AllowedOrigins=
; Host header values the server answers, comma-separated host[:port]; an
; entry without a port matches any port, * matches everything. Empty = any
; host. Set it when the server is reachable through a public name so that a
; rebinding DNS name cannot reach it.
AllowedHosts=
; Secret that signs the requestState tokens of multi round-trip requests.
; Empty = a random key per process: tokens stop verifying after a restart
; and on other instances. Set the same value on every instance.
RequestStateKey=
; Seconds a requestState token stays valid
RequestStateTtlSeconds=600
[Auth]
; Pre-shared bearer tokens for the HTTP endpoint, comma-separated. Empty = no
; authentication (the default for a loopback-only server). With tokens set,
; every request except OPTIONS and the protected resource metadata must carry
; "Authorization: Bearer <token>"; otherwise it gets 401.
BearerTokens=
; OAuth 2.1 authorization server issuer URLs, comma-separated, published in
; /.well-known/oauth-protected-resource so clients can discover where to get a
; token. Leave empty for pre-shared tokens only.
AuthorizationServers=
; Canonical URI of this server as bound into token audiences (RFC 8707).
; Empty = <Protocol>://<Host>:<Port><Endpoint>
ResourceUri=
; Scopes clients may ask for, comma-separated, published in the metadata
ScopesSupported=
[Protocol]
; Boolean values: use 1 (true) or 0 (false)
; Answer ping for MCP 2026-07-28 requests although that revision removed it
LenientModernPing=0
; Also list the initialize-based revisions (2025-06-18, 2025-11-25) in
; server/discover and in unsupported-version errors
DiscoverListsLegacyVersions=0
; Cache hint (milliseconds) on server/discover results; 0 = immediately stale
DiscoverTtlMs=0
[Tasks]
; Tasks extension (io.modelcontextprotocol/tasks): long-running tool calls
; answer with a task the client polls with tasks/get
; Boolean values: use 1 (true) or 0 (false)
Enabled=0
; Tool calls the server runs in the background at the same time
MaxRunningTasks=8
; How long a task stays retrievable after it was created (milliseconds); 0 = unlimited
TtlMs=3600000
; Polling interval the server suggests to clients (milliseconds)
PollIntervalMs=1000
[CORS]
; Cross-Origin Resource Sharing response headers for browser clients
; Boolean values: use 1 (true) or 0 (false)
Enabled=1
; Comma-separated list of allowed origins; also the Origin allow-list when
; [Security] AllowedOrigins is empty. Loopback origins are always allowed.
; Use * to allow all origins (not recommended for production)
AllowedOrigins=http://localhost,http://127.0.0.1,https://localhost,https://127.0.0.1
[SSL]
; SSL/TLS configuration (optional)
; Boolean values: use 1 (true) or 0 (false)
Enabled=0
; Path to SSL certificate file (PEM format)
; Example: C:\dev\Delphi-MCP-Server\certs\server.crt
CertFile=
; Path to SSL private key file (PEM format)
; Example: C:\dev\Delphi-MCP-Server\certs\server.key
KeyFile=
; Path to root certificate file (optional, PEM format)
; Example: C:\dev\Delphi-MCP-Server\certs\ca.crt
RootCertFile=
; Note: To generate self-signed certificates for development:
; Run: generate-ssl-cert.bat
; This will create certificates in the certs directory
; For production, use certificates from a trusted Certificate Authority