@@ -102,41 +102,16 @@ Example configuration:\n\
102102 title : nls . localize ( 'theia/ai/mcp/servers/serverAuthTokenHeader/title' , 'Authentication Header Name' ) ,
103103 markdownDescription : nls . localize ( 'theia/ai/mcp/servers/serverAuthTokenHeader/mdDescription' ,
104104 'The header name to use for the server authentication token. If not provided, "Authorization" with "Bearer" will be used.' ) ,
105+ } ,
106+ headers : {
107+ type : 'object' ,
108+ title : nls . localize ( 'theia/ai/mcp/servers/headers/title' , 'Headers' ) ,
109+ markdownDescription : nls . localize ( 'theia/ai/mcp/servers/headers/mdDescription' ,
110+ 'Optional additional headers included with each request to the server.' ) ,
105111 }
106112 } ,
107113 required : [ ]
108114 }
109- } ,
110- autostart : {
111- type : 'boolean' ,
112- title : nls . localize ( 'theia/ai/mcp/servers/autostart/title' , 'Autostart' ) ,
113- markdownDescription : nls . localize ( 'theia/ai/mcp/servers/autostart/mdDescription' ,
114- 'Automatically start this server when the frontend starts. Newly added servers are not immediately auto started, but on restart' ) ,
115- default : true
116- } ,
117- serverUrl : {
118- type : 'string' ,
119- title : nls . localize ( 'theia/ai/mcp/servers/serverUrl/title' , 'Server URL' ) ,
120- markdownDescription : nls . localize ( 'theia/ai/mcp/servers/serverUrl/mdDescription' ,
121- 'The URL of the remote MCP server. If provided, the server will connect to this URL instead of starting a local process.' ) ,
122- } ,
123- serverAuthToken : {
124- type : 'string' ,
125- title : nls . localize ( 'theia/ai/mcp/servers/serverAuthToken/title' , 'Authentication Token' ) ,
126- markdownDescription : nls . localize ( 'theia/ai/mcp/servers/serverAuthToken/mdDescription' ,
127- 'The authentication token for the server, if required. This is used to authenticate with the remote server.' ) ,
128- } ,
129- serverAuthTokenHeader : {
130- type : 'string' ,
131- title : nls . localize ( 'theia/ai/mcp/servers/serverAuthTokenHeader/title' , 'Authentication Header Name' ) ,
132- markdownDescription : nls . localize ( 'theia/ai/mcp/servers/serverAuthTokenHeader/mdDescription' ,
133- 'The header name to use for the server authentication token. If not provided, "Authorization" with "Bearer" will be used.' ) ,
134- } ,
135- headers : {
136- type : 'object' ,
137- title : nls . localize ( 'theia/ai/mcp/servers/headers/title' , 'Headers' ) ,
138- markdownDescription : nls . localize ( 'theia/ai/mcp/servers/headers/mdDescription' ,
139- 'Optional additional headers included with each request to the server.' ) ,
140115 }
141- } ,
116+ }
142117} ;
0 commit comments