npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

trios-railway-mcp

v1.0.0

Published

Public MCP server for managing Railway services in the IGLA project

Readme

@ghashtag/trios-railway-mcp

Public MCP server for managing Railway services in the IGLA project.

Anchor: phi^2 + phi^-2 = 3

Features

  • Streamable HTTP MCP Server: Exposes 6 tools via /mcp endpoint
  • Railway Service Management: List, deploy, redeploy, and delete services
  • Experience Logging: Append to .trinity/experience/ logs
  • Audit Support: Get Neon DDL for railway audit tables
  • Basic Auth: Configurable authentication for security

Installation

npm install -g @ghashtag/trios-railway-mcp

Or run directly with npx:

npx @ghashtag/trios-railway-mcp

Usage

trios-railway-mcp

The server will start on http://localhost:3000 by default.

Environment Variables

| Variable | Description | Default | |----------|-------------|---------| | PORT | Server port | 3000 | | HOST | Server host | 0.0.0.0 | | RAILWAY_TOKEN | Railway API token (required for deploy/redeploy/delete) | - | | AUTH_USERNAME | Basic auth username | admin | | AUTH_PASSWORD | Basic auth password | (empty = no auth) | | ENABLE_AUTH | Enable basic auth | true |

MCP Tools

| Tool | Description | |------|-------------| | railway_service_list | List all Railway services in a project | | railway_service_deploy | Create or reuse a service, set image, env vars, and redeploy | | railway_service_redeploy | Trigger a redeploy on an existing service | | railway_service_delete | Permanently delete a service (requires confirm: true) | | railway_experience_append | Append a line to the L7 experience log | | railway_audit_migrate_sql | Get Neon DDL for railway audit tables |

Endpoints

  • GET / - Server info and available tools
  • GET /health - Health check
  • POST /mcp - MCP Streamable HTTP endpoint (JSON-RPC 2.0)

Example: Connecting from an MCP Client

import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";

const transport = new StreamableHTTPClientTransport(
  new URL("http://localhost:3000/mcp"),
  {
    headers: {
      Authorization: "Basic " + Buffer.from("admin:password").toString("base64"),
    },
  }
);

const client = new Client({
  name: "example-client",
  version: "1.0.0",
});

await client.connect(transport);

// List tools
const { tools } = await client.listTools();
console.log("Available tools:", tools.map(t => t.name));

// Call a tool
const result = await client.callTool({
  name: "railway_service_list",
  arguments: {},
});

console.log("Services:", result.content);

Deployment to Railway

This package can be deployed directly to Railway:

railway up

Make sure to set the RAILWAY_TOKEN environment variable in your Railway project.

Development

# Install dependencies
npm install

# Build
npm run build

# Run in development mode
npm run dev

License

Apache-2.0

Repository

github.com/gHashTag/trios-railway

Related Projects