
Product
Introducing Manifest Alerts
Socket now detects supply chain risks in project manifests, starting with missing lockfiles that can make dependency installs non-reproducible.
@codespar/claude
Advanced tools
Claude Agent SDK adapter for CodeSpar — convert MCP tools to Claude tool format
Claude Agent SDK adapter for CodeSpar — convert session tools to Anthropic Claude tool format.
npm install @codespar/claude @codespar/sdk
import { CodeSpar } from "@codespar/sdk";
import { getTools } from "@codespar/claude";
const cs = new CodeSpar({ apiKey: "ak_..." });
const session = await cs.create("user_123", { preset: "brazilian" });
const tools = getTools(session);
| Function | Signature | Description |
|---|---|---|
getTools | (session: Session) => ClaudeToolWithExecute[] | Convert all session tools to Claude format with execute handlers |
toClaudeTool | (tool: Tool, session: Session) => ClaudeToolWithExecute | Convert a single tool to Claude format with execute handler |
getToolDefinitions | (session: Session) => ClaudeTool[] | Get tools as plain Claude API format (without execute, for manual handling) |
ClaudeTool| Property | Type | Description |
|---|---|---|
name | string | Tool slug identifier |
description | string | Tool description |
input_schema | Record<string, unknown> | JSON Schema for tool input |
ClaudeToolWithExecuteExtends ClaudeTool with:
| Property | Type | Description |
|---|---|---|
execute | (input) => Promise<unknown> | Executes the tool via the session |
MIT — codespar.dev
FAQs
Claude Agent SDK adapter for CodeSpar — convert MCP tools to Claude tool format
We found that @codespar/claude demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket now detects supply chain risks in project manifests, starting with missing lockfiles that can make dependency installs non-reproducible.

Research
/Security News
The trojanized extensions use TinyGo-compiled WebAssembly and Solana transaction memos to resolve command-and-control infrastructure.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.