custom user-agent

This commit is contained in:
Dave Kerr 2025-05-13 10:31:50 -04:00
parent 2bea3b9b34
commit 9ad0e8a920
2 changed files with 3136 additions and 1 deletions

3135
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -427,7 +427,7 @@ async function executeApiTool(
// Prepare URL, query parameters, headers, and request body
let urlPath = definition.pathTemplate;
const queryParams: Record<string, any> = {};
const headers: Record<string, string> = { 'Accept': 'application/json' };
const headers: Record<string, string> = { 'Accept': 'application/json', 'User-Agent': 'orum-mcp-server' };
let requestBodyData: any = undefined;
// Apply parameters to the URL path, query, or headers