rosetta-mcp-gateway 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. rosetta_mcp_gateway-0.1.0/CITATION.cff +28 -0
  2. rosetta_mcp_gateway-0.1.0/LICENSE +21 -0
  3. rosetta_mcp_gateway-0.1.0/MANIFEST.in +2 -0
  4. rosetta_mcp_gateway-0.1.0/NOTICE +15 -0
  5. rosetta_mcp_gateway-0.1.0/PKG-INFO +653 -0
  6. rosetta_mcp_gateway-0.1.0/README.md +620 -0
  7. rosetta_mcp_gateway-0.1.0/docs/images/01-multilingual-tool-calling-gap.png +0 -0
  8. rosetta_mcp_gateway-0.1.0/docs/images/02-gateway-architecture.png +0 -0
  9. rosetta_mcp_gateway-0.1.0/docs/images/03-translation-engine-tiers.png +0 -0
  10. rosetta_mcp_gateway-0.1.0/gateway.yaml +44 -0
  11. rosetta_mcp_gateway-0.1.0/pyproject.toml +48 -0
  12. rosetta_mcp_gateway-0.1.0/setup.cfg +4 -0
  13. rosetta_mcp_gateway-0.1.0/src/rosetta/__init__.py +3 -0
  14. rosetta_mcp_gateway-0.1.0/src/rosetta/__main__.py +46 -0
  15. rosetta_mcp_gateway-0.1.0/src/rosetta/cache/__init__.py +5 -0
  16. rosetta_mcp_gateway-0.1.0/src/rosetta/cache/catalog.py +91 -0
  17. rosetta_mcp_gateway-0.1.0/src/rosetta/classifier/__init__.py +5 -0
  18. rosetta_mcp_gateway-0.1.0/src/rosetta/classifier/schema.py +121 -0
  19. rosetta_mcp_gateway-0.1.0/src/rosetta/config.py +111 -0
  20. rosetta_mcp_gateway-0.1.0/src/rosetta/locking/__init__.py +5 -0
  21. rosetta_mcp_gateway-0.1.0/src/rosetta/locking/entity_locker.py +70 -0
  22. rosetta_mcp_gateway-0.1.0/src/rosetta/proxy/__init__.py +5 -0
  23. rosetta_mcp_gateway-0.1.0/src/rosetta/proxy/gateway.py +230 -0
  24. rosetta_mcp_gateway-0.1.0/src/rosetta/proxy/http_app.py +61 -0
  25. rosetta_mcp_gateway-0.1.0/src/rosetta/proxy/locale.py +44 -0
  26. rosetta_mcp_gateway-0.1.0/src/rosetta/proxy/localize.py +47 -0
  27. rosetta_mcp_gateway-0.1.0/src/rosetta/proxy/otel.py +25 -0
  28. rosetta_mcp_gateway-0.1.0/src/rosetta/proxy/plan.py +137 -0
  29. rosetta_mcp_gateway-0.1.0/src/rosetta/proxy/stdio.py +32 -0
  30. rosetta_mcp_gateway-0.1.0/src/rosetta/proxy/upstream.py +92 -0
  31. rosetta_mcp_gateway-0.1.0/src/rosetta/security/__init__.py +5 -0
  32. rosetta_mcp_gateway-0.1.0/src/rosetta/security/bastion.py +35 -0
  33. rosetta_mcp_gateway-0.1.0/src/rosetta/translate/__init__.py +6 -0
  34. rosetta_mcp_gateway-0.1.0/src/rosetta/translate/base.py +25 -0
  35. rosetta_mcp_gateway-0.1.0/src/rosetta/translate/cache.py +32 -0
  36. rosetta_mcp_gateway-0.1.0/src/rosetta/translate/ctranslate2_engine.py +94 -0
  37. rosetta_mcp_gateway-0.1.0/src/rosetta/translate/deepl.py +46 -0
  38. rosetta_mcp_gateway-0.1.0/src/rosetta/translate/factory.py +101 -0
  39. rosetta_mcp_gateway-0.1.0/src/rosetta/translate/google.py +32 -0
  40. rosetta_mcp_gateway-0.1.0/src/rosetta/translate/google_cloud.py +42 -0
  41. rosetta_mcp_gateway-0.1.0/src/rosetta/translate/mymemory.py +55 -0
  42. rosetta_mcp_gateway-0.1.0/src/rosetta/translate/router.py +73 -0
  43. rosetta_mcp_gateway-0.1.0/src/rosetta/types.py +15 -0
  44. rosetta_mcp_gateway-0.1.0/src/rosetta_mcp_gateway.egg-info/PKG-INFO +653 -0
  45. rosetta_mcp_gateway-0.1.0/src/rosetta_mcp_gateway.egg-info/SOURCES.txt +54 -0
  46. rosetta_mcp_gateway-0.1.0/src/rosetta_mcp_gateway.egg-info/dependency_links.txt +1 -0
  47. rosetta_mcp_gateway-0.1.0/src/rosetta_mcp_gateway.egg-info/entry_points.txt +2 -0
  48. rosetta_mcp_gateway-0.1.0/src/rosetta_mcp_gateway.egg-info/requires.txt +15 -0
  49. rosetta_mcp_gateway-0.1.0/src/rosetta_mcp_gateway.egg-info/top_level.txt +1 -0
  50. rosetta_mcp_gateway-0.1.0/tests/test_bastion.py +38 -0
  51. rosetta_mcp_gateway-0.1.0/tests/test_catalog.py +32 -0
  52. rosetta_mcp_gateway-0.1.0/tests/test_classifier.py +73 -0
  53. rosetta_mcp_gateway-0.1.0/tests/test_gateway.py +264 -0
  54. rosetta_mcp_gateway-0.1.0/tests/test_languages.py +168 -0
  55. rosetta_mcp_gateway-0.1.0/tests/test_locker.py +22 -0
  56. rosetta_mcp_gateway-0.1.0/tests/test_router.py +68 -0
