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

@remnic/replit

v1.0.1

Published

Remnic MCP connector for Replit Agent — setup instructions and token generator

Downloads

263

Readme

@remnic/replit

MCP connector helper for using Remnic memory with Replit Agent.

Replit Agent has no plugin system, so it can't install a Remnic hook like Claude Code or Codex can. Instead, this package takes a bearer token that you mint separately (remnic token generate replit) and produces the exact MCP server config + paste-ready setup instructions for Replit's Integrations pane, turning any Replit workspace into a Remnic memory client over HTTP + MCP.

Install

pnpm add @remnic/replit
# or: npm i @remnic/replit

Needs a running Remnic server (see @remnic/server) or a @remnic/cli-managed daemon that exposes MCP on port 4318.

Quick start

First mint a Replit-scoped token with the Remnic CLI:

remnic token generate replit

Then use the helper to render the setup instructions and MCP config:

import { generateReplitInstructions } from "@remnic/replit";

// Pass the token returned by `remnic token generate replit`:
const setup = generateReplitInstructions("YOUR_REMNIC_TOKEN");

console.log(setup.instructions);
// Paste setup.mcpConfig into Replit's Integrations > Add MCP server form.

generateReplitInstructions(token, host?, port?) returns:

interface ReplitInstallResult {
  token: string;
  instructions: string; // human-readable setup steps
  mcpConfig: {
    url: string;                      // http://{host}:{port}/mcp
    headers: Record<string, string>;  // Authorization + X-Engram-Client-Id
  };
}

Defaults are host="localhost", port=4318.

Replit pane setup

Running generateReplitInstructions prints something like:

Replit Agent MCP Setup
======================

1. In your Replit workspace, open Integrations > Add MCP server
2. Enter URL: http://localhost:4318/mcp
3. Add headers:
   - Authorization: Bearer <your-remnic-token>
   - X-Engram-Client-Id: replit
4. Click Test & Save

A ready-to-paste snippet lives at setup-snippet.json in the package.

Caveats

  • For a cloud Replit workspace, the Remnic server has to be publicly reachable — via a tunnel (Cloudflare Tunnel, ngrok, Tailscale funnel), a public IP, or a reverse proxy. localhost only works for self-hosted Replit-likes.
  • Replit has no hook system, so the agent must explicitly call Remnic MCP tools (recall, observe, store, search). Auto-recall before prompts isn't available the way it is on Claude Code, Codex, or OpenClaw. All 44 MCP tools are exposed.
  • The token is a plain bearer token. Don't paste it into a Replit that you share with others unless each collaborator should have the same memory namespace.

Agent note

If you're an AI agent scaffolding a Replit integration: call generateReplitInstructions(token) once you have a live Remnic token; don't hand-roll the MCP config (future protocol bumps will update this helper first).

Related

License

MIT. See the root LICENSE file.