Skip to main content
Glama
jaringan-mcp

jaringan-mcp

Moved. This GitHub copy is an archive. Use the Forgejo repository.

Canonical repository: https://git.simonharms.com/thesimonharms/jaringan-mcp

jaringan-mcp

MCP (Model Context Protocol) server for the Jaringan (JRG) protocol. Lets AI agents fetch, inspect, search, and manage Jaringan pages through structured tool calls.

Install

npm install jaringan-mcp

Related MCP server: srezai-mcp

Usage

Standalone

npm install jaringan-mcp

# Connect to a JRG server on localhost:7080
npx jaringan-mcp --jrg-port 7080

# Read from local .jrg files instead
npx jaringan-mcp --file-root ~/wiki

# Custom host/port with browser binary
npx jaringan-mcp --jrg-host 10.0.0.1 --jrg-port 7070 --browser /usr/bin/jaringan-browser

With Hermes Agent

Add to ~/.hermes/config.yaml:

mcp_servers:
  jaringan:
    command: "npx"
    args: ["-y", "jaringan-mcp", "--jrg-port", "7080"]

Or for local file access:

mcp_servers:
  jaringan:
    command: "npx"
    args: ["-y", "jaringan-mcp", "--file-root", "/home/user/wiki"]

Restart Hermes to auto-discover the tools.

With Claude Code / Copilot / Any MCP Host

{
  "mcpServers": {
    "jaringan": {
      "command": "npx",
      "args": ["-y", "jaringan-mcp", "--jrg-port", "7080"]
    }
  }
}

Tools

Tool

Description

jrg_fetch

Fetch a JRG page → structured content (title, body, tags, links)

jrg_fetch_raw

Fetch raw JRG protocol response (status, headers, body)

jrg_inspect

Inspect a page → JSON manifest of interactive elements

jrg_search

Search local .jrg pages under a root directory

jrg_auth_list

List all stored Jaringan authentication tokens

jrg_view

Render a page as formatted plain text

jrg_list

List all available Jaringan pages (slug + title)

Options

Flag

Default

Description

--jrg-host

localhost

JRG TCP server hostname

--jrg-port

7070

JRG TCP server port

--file-root

—

Read from local .jrg files (instead of TCP)

--browser

jaringan-browser

Path to jaringan-browser binary

--tcp-timeout

5000

TCP connection timeout in ms

Architecture

AI Agent (Hermes, Claude Code, etc.)
        │
        │ MCP protocol (JSON-RPC over stdio)
        ▼
┌─────────────────────────────┐
│     jaringan-mcp server     │
│                             │
│  ┌───────────────────────┐  │
│  │  jrg-client (lib)     │──│── TCP → JRG server (port 7070/7080)
│  └───────────────────────┘  │
│  ┌───────────────────────┐  │
│  │  jaringan-browser CLI │──│── inspect / search / auth
│  └───────────────────────┘  │
│  ┌───────────────────────┐  │
│  │  Local file reader    │──│── .jrg files on disk
│  └───────────────────────┘  │
└─────────────────────────────┘

Publishing

npm run build
npm publish --access public

License

MIT

Available Tools

7 tools
jrg_auth_listA

List all stored Jaringan authentication tokens.

Inputs: no named parameters.

jrg_fetchA

Fetch a Jaringan (JRG) page and return structured content (title, body, tags, links). Uses TCP to a JRG server by default, or a local file root. URL can be jrg://host:port/path or just a path like "welcome" or "/port-map".

Inputs: url (required).

jrg_fetch_rawA

Fetch a JRG page and return the raw protocol response (status line, headers, body).

Inputs: url (required).

jrg_inspectA

Inspect a JRG page and return a JSON manifest of interactive elements (headings, links, paragraphs, inputs, buttons).

Inputs: url (required).

jrg_listA

List all available Jaringan pages. Returns an array of { slug, title } entries.

Inputs: no named parameters.

jrg_viewB

Render a JRG page as formatted plain text (human-readable).

Inputs: url (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool has a distinct purpose: listing tokens, fetching pages in different formats (structured, raw, plain text), inspecting interactive elements, listing all pages, and searching local pages. The fetch variants are clearly differentiated by their output format, leaving no ambiguity.

    Naming Consistency5/5

    All tools follow a consistent 'jrg_verb' pattern with verbs like list, fetch, inspect, search, view. The compound 'auth_list' and 'fetch_raw' still adhere to the imperative style, making the naming predictable and easy to parse.

    Tool Count5/5

    With 7 tools, the server covers the core reading operations (list, fetch, inspect, search) without being excessive or sparse. The count feels well-scoped for a focused Jaringan page retrieval and discovery surface.

    Completeness3/5

    The tool set is read-only, providing listing, fetching, inspecting, and searching, but lacks any write operations such as create, update, or delete pages. While it may suffice for read-only use cases, it is incomplete for a general-purpose Jaringan server that would typically include content management.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers