# mcp-server

Connects local MCP tools to the AGENIUM network using agent:// URIs. Useful when you need distributed tool discovery and cross-agent calls through DNS.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 5
- Author: Aganium
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Aganium/agenium/tree/HEAD/packages/mcp-bridge
- Updated: 2026-10-10
- HTML: https://affpapa.org/en/nevibecode/mcp/aganium-mcp-server

## What it does

The `@agenium/mcp-server` package links the Model Context Protocol to the AGENIUM agent network. It assigns an `agent://` address to servers running via `stdio`, `sse`, or `streamable-http`. Remote nodes can discover these tools through DNS and invoke them directly.

The bridge handles tool execution, resource reading, and prompt templates. A companion client discovers remote capabilities. It executes actions with a default 30-second timeout.

By default, registration targets the AGENIUM DNS host at `185.204.169.26:3000`. You must supply a reachable address in `publicHost` for other machines to connect back. Without a reachable IP, peer nodes cannot route calls to your bridge.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add mcp-server -- npx -y @agenium/mcp-server
```

### Codex

**Platform CLI**
```bash
codex mcp add mcp-bridge -- npx -y @agenium/mcp-server
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mcp-bridge": {
            "command": "npx",
            "args": [
                "-y",
                "@agenium/mcp-server"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mcp-bridge": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@agenium/mcp-server"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add mcp-bridge npx -y @agenium/mcp-server
```

## When to use it
- expose local MCP tools to peer nodes over agent:// URIs
- query and invoke remote agent capabilities via AGENIUM DNS
- bridge stdio, SSE, or streamable-http transports to a distributed network
- share prompts and resources across multi-agent setups

## Example prompts
- Connect the agenium bridge to reach remote tools at agent://weather-tools
- Query the capabilities manifest for the remote agent agent://weather-tools
- Run the get_forecast tool on agent://weather-tools with city Tehran and 3 days

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 392262
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33989
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81163
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119231
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47577
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43902

## Other versions with the same name
- [mcp-server · heyputer](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — ★ 43902
- [mcp-server · mapbox](https://affpapa.org/en/nevibecode/mcp/mapbox-mcp-server.md) — ★ 363
- [mcp-server · packmindhub](https://affpapa.org/en/nevibecode/mcp/packmindhub-mcp-server.md) — ★ 319
- [mcp-server · bingowon](https://affpapa.org/en/nevibecode/mcp/bingowon-mcp-server.md) — ★ 121
- [mcp-server · ui5](https://affpapa.org/en/nevibecode/mcp/ui5-mcp-server.md) — ★ 105

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
