Skip to main content

Yaozh MCP Stdio Proxy

Local stdio MCP proxy for the remote Drug MCP streamable-http service.

It is intended for MCP clients that only support stdio. The proxy runs locally and forwards MCP tool calls to the remote HTTP MCP endpoint.

MCP client
  -> local stdio proxy
  -> remote streamable-http MCP service

The proxy does not store API keys or results. Authentication, permissions, quota and audit logs are still handled by the remote MCP service.

Install And Run With uvx

After publishing this package to PyPI:

uvx yaozh-mcp-stdio --url http://<server-ip>/mcp --api-key <token>

Recommended usage with environment variables:

MCP_HTTP_URL="http://<server-ip>/mcp" \
MCP_API_KEY="<token>" \
uvx yaozh-mcp-stdio

Windows PowerShell:

$env:MCP_HTTP_URL="http://<server-ip>/mcp"
$env:MCP_API_KEY="<token>"
uvx yaozh-mcp-stdio

MCP Client Config

Pass token by environment variables:

{
  "mcpServers": {
    "drug-mcp": {
      "command": "uvx",
      "args": [
        "yaozh-mcp-stdio"
      ],
      "env": {
        "MCP_HTTP_URL": "http://<server-ip>/mcp",
        "MCP_API_KEY": "<token>"
      }
    }
  }
}

Or pass token by arguments:

{
  "mcpServers": {
    "drug-mcp": {
      "command": "uvx",
      "args": [
        "yaozh-mcp-stdio",
        "--url",
        "http://<server-ip>/mcp",
        "--api-key",
        "<token>"
      ]
    }
  }
}

Options

yaozh-mcp-stdio --help
--url       Remote streamable-http MCP URL. Default reads MCP_HTTP_URL.
--api-key   Bearer token. Default reads MCP_API_KEY.
--timeout   Remote request timeout in seconds. Default reads MCP_PROXY_TIMEOUT or 120.

Local Development

Install editable:

pip install -e .
yaozh-mcp-stdio --url http://127.0.0.1/mcp --api-key <token>

Build package:

python -m pip install --upgrade build twine
python -m build
twine check dist/*

Publish to TestPyPI:

twine upload --repository testpypi dist/*

Publish to PyPI:

twine upload dist/*

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yaozh_mcp_stdio-0.1.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yaozh_mcp_stdio-0.1.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file yaozh_mcp_stdio-0.1.1.tar.gz.

File metadata

  • Download URL: yaozh_mcp_stdio-0.1.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.4

File hashes

Hashes for yaozh_mcp_stdio-0.1.1.tar.gz
Algorithm Hash digest
SHA256 fa747d88f39d0f593309ac177a3cdf2e26ac6e975b71ae9ff22389b91c26709c
MD5 ab0d987676daf3029ce3fea7ff3c9644
BLAKE2b-256 4218be811d50e99ee7ac8a5bec8ee4f0afecbfe00179b90b2c7121f846a5a1b9

See more details on using hashes here.

File details

Details for the file yaozh_mcp_stdio-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for yaozh_mcp_stdio-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 423a799c1210e1e1d40e72d62a455ab0e6f58c38116e752e4b8a6f401ed0b7ce
MD5 a61d88fcec08a9b919e6b0c230cefb44
BLAKE2b-256 db2bb0b8c63ea926f8bb254025e999d4c42f8684b5a8ab0343b98e4a8c01ee5a

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page