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.0.tar.gz (11.6 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.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cdcasasagi-0.5.0.tar.gz
  • Upload date:
  • Size: 11.6 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.0.tar.gz
Algorithm Hash digest
SHA256 7cc9e25e42fb86f6c9a5bcfa1acec9eadf80974f45481b0fa1b67b13e54f2264
MD5 247f427f0d4bba46c1a9e074587c20dd
BLAKE2b-256 e9b53aaebe1e43eb32b51a780b7fc296187d08fd954aa896accdb600c548f1b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for cdcasasagi-0.5.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: cdcasasagi-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 14.3 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e78db49cb09bc234c4669bf54d7f9274263d32e413ae2dbbb73cad120794aba
MD5 028f60fd930f253713fc82f5b6b91efa
BLAKE2b-256 dd0ac796f7b9efeefeb363daf3b340765b9e7bb27f83027aaa1efc352dd661b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for cdcasasagi-0.5.0-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