Skip to main content
Glama
@aauth/praca

@aauth/praca

Official
by aauth-dev

@aauth/proxy

AAuth Connector: an MCP stdio server that represents you as an agent in the AAuth protocol. The LLM sees a fixed eight-tool surface; new resources and operations are surfaced through the same tools, regardless of how many you add.

Your AAuth signing key is bound to this machine via @aauth/local-keys — non-extractable when a Secure Enclave, TPM, or YubiKey is available; software-backed otherwise. AAuth Connector holds no upstream service credentials.

Design and protocol details: design.md.

Prerequisites

  • Node ≥ 22.

  • An AAuth identity on this machine. If none exists, AAuth Connector's MCP server still starts; the first tool call returns a bootstrap prompt that points the LLM at @aauth/bootstrap. AAuth Connector picks the identity up on the next call — no restart.

npx @aauth/bootstrap setup

Related MCP server: Agorus MCP Server

Install

Claude Code

{
  "mcpServers": {
    "aauth-connector": { "command": "npx", "args": ["-y", "@aauth/proxy"] }
  }
}

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "aauth-connector": { "command": "npx", "args": ["-y", "@aauth/proxy"] }
  }
}

Cursor

Settings → MCP → Add new server, then add:

{
  "aauth-connector": { "command": "npx", "args": ["-y", "@aauth/proxy"] }
}

Other MCP hosts

Any stdio MCP host: npx -y @aauth/proxy.

CLI flags

Flag

Purpose

--log

Tee JSON-RPC frames to ~/.aauth/proxy/logs/<ISO>.jsonl for debugging.

Environment variables

All optional; sensible defaults come from @aauth/local-keys.

Var

Default

Purpose

PROXY_REGISTRY_URL

https://registry.aauth.dev

AAuth resource registry

PROXY_PS_URL

from local-keys

Person Server URL

PROXY_AGENT_URL

first configured

Agent provider URL

PROXY_AGENT_TOKEN + PROXY_AGENT_PRIVATE_JWK (or PROXY_AGENT_KEY_FILE)

—

Test-only software-identity override that bypasses local-keys

License

MIT

Available Tools

8 tools
add_resourceA

Add an AAuth resource to your local set. Pass a bare host, host:port, or full URL — the agent proxy canonicalizes. Fetches the resource's well-known doc, validates, picks supported vocabularies. After adding: agent-token resources are immediately invokable; auth-token resources start an authorization flow on the first invoke.

Currently added resources: no resources added yet

Inputs: resource (required).

find_resourcesA

Search the AAuth registry for discoverable resources by free-text query against name/description. Returns each result tagged added: true if already in your local resource set.

Currently added resources: no resources added yet

Inputs: query.

get_operationsA

Batch fetch full schemas (params, request body, response) for one or more operations on a resource. Separate from list_operations because schemas dominate token cost.

Currently added resources: no resources added yet

Inputs: op_ids (required), resource (required).

invokeB

Invoke an operation on a resource. Pass path_params, query, body (object) as needed. If authorization is required, the client opens the auth URL automatically — call invoke again after authorization completes. async.receive operations return subscribe_requires_subagent (v.next).

Currently added resources: no resources added yet

Inputs: op_id (required), resource (required), body, query, +1 more.

list_operationsA

List operations a resource exposes. Optional query is either free-text (matched against opId/summary/tags) or an OpenAPI path prefix (e.g. "/crm/v3/objects/contacts/*"). Returns summaries only — schemas are fetched via get_operations to keep token cost flat. Each op carries kind (sync.request/async.send/async.receive).

Currently added resources: no resources added yet

Inputs: resource (required), query.

list_resourcesA

Return your locally added resources with name, description, access_mode, last_used, and how many vocabularies the agent proxy picked. Cheap; safe to call anytime.

Inputs: no named parameters.

remove_resourceA

Remove a resource from your local set. Agent-proxy-local only — does NOT revoke any user grants at the Person Server; re-adding picks up existing grants transparently.

Currently added resources: no resources added yet

Inputs: resource (required).

reset_tokensA

Clear all stored upstream OAuth tokens for a resource. Use during testing to force a fresh upstream OAuth flow without touching PS consent state.

Currently added resources: no resources added yet

Inputs: resource (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 8 tools

    Disambiguation5/5

    Each tool has a distinct purpose: find_resources searches the registry while list_resources shows local additions; list_operations provides summaries while get_operations fetches full schemas; invoke and reset_tokens serve unique actions. No two tools overlap in a way that would confuse an agent.

    Naming Consistency4/5

    Most tool names follow a consistent verb_noun snake_case pattern (find_resources, add_resource, list_resources, etc.), but 'invoke' is a lone verb without an object, which is a minor deviation from the established convention.

    Tool Count5/5

    With 8 tools, the set is well-scoped for managing AAuth resources and their operations. It covers discovery, local management, operation introspection, invocation, and token reset without unnecessary bloat.

    Completeness5/5

    The tool surface provides end-to-end coverage: resource discovery and CRUD (find/add/list/remove), operation exploration (list/get schemas), invocation (invoke), and testing support (reset_tokens). No obvious gaps that would block typical workflows.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      An MCP server that exposes tools for issuing scoped agent credentials, delegating narrower child credentials, handling approvals, revoking task trees, and retrieving audit trails and evidence packets.
      14
      1
      Apache 2.0
    • F
      license
      Not graded
      quality
      D
      maintenance
      A universal MCP server for registering internal, external, and OpenAPI-based APIs as MCP tools. It exposes them to MCP clients via Streamable HTTP and provides admin portal, RBAC/session auth, credential injection, and audit logging.
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      An MCP server exposing scoped, read-only enterprise operations tools with fail-closed credential handling. It returns opaque approval IDs for mutations and requires a separate operator approval command to release one-time capabilities.
      MIT