🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@agenium/mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agenium/mcp-server

Bridge any MCP server to the agent:// network — make your tools discoverable, callable, and composable by other AI agents.

latest
Source
npmnpm
Version
0.1.7
Version published
Maintainers
1
Created
Source

@agenium/mcp-server

Bridge Any MCP Server to the Agent Network

Turn your MCP servers into discoverable, callable agents on the AGENIUM agent:// network.

npm version npm downloads license

DocsLive DemoFind MCP ServersDiscord

What It Does

MCP gives agents tools. AGENIUM gives agents identity.

This package bridges the gap: take any MCP server and make it discoverable on the agent:// network. Other agents can find it by name, see its capabilities, and call its tools — no manual configuration.

MCP Server (local tools) → @agenium/mcp-server → agent://weather-tools (network-discoverable)

Install

npm install @agenium/mcp-server

Quick Start — 5 Lines of Code

import { MCPBridge } from '@agenium/mcp-server';

const bridge = new MCPBridge({
  name: 'weather-tools',
  mcp: {
    transport: 'stdio',
    command: 'npx',
    args: ['-y', '@modelcontextprotocol/server-weather'],
  },
});

await bridge.start();
// ✅ MCP server connected — found 2 tools
// ✅ Registered as agent://weather-tools
// ✅ Any agent can now discover and call your tools

Call Remote MCP Tools

import { MCPAgentClient } from '@agenium/mcp-server';

const client = new MCPAgentClient('my-agent');
await client.start();

// Discover what tools an agent has
const info = await client.discover('agent://weather-tools');
console.log(info.tools);
// → [{ name: 'get_forecast', ... }, { name: 'get_alerts', ... }]

// Call a tool remotely
const result = await client.callTool('agent://weather-tools', 'get_forecast', {
  city: 'San Francisco',
  days: 3,
});

Supported Transports

TransportUse Case
stdioSpawn MCP server as child process (most common)
sseConnect to running MCP server via SSE
streamable-httpMCP v2 streamable HTTP transport

Protocol — What Gets Exposed

When bridged, your MCP server's capabilities are available as agent:// methods:

MethodDescription
tools/listList available tools
tools/callCall a tool
resources/listList available resources
resources/readRead a resource
prompts/listList available prompts
prompts/getGet a prompt
capabilitiesFull capability manifest
pingHealth check

Events

bridge.on('ready', ({ tools, resources, prompts }) => { /* MCP connected */ });
bridge.on('registered', ({ name, endpoint }) => { /* On agent:// network */ });
bridge.on('tool:call', ({ tool, sessionId }) => { /* Tool invoked */ });
bridge.on('tool:result', ({ tool, durationMs }) => { /* Tool completed */ });
bridge.on('error', (err) => { /* Handle errors */ });

Configuration

const bridge = new MCPBridge({
  name: string;                    // Agent name on the network

  mcp: {
    transport: 'stdio' | 'sse' | 'streamable-http';
    command?: string;              // For stdio
    args?: string[];               // For stdio
    url?: string;                  // For sse/streamable-http
    headers?: Record<string, string>;
  };

  agent?: {
    port?: number;                 // Listen port (default: auto)
    publicHost?: string;           // Your public IP
    autoRegister?: boolean;        // Register on DNS (default: true)
  };

  bridge?: {
    toolCallTimeoutMs?: number;    // Timeout (default: 30s)
    exposeResources?: boolean;     // Expose resources (default: true)
    exposePrompts?: boolean;       // Expose prompts (default: true)
  };
});

How It Works

┌──────────────┐    agent://     ┌──────────────┐    JSON-RPC     ┌────────────┐
│ Any Agent    │ ──────────────► │ MCP Bridge   │ ─────────────► │ MCP Server │
│ on network   │                 │ @agenium/    │                │ (any tool) │
│              │ ◄────────────── │ mcp-server   │ ◄───────────── │            │
└──────────────┘   response      └──────┬───────┘   result       └────────────┘
                                        │ registers
                                        ▼
                                  ┌────────────┐
                                  │ AGENIUM    │
                                  │ DNS Network│
                                  └────────────┘

Part of the AGENIUM Ecosystem

PackageDescription
ageniumCore agent SDK
@agenium/create-agentScaffold agents in 60 seconds
@agenium/mcp-server← You are here

🔍 Find MCP Servers to Bridge

Search 2,000+ MCP servers →

Find tools, APIs, and services to bridge to the agent:// network — searchable by capability, language, and use case.

License

MIT © AGENIUM

Keywords

mcp

FAQs

Package last updated on 16 Feb 2026

Did you know?

Socket

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.

Install

Related posts