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

@ductape/mcp

v0.1.0

Published

MCP server that exposes Ductape SDK operations via the backend proxy

Downloads

29

Readme

Ductape MCP Server

MCP (Model Context Protocol) server that exposes Ductape SDK operations as tools. All calls go through the Ductape backend proxy at a fixed URL; the SDK never runs in the MCP process. It is completely stateless; you provide your Publishable Key per execution.

Prerequisites

  • Ductape backend (proxy and users services) reachable at https://api.ductape.app (handled automatically)
  • A workspace Publishable Key (from your Ductape workspace)

Install

cd platform/mcp-server
npm install

MCP SDK: npm install pulls in @modelcontextprotocol/sdk and zod (v1, recommended). For the v2 alpha server package instead, use npm install @modelcontextprotocol/server zod @cfworker/json-schema.

Configuration & Run

npm run build && node dist/index.js

Or with tsx:

npm run dev

The server uses stdio transport (stdin/stdout), so it is intended to be spawned by an MCP client (e.g. Cursor). There are no environment variables required to run the server.

Cursor configuration

In Cursor, add the server in MCP settings (e.g. ~/.cursor/mcp.json or project .cursor/mcp.json):

{
  "mcpServers": {
    "ductape": {
      "command": "node",
      "args": ["/absolute/path/to/Ductape/platform/mcp-server/dist/index.js"]
    }
  }
}

Use an absolute path for args[0].

Tools

The server exposes three tools:

  1. ductape_execute:

    • It runs any allowed SDK module method via the backend proxy.
    • Arguments:
      • publishable_key (string, required for authentication)
      • module (e.g. databases, storage, vector)
      • method (e.g. query, list, findSimilar)
      • params (array of positional arguments matching the SDK).
    • Full reference: The tool description embeds the complete list of modules, allowed methods, and their expected parameters for quick reference. (See docs/TOOLS.md if using a client that requires it).
  2. ductape_generate_payload:

    • Calls backend POST /integrations/v1/payloads/generate.
    • Returns canonical executable payload templates with schema metadata ({ payload, meta }).
    • Intended for MCP-assisted code snippet generation and payload prefill in agent workflows.
    • Arguments:
      • workspace_id, user_id, public_key
      • product_tag, env_slug
      • operation_family, method
      • optional targets, schema_mode, include_session, include_cache, input_hint
  3. ductape_generate_snippet:

    • Calls ductape_generate_payload flow and returns:
      • generated payload/meta
      • ready-to-copy SDK snippet in typescript or python
    • Intended for engineers and copilots that need executable examples quickly.

Security

  • Passing the publishable_key on a per-request basis guarantees that each execution is isolated. This architecture safely supports deployments that multiplex multiple user connections in a single server thread (e.g., SSE), avoiding cross-tenant leakage.