mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
mcp-proxy: init at 0.7.0 (#411908)
This commit is contained in:
@@ -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
pkgs/by-name/mc/mcp-proxy/package.nix
Normal file
38
pkgs/by-name/mc/mcp-proxy/package.nix
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user