
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@arizeai/openinference-instrumentation-mcp
Advanced tools
This module provides automatic instrumentation for the MCP Typescript SDK. which may be used in conjunction with @opentelemetry/sdk-trace-node.
npm install --save @arizeai/openinference-instrumentation-mcp
To load the MCP instrumentation, manually instrument the @modelcontextprotocol/sdk/client/index
and/or @modelcontextprotocol/sdk/server/index
module.
The client and server must be manually instrumented due to the non-traditional module structure in @modelcontextprotocol/sdk
. Additional instrumentations can
be registered as usual using the registerInstrumentations
function.
For example, if using stdio transport,
import { NodeTracerProvider } from "@opentelemetry/sdk-trace-node";
import { MCPInstrumentation } from "@arizeai/openinference-instrumentation-mcp";
import * as MCPClientStdioModule from "@modelcontextprotocol/sdk/client/stdio";
import * as MCPServerStdioModule from "@modelcontextprotocol/sdk/server/stdio";
const provider = new NodeTracerProvider();
provider.register();
const mcpInstrumentation = new MCPInstrumentation();
// MCP must be manually instrumented as it doesn't have a traditional module structure
mcpInstrumentation.manuallyInstrument({
clientStdioModule: MCPClientStdioModule,
serverStdioModule: MCPServerStdioModule,
});
For more information on OpenTelemetry Node.js SDK, see the OpenTelemetry Node.js SDK documentation.
FAQs
OpenInference instrumentation for MCP
The npm package @arizeai/openinference-instrumentation-mcp receives a total of 485 weekly downloads. As such, @arizeai/openinference-instrumentation-mcp popularity was classified as not popular.
We found that @arizeai/openinference-instrumentation-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.