@deotio/mcp-sigv4-proxy 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/proxy.js +6 -1
  2. package/package.json +1 -1
package/dist/proxy.js CHANGED
@@ -112,10 +112,15 @@ export function parseInputLine(line) {
112
112
  }
113
113
  // --- Request building ---
114
114
  export function buildHttpRequest(url, body) {
115
+ const query = {};
116
+ url.searchParams.forEach((value, key) => {
117
+ query[key] = value;
118
+ });
115
119
  return new HttpRequest({
116
120
  method: 'POST',
117
121
  hostname: url.hostname,
118
- path: url.pathname + url.search,
122
+ path: url.pathname,
123
+ ...(Object.keys(query).length > 0 && { query }),
119
124
  headers: {
120
125
  'Content-Type': 'application/json',
121
126
  'Content-Length': String(Buffer.byteLength(body)),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deotio/mcp-sigv4-proxy",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "stdio MCP proxy with AWS SigV4 signing — connect Claude Code to any IAM-authenticated MCP server using a named AWS profile",
5
5
  "type": "module",
6
6
  "bin": {