1. Conduid
  2. Browser
  3. Avp Ts
MCP server · Browser

Avp Ts

TypeScript SDK for Agent Vault Protocol - Browser, Node.js, and MCP support

34Low

Scored 6 months ago · breakdown

About Avp Ts

Avp Ts is an MCP server in the Browser category: typeScript SDK for Agent Vault Protocol - Browser, Node.js, and MCP support.

Install

From source
git clone https://github.com/avp-protocol/avp-ts

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Avp Ts

Powered by Claude · Grounded in docs

I know everything about Avp Ts. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README


Overview

avp-ts is the official TypeScript implementation of the Agent Vault Protocol (AVP). It runs in Node.js, browsers, and edge runtimes, with native MCP (Model Context Protocol) support.

Features

  • Standard AVP Conformance — All 7 core operations
  • Universal — Node.js, browsers, Deno, Bun, Cloudflare Workers
  • MCP Native — First-class Model Context Protocol support
  • Type Safe — Full TypeScript types, zero any
  • Tree Shakeable — Import only what you need

Installation

npm install @avp-protocol/avp
# or
yarn add @avp-protocol/avp
# or
pnpm add @avp-protocol/avp

Quick Start

import { Vault } from '@avp-protocol/avp';

// Create vault instance
const vault = new Vault('avp.toml');

// Authenticate
await vault.authenticate();

// Store a secret
await vault.store('anthropic_api_key', 'sk-ant-...');

// Retrieve a secret
const apiKey = await vault.retrieve('anthropic_api_key');

Backend Selection

import { Vault, FileBackend, KeychainBackend, RemoteBackend } from '@avp-protocol/avp';

// File backend (encrypted)
const vault = new Vault({
  backend: new FileBackend({
    path: '~/.avp/secrets.enc',
    cipher: 'aes-256-gcm'
  })
});

// OS Keychain (Node.js only)
const vault = new Vault({
  backend: new KeychainBackend()
});

// Remote vault
const vault = new Vault({
  backend: new RemoteBackend({
    url: 'https://vault.company.com',
    token: 'hvs.xxx'
  })
});

MCP Integration

AVP-TS includes a built-in MCP server for AI agents:

import { createMCPServer } from '@avp-protocol/avp/mcp';

// Create MCP server with AVP tools
const server = createMCPServer({
  config: 'avp.toml'
});

// Tools exposed:
// - avp_discover
// - avp_authenticate
// - avp_store
// - avp_retrieve
// - avp_delete
// - avp_list
// - avp_rotate

Use with Claude, ChatGPT, or any MCP-compatible agent:

{
  "mcpServers": {
    "avp": {
      "command": "npx",
      "args": ["@avp-protocol/avp-mcp"]
    }
  }
}

Browser Usage

import { Vault, MemoryBackend } from '@avp-protocol/avp/browser';

// Browser-safe in-memory backend
const vault = new Vault({
  backend: new MemoryBackend()
});

// Or connect to remote vault
const vault = new Vault({
  backend: new RemoteBackend({
    url: 'https://vault.company.com'
  })
});

Migration

import { migrate } from '@avp-protocol/avp';

// Migrate from file to keychain
await migrate({
  source: new FileBackend({ path: '~/.avp/secrets.enc' }),
  target: new KeychainBackend()
});

API Reference

Vault

Method Description
discover() Query vault capabilities
authenticate(options?) Establish session
store(name, value, options?) Store a secret
retrieve(name) Retrieve a secret
delete(name) Delete a secret
list(filters?) List secrets
rotate(name, strategy) Rotate a secret

Conformance

Level Status
AVP Core ✅ Complete
AVP Full ✅ Complete
AVP Hardware ⚠️ Via WebUSB/bridge

Contributing

See CONTRIBUTING.md for development setup.

License

Apache 2.0 — see LICENSE.


README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Avp Ts

How do I install Avp Ts?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Avp Ts safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Avp Ts still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.