qURL

qURL is the portal to the invisible internet -- expiring, scope-limited URLs that let AI agents reach services no one else can see

@layerv/qurl-mcp

npm version

MCP server for qURL™ secure link management.

Quantum URL (qURL) · The internet has a hidden layer. This is how you enter.

What it does

qURL MCP Server is a Model Context Protocol server that lets AI agents (Claude, GPT, Cursor, etc.) create, resolve, list, and manage qURL secure links natively. It connects to the qURL API over stdio transport, so any MCP-compatible client can use it without custom integration code.

Quick Start

Add the server to your MCP client configuration (Claude Desktop, Claude Code, etc.):

{
  "mcpServers": {
    "qurl": {
      "command": "npx",
      "args": ["@layerv/qurl-mcp"],
      "env": { "QURL_API_KEY": "lv_live_xxx" }
    }
  }
}

Replace lv_live_xxx with your actual API key. The key must have the appropriate scopes for the tools you intend to use (see below).

Available Tools

ToolDescriptionRequired Scope
create_qurlCreate a secure, policy-bound link to a protected resourcequrl:write
resolve_qurlResolve an access token to get the target URL and open firewall accessqurl:resolve
list_qurlsList active qURLs with optional paginationqurl:read
get_qurlGet details of a specific qURL by resource IDqurl:read
delete_qurlRevoke a qURL, immediately invalidating the linkqurl:write
extend_qurlExtend the expiration of an active qURL (alias for update_qurl)qurl:write
update_qurlUpdate expiration, tags, or description on an active qURLqurl:write
mint_linkMint a new access link for an existing protected resourcequrl:write
batch_create_qurlsCreate multiple qURLs in a single callqurl:write

Available Resources

URINameDescription
qurl://linksActive qURL LinksList of all active qURL links
qurl://usageqURL Usage & QuotaCurrent quota and usage information

Configuration

Environment VariableRequiredDescriptionDefault
QURL_API_KEYConditional (see description)API key with appropriate scopes (qurl:read, qurl:write, qurl:resolve). The server boots without it so MCP introspection (tools/list, resources/list, prompts/list) works for directory probes — required only on the first tool call or resource read, where invocations surface a typed missing_api_key error until the key is set.--
QURL_API_URLNoqURL API base URLhttps://api.layerv.ai

Docker

A multi-stage Dockerfile is included for container-based deployment:

docker build -t qurl-mcp .
docker run -i -e QURL_API_KEY=lv_live_xxx qurl-mcp

The image runs as the non-root node user, ships only production dependencies, and uses tini as PID 1 for clean signal handling.

If a tool call returns missing_api_key despite QURL_API_KEY looking set, check stderr for the boot-time warning — some MCP hosts hide stderr, and the warning is the fastest way to spot a whitespace-only or unset value:

docker logs <container>          # if running detached
docker run -i -e QURL_API_KEY=lv_live_xxx qurl-mcp 2>&1  # interactive

Development

npm install
npm run build
npm test
npm run lint

Additional commands:

npm run dev          # Watch mode (rebuild on changes)
npm run format       # Format source with Prettier
npm run format:check # Check formatting without modifying files

License

MIT -- LayerV AI

Related Servers

NotebookLM Web Importer

Import web pages and YouTube videos to NotebookLM with one click. Trusted by 200,000+ users.

Install Chrome Extension