@@ -0,0 +1,28 @@
1
+ cff-version: 1.2.0
2
+ title: Rosetta MCP Gateway
3
+ message: >-
4
+ Citation is required. If you use this software, cite it with the metadata
5
+ in this file and keep the MIT copyright notice.
6
+ type: software
7
+ authors:
8
+ - family-names: Khan
9
+ given-names: Vaquar
10
+ identifiers:
11
+ - type: url
12
+ description: Source repository
13
+ value: https://github.com/vaquarkhan/rosetta-mcp
14
+ repository-code: "https://github.com/vaquarkhan/rosetta-mcp"
15
+ url: "https://pypi.org/project/rosetta-mcp-gateway/"
16
+ abstract: >-
17
+ Schema-aware multilingual translation gateway for the Model Context Protocol.
18
+ It normalizes free-text tool arguments into English and preserves keys, enums,
19
+ identifiers, and code.
20
+ keywords:
21
+ - model-context-protocol
22
+ - mcp
23
+ - translation
24
+ - multilingual
25
+ - gateway
26
+ license: MIT
27
+ version: 0.1.0
28
+ date-released: "2026-11-08"
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Vaquar Khan
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,2 @@
1
+ include LICENSE NOTICE CITATION.cff README.md gateway.yaml
2
+ recursive-include docs/images *.png
@@ -0,0 +1,15 @@
1
+ Rosetta MCP Gateway
2
+ Copyright (c) 2026 Vaquar Khan
3
+
4
+ This software is licensed under the MIT License. See the LICENSE file.
5
+ Every copy and substantial portion must keep the copyright notice and the
6
+ MIT permission notice.
7
+
8
+ Citation is required for any use. Cite the project with CITATION.cff:
9
+
10
+ Khan, Vaquar. (2026). Rosetta MCP Gateway (0.1.0).
11
+ https://github.com/vaquarkhan/rosetta-mcp
12
+
13
+ MCP-Bastion is not part of this package. If you turn on security.bastion, you
14
+ use https://github.com/vaquarkhan/MCP-Bastion under that project's own
15
+ license, including its citation requirement and its separate commercial terms.