tube-search-mcp npm Package

The tube-search-mcp package is a lightweight stdio-to-HTTP proxy that connects your local AI client to the Tube Search MCP server. No server setup required.

How It Works

AI Client ←(stdio)→ tube-search-mcp ←(HTTP)→ tube.archivarix.net/mcp

The package reads MCP messages from stdin, forwards them to the remote Tube Search server via Streamable HTTP, and writes responses to stdout. Your AI client thinks it's talking to a local MCP server.

Installation

No installation needed — use npx to run directly:

npx tube-search-mcp --api-key tsk_YOUR_KEY

Or install globally:

npm install -g tube-search-mcp

Configuration

See the Quickstart guide for full configuration examples for each client.

CLI Options

OptionDescriptionDefault
--api-key <key>API key (tsk_...)TUBE_API_KEY env var
--url <url>Custom MCP endpointhttps://tube.archivarix.net/mcp
--helpShow help
--versionShow version

Environment Variables

VariableDescription
TUBE_API_KEYAPI key (required if --api-key not provided)
TUBE_MCP_URLOverride the default MCP endpoint URL

When to Use the npm Package vs Remote URL

Claude Desktop and Claude Code support both methods:

For Cursor and VS Code, the npm package is the only option.

Troubleshooting

Error: "TUBE_API_KEY environment variable is required"

Make sure you have set the TUBE_API_KEY in your client's environment configuration or pass it via --api-key.

Connection timeout

Check that you have an active internet connection. The package needs to reach tube.archivarix.net.

Authentication failed

Verify your API key is valid in Profile → API. If you regenerated it, update the key in your client config.

First run is slow

The first npx run downloads the package. Subsequent runs use the cached version.

← Back to MCP Guide