@agentvalet/mcp-server 0.2.2 → 0.2.3

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/index.js +2 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -129,7 +129,7 @@ const AGENT_STATUS_TOOL = {
129
129
  };
130
130
  const AUTHZEN_EVALUATE_TOOL = {
131
131
  name: "authzen_evaluate",
132
- description: "authzen_evaluate: Evaluate whether this agent has access to a specific platform scope.\nInput: platform_id (string), scope (string).\nReturns: decision (boolean), reason (\"approved\"|\"denied\"|\"revoked\"|\"scope_not_granted\").\nAuth: None.",
132
+ description: "authzen_evaluate: Evaluate whether this agent has access to a specific platform scope. Call this BEFORE use_platform when you want to pre-check without making the upstream call.\nInput: platform_id (string), scope (string).\nReturns: decision (boolean), reason (\"approved\"|\"denied\"|\"revoked\"|\"scope_not_granted\").\nAuth: Bearer agent JWT (sent automatically by this MCP server).",
133
133
  inputSchema: {
134
134
  type: "object",
135
135
  properties: {
@@ -326,9 +326,8 @@ async function handleAuthzenEvaluate(platformId, scope) {
326
326
  };
327
327
  let response;
328
328
  try {
329
- response = await fetchWithTimeout(`${PROXY_URL}/v1/authzen/access`, {
329
+ response = await fetchWithAuth(`${PROXY_URL}/v1/authzen/access`, {
330
330
  method: "POST",
331
- headers: { "Content-Type": "application/json" },
332
331
  body: JSON.stringify(authzenBody),
333
332
  });
334
333
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentvalet/mcp-server",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "AgentValet MCP server — lets AI agents call approved platforms via the AgentValet proxy",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",