New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@pulsemcp/air-adapter-claude

Package Overview
Dependencies
Maintainers
2
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pulsemcp/air-adapter-claude

AIR adapter for Claude Code — translates AIR config to Claude Code format

latest
Source
npmnpm
Version
0.13.1
Version published
Maintainers
2
Created
Source

@pulsemcp/air-adapter-claude

AIR adapter extension for Claude Code. Translates AIR artifacts into Claude Code's native format and prepares working directories for agent sessions.

Installation

npm install @pulsemcp/air-adapter-claude

Usage

With the AIR CLI

# Install the adapter globally alongside the CLI
npm install -g @pulsemcp/air-cli @pulsemcp/air-adapter-claude

# Start a Claude Code session
air start claude --root web-app

Programmatic

import { resolveArtifacts } from "@pulsemcp/air-core";
import { ClaudeAdapter } from "@pulsemcp/air-adapter-claude";

const artifacts = await resolveArtifacts("./air.json");
const adapter = new ClaudeAdapter();

// Prepare a working directory for a Claude Code session
const session = await adapter.prepareSession(artifacts, "./my-project", {
  root: artifacts.roots["web-app"],
});

// session.configFiles  — paths written (.mcp.json, etc.)
// session.skillPaths   — skill dirs created in .claude/skills/
// session.startCommand — { command: "claude", args: [...], cwd: "..." }

What prepareSession() does

  • Writes .mcp.json — translates AIR MCP server configs to Claude Code format (secret resolution is handled by transform extensions, not the adapter)
  • Injects skills — copies SKILL.md files and associated content into .claude/skills/{name}/
  • Copies references — attaches referenced documents into .claude/skills/{name}/references/
  • Respects local priority — if a skill directory already exists in the target, it is not overwritten

Translation Details

AIR FormatClaude Code Format
mcp.json (flat map with type, title, description).mcp.json (mcpServers wrapper, strips metadata)
stdio servers{ command, args, env }
sse/streamable-http servers{ url, headers, oauth }
OAuth redirectUriExtracted as callbackPort
Plugin idname
Plugin skills/mcp_servers/hooksStripped (used by CLI for deduplication)

FAQs

Package last updated on 22 Jun 2026

Related posts