Unverified Commit fb9b73a0 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

mcp-proxy: init at 0.7.0 (#411908)

parents 8612bc6e 1619f658
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -12956,6 +12956,13 @@
    githubId = 8211181;
    name = "Kevin Kandlbinder";
  };
  keyruu = {
    name = "Lucas";
    email = "me@keyruu.de";
    matrix = "@keyruu:matrix.org";
    github = "Keyruu";
    githubId = 53177682;
  };
  keysmashes = {
    email = "x-89cjg9@keysmash.solutions";
    github = "keysmashes";
+38 −0
Original line number Diff line number Diff line
{
  lib,
  python3Packages,
  fetchFromGitHub,
}:
python3Packages.buildPythonApplication rec {
  pname = "mcp-proxy";
  version = "0.7.0";

  src = fetchFromGitHub {
    owner = "sparfenyuk";
    repo = "mcp-proxy";
    tag = "v${version}";
    hash = "sha256-xHy+IwnUoyICSTusqTzGf/kOvT0FvJYcTT9Do0C5DiY=";
  };

  pyproject = true;

  build-system = [ python3Packages.setuptools ];

  dependencies = with python3Packages; [
    uvicorn
    mcp
  ];

  nativeCheckInputs = with python3Packages; [
    pytestCheckHook
    pytest-asyncio
  ];

  meta = {
    description = "MCP server which proxies other MCP servers from stdio to SSE or from SSE to stdio";
    homepage = "https://github.com/sparfenyuk/mcp-proxy";
    mainProgram = "mcp-proxy";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ keyruu ];
  };
}