{"id":46384211,"url":"https://github.com/sotayamashita/devin-sse-proxy","last_synced_at":"2026-03-05T07:01:43.765Z","repository":{"id":315178356,"uuid":"1058426282","full_name":"sotayamashita/devin-sse-proxy","owner":"sotayamashita","description":"Minimal Python-based MCP server that allows Claude Desktop to talk to Devin's SSE transport while reliably passing a Personal API Key","archived":false,"fork":false,"pushed_at":"2025-09-17T05:13:00.000Z","size":35,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-17T06:29:49.679Z","etag":null,"topics":["claude-desktop","devin","mcp-proxy","mcp-server"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sotayamashita.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-09-17T04:38:57.000Z","updated_at":"2025-09-17T05:13:03.000Z","dependencies_parsed_at":"2025-09-17T06:29:52.413Z","dependency_job_id":"d0bdde07-d65a-4935-be59-7396553259bd","html_url":"https://github.com/sotayamashita/devin-sse-proxy","commit_stats":null,"previous_names":["sotayamashita/devin-sse-proxy"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/sotayamashita/devin-sse-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sotayamashita%2Fdevin-sse-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sotayamashita%2Fdevin-sse-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sotayamashita%2Fdevin-sse-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sotayamashita%2Fdevin-sse-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sotayamashita","download_url":"https://codeload.github.com/sotayamashita/devin-sse-proxy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sotayamashita%2Fdevin-sse-proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30113111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T03:40:26.266Z","status":"ssl_error","status_checked_at":"2026-03-05T03:39:15.902Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["claude-desktop","devin","mcp-proxy","mcp-server"],"created_at":"2026-03-05T07:01:41.830Z","updated_at":"2026-03-05T07:01:43.620Z","avatar_url":"https://github.com/sotayamashita.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# devin-sse-proxy\n\n[![CI](https://github.com/sotayamashita/devin-sse-proxy/actions/workflows/ci.yml/badge.svg)](https://github.com/sotayamashita/devin-sse-proxy/actions/workflows/ci.yml)\n\n`devin-sse-proxy` is a minimal Python-based MCP server that allows Claude Desktop to talk to Devin's SSE transport while reliably passing a Personal API Key. It exists as a temporary workaround for the bug described in [issue.md](./specs/issue.md), where the stock `mcp-remote` client drops custom `Authorization` headers and prevents access to private repositories. Windsurf and Claude Code already work against Devin because they manage headers directly; this proxy fills the gap for Claude Desktop until Devin or Claude ships a native fix.\n\n## How It Works\n- Bridges STDIN/STDOUT JSON-RPC from Claude Desktop to Devin's SSE endpoint (`https://mcp.devin.ai/sse`).\n- Listens for the `endpoint` SSE event and dynamically switches HTTP POSTs to the provided message URL.\n- Persists the `Mcp-Session-Id` response header and attaches it to subsequent requests to keep the session alive.\n- Forces `Authorization: Bearer \u003cAPI key\u003e` on every HTTP call so private repositories remain accessible.\n\n## Requirements\n- Python 3.11+ (project is configured for 3.13 via `pyproject.toml`).\n- [uv](https://github.com/astral-sh/uv) for dependency management (optional but recommended).\n- A Devin Personal API Key with access to the desired repositories.\n\n## Installation\n```bash\ngit clone git@github.com:sotayamashita/devin-sse-proxy.git\nuv sync\n```\nThis creates `.venv/` and installs `aiohttp` plus Python stdlib dependencies.\n\n## Running the Proxy\n```bash\nuv run python main.py --api-key \u003cYOUR_DEVIN_PERSONAL_API_KEY\u003e\n```\n\n## Claude Desktop Integration\nEdit `~/Library/Application Support/Claude/claude_desktop_config.json` to point the `devin` MCP server at this script.\n\n### Build from source\n\n```json\n{\n  \"mcpServers\": {\n    \"devin\": {\n      \"command\": \"abosulte/path/to/devin-sse-proxy/.venv/bin/python\",\n      \"args\": [\n        \"abosulte/path/to/devin-sse-proxy/main.py\",\n        \"--api-key\",\n        \"\u003cYOUR_DEVIN_PERSONAL_API_KEY\u003e\"\n      ],\n    }\n  }\n}\n```\n\n### Using the Docker Image\n\n```json\n{\n  \"mcpServers\": {\n    \"devin\": {\n      \"command\": \"/usr/local/bin/docker\",\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"DEVIN_API_KEY=\u003cYOUR_DEVIN_PERSONAL_API_KEY\u003e\",\n        \"ghcr.io/sotayamashita/devin-sse-proxy:latest\"\n      ]\n    }\n  }\n}\n```\n\n## Limitations\n- This project is intentionally minimal and will be retired once Devin MCP or Claude Desktop supports API-key forwarding natively.\n- No automatic reconnection beyond basic exponential backoff; restart the proxy if Claude Desktop disconnects permanently.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsotayamashita%2Fdevin-sse-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsotayamashita%2Fdevin-sse-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsotayamashita%2Fdevin-sse-proxy/lists"}