
Security News
RubyGems Adds Cooldown Feature to Bundler for Newly Published Gems
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.
@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_..." });
// Optionally pin to a project: new CodeSpar({ apiKey: "ak_...", projectId: "prj_..." })
const session = await cs.create("user_123", { preset: "brazilian" });
const tools = getTools(session);
The session itself also exposes the F3.M2 router wrappers — session.discover(query), session.connectionWizard({...}), session.paymentStatus(toolCallId) — for tool search, connect deep-links, and async settlement correlation.
| 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 |
Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.
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.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.