Skip to main content

鵲 - Bridge Claude Desktop to Streamable HTTP MCP servers via mcp-proxy

Project description

cdcasasagi

鵲 - Bridge Claude Desktop to Streamable HTTP MCP servers via mcp-proxy

[!IMPORTANT] As of now, Claude Desktop officially supports custom connectors for remote MCP servers. I recommend considering that option first. While mcp-proxy is a great and easy-to-use tool, the scenarios where it is still necessary are likely limited now that official support exists. Additionally, custom connectors work not only with Claude Desktop but also with the web version of Claude, once configured.

Install

uv tool install cdcasasagi

Usage

The add and import commands default to preview mode (no files are modified). Pass --write to apply changes. For full option details, run cdcasasagi <command> --help.

add

Add a single MCP server entry:

cdcasasagi add https://developers.openai.com/mcp

This shows a unified diff of the proposed change. Pass --write to apply:

cdcasasagi add https://developers.openai.com/mcp --write

A server name is automatically derived from the URL hostname (e.g. developers for the URL above). Use --name to specify a custom name:

cdcasasagi add https://developers.openai.com/mcp --name openai-developer-docs --write

The written entry looks like this:

{
  "mcpServers": {
    "openai-developer-docs": {
      "command": "/Users/you/.local/bin/mcp-proxy",
      "args": [
        "--transport",
        "streamablehttp",
        "https://developers.openai.com/mcp"
      ]
    }
  }
}

delete

Remove an entry from the Claude Desktop config by URL:

cdcasasagi delete https://mcp.notion.com/mcp

This shows a unified diff of the proposed removal. Pass --write to apply:

cdcasasagi delete https://mcp.notion.com/mcp --write

Only entries added by cdcasasagi (whose command is mcp-proxy) are removed. Hand-added entries that happen to share a URL are left alone.

import

Add multiple entries at once from a JSONL file:

cdcasasagi import servers.jsonl

Each line is a JSON object with a required url key and optional name / transport keys:

{"url": "https://developers.openai.com/mcp", "name": "openai-developer-docs"}
{"url": "https://example.com/mcp"}

Stdin is also supported — pipe a file, or pass - and paste the JSONL interactively:

cat servers.jsonl | cdcasasagi import -
cdcasasagi import - --write
# Paste JSONL, then press Enter on a blank line to finish
# (Ctrl+D / Ctrl+Z also works)

list

Show cdcasasagi-managed MCP servers in the config:

cdcasasagi list

Output is name : url, one entry per line, sorted by name. Only entries whose command is mcp-proxy (or mcp-proxy.exe on Windows) are shown.

validate-import

Validate a JSONL file's schema without importing. This command never writes any files.

cdcasasagi validate-import servers.jsonl

Paste JSONL from stdin instead of preparing a file:

cdcasasagi validate-import -
# Paste JSONL, then press Enter on a blank line to finish
# (Ctrl+D / Ctrl+Z also works)

Once the JSONL validates, feed the same content to import - --write to apply it.

revert

Restore the config from the .bak backup created by the last --write:

cdcasasagi revert

version

cdcasasagi version

Project details


Download files

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

Source Distribution

cdcasasagi-0.5.1.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

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

cdcasasagi-0.5.1-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file cdcasasagi-0.5.1.tar.gz.

File metadata

  • Download URL: cdcasasagi-0.5.1.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for cdcasasagi-0.5.1.tar.gz
Algorithm Hash digest
SHA256 265bc8a6ee489cc767fc3fdec24734a2564f334f4195f60adc550fc2f4f8ab88
MD5 57658fc6076278068281621d5b62bc57
BLAKE2b-256 aa72fa7d7ef8a1df0349726c45f79cfe8f110f6df6da5bebedde9d4341762c3c

See more details on using hashes here.

Provenance

The following attestation bundles were made for cdcasasagi-0.5.1.tar.gz:

Publisher: publish.yml on ftnext/cdcasasagi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cdcasasagi-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: cdcasasagi-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for cdcasasagi-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 31d83720ff9840fdd572d28824c40035cf4c0b072d826b2b57014ca987b2420f
MD5 df1b8b55f5f3931a8b4b945d9e2b6204
BLAKE2b-256 c1f711e16c2f532723e5d3b3fa8ec166fb7ae2ec44ba0dbd4d355cfef4f8b722

See more details on using hashes here.

Provenance

The following attestation bundles were made for cdcasasagi-0.5.1-py3-none-any.whl:

Publisher: publish.yml on ftnext/cdcasasagi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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