1. Conduid
  2. Browser
  3. streamable-http-shim
MCP server · Browser

streamable-http-shim

a shim for mapping a streamable http server to stdio

Unclaimed last commit a year ago devtools
39Low

Scored 5 days ago · breakdown

About streamable-http-shim

streamable-http-shim is an MCP server published by git+tollbit in the Browser category: a shim for mapping a streamable http server to stdio.

The repository has 1 stars and 0 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

Install
npx @tollbit/mcp-streamable-http-shim
Claude Code
claude mcp add streamable-http-shim -- npx -y @tollbit/mcp-streamable-http-shim
npx
npx -y @tollbit/mcp-streamable-http-shim

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about streamable-http-shim

Powered by Claude · Grounded in docs

I know everything about streamable-http-shim. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

4 checks have not been run yet.

README

MCP Streamable HTTP Shim

GitHub Discord

A stdio MCP server that proxies to any streamable HTTP MCP backend. Use it as a temporary bridge until @modelcontextprotocol/inspector natively supports streamable HTTP.

Why Use This?

  • Bridge stdio-only clients to HTTP servers: Run MCP clients that only speak stdio against a remote streamable HTTP MCP server.
  • Zero changes to your server: Point the shim at your existing HTTP endpoint and go.
  • Simple auth via headers: Pass API keys and custom headers with familiar cURL-style -H flags.

Installation

  • Run with npx: npx @tollbit/mcp-streamable-http-shim
  • Or install globally: npm i -g @tollbit/mcp-streamable-http-shim

Quick Start

Use the shim to connect a stdio-based client (like the Inspector) to your HTTP MCP server.

Inspector

npx @modelcontextprotocol/inspector npx -y @tollbit/mcp-streamable-http-shim --url "https://example.com/mcp"

Add Headers (API keys, etc.)

Repeat -H to send multiple headers:

npx @tollbit/mcp-streamable-http-shim --url https://your-url-here.com \
  -H "some-header: and-its-value" \
  -H "Authorization: Bearer $MY_TOKEN"

Key Features

  • End-to-end streaming using the MCP SDK StreamableHTTPClientTransport.
  • Tool passthrough: tools/list and tools/call proxied to the remote server.
  • Stdio transport: Works with any client that connects over stdio.

Documentation

  • Full Documentation: This README
  • API Reference: See @modelcontextprotocol/sdk types and transports
  • Examples: See Quick Start and MCP Configuration below

Common Use Cases

  • Use stdio-only MCP clients with your HTTP server: Point the shim at your remote MCP service and use it from Inspector or similar tools.
  • Add auth to requests: Pass -H "Authorization: Bearer <token>" for secured endpoints.
  • Local testing of remote servers: Verify tool listing and tool invocation quickly without changing your server.

Requirements

  • Node.js: v18 or newer
  • Network access to your HTTP MCP server implementing streamable HTTP

Support

License

MIT

How This Fits in the Tollbit Toolbox

This shim makes any streamable HTTP MCP server usable from stdio-only clients. It’s a lightweight bridge that preserves streaming semantics while you use tools like the Inspector or other stdio-based environments.

MCP Configuration

Below are examples for common MCP clients.

Claude Desktop (JSON config)

Add an entry under mcpServers:

{
  "mcpServers": {
    "http-shim": {
      "command": "npx",
      "args": [
        "-y",
        "@tollbit/mcp-streamable-http-shim",
        "--url",
        "https://example.com/mcp",
        "-H",
        "Authorization: Bearer ${MY_TOKEN}"
      ]
    }
  }
}

Inspector (CLI)

npx @modelcontextprotocol/inspector npx -y @tollbit/mcp-streamable-http-shim --url "https://example.com/mcp"

Authentication

Pass headers using repeated -H flags. Values can come from environment variables.

export MY_TOKEN=sk-... 
npx @tollbit/mcp-streamable-http-shim --url https://example.com/mcp \
  -H "Authorization: Bearer $MY_TOKEN" \
  -H "X-Org: my-org"

Error Handling

  • No host provided: The shim exits with an error. Provide --url <https://...>.
  • 401/403 from server: Check your -H headers and tokens.
  • Tool call errors: Remote errors are surfaced back to the client as MCP tool errors.
  • Connectivity issues: The shim logs to stderr and will report connection errors to the client.

Advanced Usage

  • Multiple headers: Repeat -H for each header; format as Key: Value.
  • Verbose logs: Operational logs are written to stderr; the process sends keep-alive pings every 10s.
  • Signals: Gracefully handles SIGINT/SIGTERM.
  • Compatibility: Works with stdio-based clients while preserving streamable HTTP semantics via the MCP SDK.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About streamable-http-shim

How do I install streamable-http-shim?

Run npx @tollbit/mcp-streamable-http-shim, then add the server to your MCP client's configuration.

Is streamable-http-shim safe to use with an AI agent?

Its trust score is 39 out of 100 (low). It passes 1 of the 2 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is streamable-http-shim still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.