-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathserver.json
More file actions
236 lines (236 loc) · 10.6 KB
/
Copy pathserver.json
File metadata and controls
236 lines (236 loc) · 10.6 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
{
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"name": "io.github.ProfessionalWiki/mediawiki-mcp-server",
"title": "MediaWiki MCP Server",
"description": "MCP server enabling AI clients to interact with any MediaWiki wiki through standard tools",
"version": "0.13.1",
"repository": {
"url": "https://github.com/ProfessionalWiki/MediaWiki-MCP-Server",
"source": "github"
},
"packages": [
{
"registryType": "mcpb",
"identifier": "https://github.com/ProfessionalWiki/MediaWiki-MCP-Server/releases/download/v0.13.1/MediaWiki-MCP-Server.mcpb",
"fileSha256": "0d4ad8908cca041df1be9b35cdadb99a2f662cd0f3c60073753a74c94235f094",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"name": "CONFIG",
"description": "Path to your configuration file",
"default": "config.json",
"format": "filepath"
},
{
"name": "MCP_ALLOW_STATIC_FALLBACK",
"description": "Set to 'true' to allow HTTP startup when config.json has static credentials. Otherwise the server refuses to start, preventing silent shared-identity fallback for unauthenticated requests."
},
{
"name": "MCP_CONTENT_MAX_BYTES",
"description": "Byte cap for content bodies (wikitext, rendered HTML, diffs) returned by get-page, get-pages, parse-wikitext, and compare-pages. Oversized bodies are truncated with a trailing marker.",
"format": "number",
"default": "50000"
},
{
"name": "MCP_FILE_DATA_MAX_BYTES",
"description": "Hard cap on the base64-encoded size of a get-file-data response. A transport/safety backstop; callers tune actual size with the tool's width parameter. Over-cap responses error rather than truncate.",
"format": "number",
"default": "1000000"
},
{
"name": "MCP_LOG_LEVEL",
"description": "Minimum severity for logger output (stderr telemetry and sendLoggingMessage broadcast). Invalid values fail loudly on first log call.",
"choices": [
"debug",
"info",
"notice",
"warning",
"error",
"critical",
"alert",
"emergency",
"silent"
],
"default": "debug"
},
{
"name": "MCP_MAX_REQUEST_BODY",
"description": "Maximum HTTP request body size on the StreamableHTTP transport. Accepts size strings like 1mb or 512kb.",
"default": "1mb"
},
{
"name": "MCP_METRICS",
"description": "Set to 'true' to expose Prometheus metrics at GET /metrics on the HTTP transport. Has no effect on the stdio transport."
},
{
"name": "MCP_OAUTH_ALLOWED_REDIRECTS",
"description": "Additional allowed redirect URIs for hosted-proxy client registration: comma-separated exact URIs (which must include a host) and https prefix patterns ending in /*. Loopback, claude.ai, and verified first-party clients (ChatGPT, Cursor, VS Code) are always allowed; unset means no additional clients."
},
{
"name": "MCP_OAUTH_CIMD_ALLOWED_HOSTS",
"description": "Comma-separated additional client_id document hosts trusted for CIMD (bare host or host:port). Verified first-party hosts are always trusted."
},
{
"name": "MCP_OAUTH_CREDENTIALS_FILE",
"description": "Override the default OAuth credentials store path. Default: ~/.config/mediawiki-mcp/credentials.json on Linux/macOS, %APPDATA%\\mediawiki-mcp\\credentials.json on Windows.",
"format": "filepath"
},
{
"name": "MCP_OAUTH_NO_BROWSER",
"description": "Set to '1' to skip launching a browser during the OAuth dance and log the auth URL to stderr instead. Useful in headless environments and CI."
},
{
"name": "MCP_PUBLIC_URL",
"description": "Override the request-derived public URL used in the protected-resource discovery doc and WWW-Authenticate header. Set this when running behind a proxy that rewrites the request Host."
},
{
"name": "MCP_SESSION_IDLE_TIMEOUT",
"description": "Seconds an HTTP session may sit idle before it is closed and removed on the StreamableHTTP transport. Any request resets the timer. Set to 0 to disable expiry.",
"format": "number",
"default": "1800"
},
{
"name": "MCP_SHUTDOWN_GRACE_MS",
"description": "Maximum milliseconds to wait for in-flight /mcp calls to drain on SIGTERM/SIGINT before exiting. Capped at 600000.",
"format": "number",
"default": "10000"
},
{
"name": "MCP_TRANSPORT",
"description": "Type of MCP server transport",
"choices": [
"stdio",
"http"
],
"default": "stdio"
},
{
"name": "MCP_UPLOAD_MAX_BYTES",
"description": "Memory cap on the server-side fetch used by upload-file-from-url and update-file-from-url. Files larger than this are routed to the wiki's own copy-upload instead of being buffered by the server. Guards this server's memory, not the wiki's $wgMaxUploadSize.",
"format": "number",
"default": "104857600"
},
{
"name": "PORT",
"description": "Port used for StreamableHTTP transport",
"format": "number",
"default": "3000"
}
]
},
{
"registryType": "npm",
"identifier": "@professional-wiki/mediawiki-mcp-server",
"version": "0.13.1",
"runtimeHint": "npx",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"name": "CONFIG",
"description": "Path to your configuration file",
"default": "config.json",
"format": "filepath"
},
{
"name": "MCP_ALLOW_STATIC_FALLBACK",
"description": "Set to 'true' to allow HTTP startup when config.json has static credentials. Otherwise the server refuses to start, preventing silent shared-identity fallback for unauthenticated requests."
},
{
"name": "MCP_CONTENT_MAX_BYTES",
"description": "Byte cap for content bodies (wikitext, rendered HTML, diffs) returned by get-page, get-pages, parse-wikitext, and compare-pages. Oversized bodies are truncated with a trailing marker.",
"format": "number",
"default": "50000"
},
{
"name": "MCP_FILE_DATA_MAX_BYTES",
"description": "Hard cap on the base64-encoded size of a get-file-data response. A transport/safety backstop; callers tune actual size with the tool's width parameter. Over-cap responses error rather than truncate.",
"format": "number",
"default": "1000000"
},
{
"name": "MCP_LOG_LEVEL",
"description": "Minimum severity for logger output (stderr telemetry and sendLoggingMessage broadcast). Invalid values fail loudly on first log call.",
"choices": [
"debug",
"info",
"notice",
"warning",
"error",
"critical",
"alert",
"emergency",
"silent"
],
"default": "debug"
},
{
"name": "MCP_MAX_REQUEST_BODY",
"description": "Maximum HTTP request body size on the StreamableHTTP transport. Accepts size strings like 1mb or 512kb.",
"default": "1mb"
},
{
"name": "MCP_METRICS",
"description": "Set to 'true' to expose Prometheus metrics at GET /metrics on the HTTP transport. Has no effect on the stdio transport."
},
{
"name": "MCP_OAUTH_ALLOWED_REDIRECTS",
"description": "Additional allowed redirect URIs for hosted-proxy client registration: comma-separated exact URIs (which must include a host) and https prefix patterns ending in /*. Loopback, claude.ai, and verified first-party clients (ChatGPT, Cursor, VS Code) are always allowed; unset means no additional clients."
},
{
"name": "MCP_OAUTH_CIMD_ALLOWED_HOSTS",
"description": "Comma-separated additional client_id document hosts trusted for CIMD (bare host or host:port). Verified first-party hosts are always trusted."
},
{
"name": "MCP_OAUTH_CREDENTIALS_FILE",
"description": "Override the default OAuth credentials store path. Default: ~/.config/mediawiki-mcp/credentials.json on Linux/macOS, %APPDATA%\\mediawiki-mcp\\credentials.json on Windows.",
"format": "filepath"
},
{
"name": "MCP_OAUTH_NO_BROWSER",
"description": "Set to '1' to skip launching a browser during the OAuth dance and log the auth URL to stderr instead. Useful in headless environments and CI."
},
{
"name": "MCP_PUBLIC_URL",
"description": "Override the request-derived public URL used in the protected-resource discovery doc and WWW-Authenticate header. Set this when running behind a proxy that rewrites the request Host."
},
{
"name": "MCP_SESSION_IDLE_TIMEOUT",
"description": "Seconds an HTTP session may sit idle before it is closed and removed on the StreamableHTTP transport. Any request resets the timer. Set to 0 to disable expiry.",
"format": "number",
"default": "1800"
},
{
"name": "MCP_SHUTDOWN_GRACE_MS",
"description": "Maximum milliseconds to wait for in-flight /mcp calls to drain on SIGTERM/SIGINT before exiting. Capped at 600000.",
"format": "number",
"default": "10000"
},
{
"name": "MCP_TRANSPORT",
"description": "Type of MCP server transport",
"choices": [
"stdio",
"http"
],
"default": "stdio"
},
{
"name": "MCP_UPLOAD_MAX_BYTES",
"description": "Memory cap on the server-side fetch used by upload-file-from-url and update-file-from-url. Files larger than this are routed to the wiki's own copy-upload instead of being buffered by the server. Guards this server's memory, not the wiki's $wgMaxUploadSize.",
"format": "number",
"default": "104857600"
},
{
"name": "PORT",
"description": "Port used for StreamableHTTP transport",
"format": "number",
"default": "3000"
}
]
}
]
}