embed-client 3.1.0.2__tar.gz → 3.1.0.3__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.
- {embed_client-3.1.0.2/embed_client.egg-info → embed_client-3.1.0.3}/PKG-INFO +2 -1
- embed_client-3.1.0.3/configs/http.json +86 -0
- embed_client-3.1.0.3/configs/http_token_roles.json +86 -0
- embed_client-3.1.0.3/configs/http_token_roles_token_roles.json +56 -0
- embed_client-3.1.0.2/configs/http_token_roles.json → embed_client-3.1.0.3/configs/http_token_token_roles.json +5 -5
- embed_client-3.1.0.3/configs/https.json +86 -0
- embed_client-3.1.0.3/configs/https_token_roles.json +86 -0
- embed_client-3.1.0.3/configs/https_token_roles_token_roles.json +56 -0
- embed_client-3.1.0.2/configs/https_token_roles.json → embed_client-3.1.0.3/configs/https_token_token_roles.json +6 -6
- embed_client-3.1.0.3/configs/mtls.json +86 -0
- embed_client-3.1.0.2/configs/mtls_token_roles.json → embed_client-3.1.0.3/configs/mtls_roles_token_roles.json +7 -7
- embed_client-3.1.0.3/configs/mtls_token_roles.json +86 -0
- embed_client-3.1.0.3/configs/roles.json +47 -0
- embed_client-3.1.0.2/configs/http.json → embed_client-3.1.0.3/configs/test_http_simple.json +4 -4
- embed_client-3.1.0.3/configs/test_http_token.json +56 -0
- embed_client-3.1.0.3/configs/test_http_token_roles.json +35 -0
- embed_client-3.1.0.3/configs/test_https_simple.json +46 -0
- embed_client-3.1.0.3/configs/test_https_token.json +58 -0
- embed_client-3.1.0.3/configs/test_https_token_roles.json +39 -0
- embed_client-3.1.0.3/configs/test_mtls_roles.json +55 -0
- embed_client-3.1.0.2/configs/mtls.json → embed_client-3.1.0.3/configs/test_mtls_simple.json +9 -6
- embed_client-3.1.0.3/embed_client/__main__.py +14 -0
- embed_client-3.1.0.3/embed_client/cli.py +277 -0
- embed_client-3.1.0.3/embed_client/demo_cli.py +82 -0
- embed_client-3.1.0.3/embed_client/demo_security_cli.py +202 -0
- embed_client-3.1.0.3/embed_client/security_cli.py +409 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3/embed_client.egg-info}/PKG-INFO +2 -1
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/embed_client.egg-info/SOURCES.txt +26 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/embed_client.egg-info/requires.txt +1 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/pyproject.toml +2 -1
- embed_client-3.1.0.3/tests/test_all_security_modes.py +614 -0
- embed_client-3.1.0.3/tests/test_cli.py +249 -0
- embed_client-3.1.0.3/tests/test_client_examples.py +372 -0
- embed_client-3.1.0.3/tests/test_comprehensive_server.py +432 -0
- embed_client-3.1.0.3/tests/test_https_server.py +208 -0
- embed_client-3.1.0.3/tests/test_security_cli.py +403 -0
- embed_client-3.1.0.3/tests/test_security_examples.py +378 -0
- embed_client-3.1.0.3/tests/test_server_runner.py +344 -0
- embed_client-3.1.0.2/configs/https.json +0 -38
- embed_client-3.1.0.2/configs/roles.json +0 -23
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/LICENSE +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/MANIFEST.in +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/README.md +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/configs/basic_auth.json +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/configs/http_8001_test.json +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/configs/http_correct.json +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/configs/http_simple.json +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/configs/http_test.json +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/configs/http_token.json +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/configs/http_token_correct.json +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/configs/https_8001_test.json +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/configs/https_api_test.json +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/configs/https_simple.json +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/configs/https_test.json +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/configs/https_token.json +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/configs/jwt.json +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/configs/mtls_8001_test.json +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/configs/mtls_correct.json +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/configs/mtls_roles.json +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/configs/mtls_test.json +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/configs/test_server_http.json +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/configs/test_server_https.json +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/configs/test_server_mtls.json +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/docs/api_format.md +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/docs/coverage_report.md +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/docs/error_500_analysis.md +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/docs/error_handling_complete.md +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/docs/error_handling_issue.md +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/embed_client/__init__.py +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/embed_client/async_client.py +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/embed_client/auth.py +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/embed_client/auth_examples.py +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/embed_client/client_factory.py +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/embed_client/client_factory_examples.py +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/embed_client/config.py +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/embed_client/config_examples.py +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/embed_client/example_async_usage.py +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/embed_client/example_async_usage_ru.py +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/embed_client/ssl_examples.py +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/embed_client/ssl_manager.py +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/embed_client.egg-info/dependency_links.txt +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/embed_client.egg-info/top_level.txt +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/examples/README.md +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/examples/configs/http_simple.json +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/examples/configs/https_token.json +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/examples/configs/mtls_roles.json +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/examples/security_examples.py +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/examples/security_examples_ru.py +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/setup.cfg +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/tests/test_async_client.py +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/tests/test_async_client_real.py +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/tests/test_async_client_stress.py +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/tests/test_async_client_stress_new.py +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/tests/test_async_client_stress_updated.py +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/tests/test_auth.py +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/tests/test_client_factory.py +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/tests/test_config.py +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/tests/test_example_async_usage.py +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/tests/test_example_async_usage_ru.py +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/tests/test_server.py +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/tests/test_ssl_manager.py +0 -0
- {embed_client-3.1.0.2 → embed_client-3.1.0.3}/tests/test_with_auth.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: embed-client
|
3
|
-
Version: 3.1.0.
|
3
|
+
Version: 3.1.0.3
|
4
4
|
Summary: Async client for Embedding Service API with comprehensive authentication, SSL/TLS, and mTLS support
|
5
5
|
Author-email: Vasiliy Zdanovskiy <vasilyvz@gmail.com>
|
6
6
|
License-Expression: MIT
|
@@ -29,6 +29,7 @@ Requires-Dist: aiohttp>=3.8.0
|
|
29
29
|
Requires-Dist: PyJWT>=2.0.0
|
30
30
|
Requires-Dist: cryptography>=3.0.0
|
31
31
|
Requires-Dist: pydantic>=2.0.0
|
32
|
+
Requires-Dist: mcp-security-framework>=1.2.3
|
32
33
|
Provides-Extra: test
|
33
34
|
Requires-Dist: pytest; extra == "test"
|
34
35
|
Requires-Dist: pytest-asyncio; extra == "test"
|
@@ -0,0 +1,86 @@
|
|
1
|
+
{
|
2
|
+
"uuid": "1bdb5914-002e-40c2-a556-a0cfbeb1909d",
|
3
|
+
"server": {
|
4
|
+
"host": "127.0.0.1",
|
5
|
+
"port": 20000,
|
6
|
+
"protocol": "http",
|
7
|
+
"debug": false,
|
8
|
+
"log_level": "INFO"
|
9
|
+
},
|
10
|
+
"logging": {
|
11
|
+
"level": "INFO",
|
12
|
+
"file": null,
|
13
|
+
"log_dir": "./logs",
|
14
|
+
"log_file": "mcp_proxy_adapter.log",
|
15
|
+
"error_log_file": "mcp_proxy_adapter_error.log",
|
16
|
+
"access_log_file": "mcp_proxy_adapter_access.log",
|
17
|
+
"max_file_size": "10MB",
|
18
|
+
"backup_count": 5,
|
19
|
+
"format": "%(asctime)s - %(name)s - %(levelname)s - %(message)s",
|
20
|
+
"date_format": "%Y-%m-%d %H:%M:%S",
|
21
|
+
"console_output": true,
|
22
|
+
"file_output": true
|
23
|
+
},
|
24
|
+
"commands": {
|
25
|
+
"auto_discovery": true,
|
26
|
+
"commands_directory": "./commands",
|
27
|
+
"catalog_directory": "./catalog",
|
28
|
+
"plugin_servers": [],
|
29
|
+
"auto_install_dependencies": true,
|
30
|
+
"enabled_commands": [
|
31
|
+
"health",
|
32
|
+
"echo",
|
33
|
+
"list",
|
34
|
+
"help"
|
35
|
+
],
|
36
|
+
"disabled_commands": [],
|
37
|
+
"custom_commands_path": "./commands"
|
38
|
+
},
|
39
|
+
"transport": {
|
40
|
+
"type": "http",
|
41
|
+
"port": null,
|
42
|
+
"verify_client": false,
|
43
|
+
"chk_hostname": false
|
44
|
+
},
|
45
|
+
"proxy_registration": {
|
46
|
+
"enabled": false,
|
47
|
+
"proxy_url": "http://localhost:3004",
|
48
|
+
"server_id": "mcp_proxy_adapter",
|
49
|
+
"server_name": "MCP Proxy Adapter",
|
50
|
+
"description": "JSON-RPC API for interacting with MCP Proxy",
|
51
|
+
"version": "6.2.33",
|
52
|
+
"registration_timeout": 30,
|
53
|
+
"retry_attempts": 3,
|
54
|
+
"retry_delay": 5,
|
55
|
+
"auto_register_on_startup": true,
|
56
|
+
"auto_unregister_on_shutdown": true
|
57
|
+
},
|
58
|
+
"debug": {
|
59
|
+
"enabled": false,
|
60
|
+
"level": "WARNING"
|
61
|
+
},
|
62
|
+
"ssl": {
|
63
|
+
"enabled": false,
|
64
|
+
"cert_file": null,
|
65
|
+
"key_file": null,
|
66
|
+
"ca_cert": null
|
67
|
+
},
|
68
|
+
"security": {
|
69
|
+
"enabled": false,
|
70
|
+
"tokens": {},
|
71
|
+
"roles": {},
|
72
|
+
"roles_file": null
|
73
|
+
},
|
74
|
+
"roles": {
|
75
|
+
"enabled": false,
|
76
|
+
"config_file": null,
|
77
|
+
"default_policy": {
|
78
|
+
"deny_by_default": false,
|
79
|
+
"require_role_match": false,
|
80
|
+
"case_sensitive": false,
|
81
|
+
"allow_wildcard": false
|
82
|
+
},
|
83
|
+
"auto_load": false,
|
84
|
+
"validation_enabled": false
|
85
|
+
}
|
86
|
+
}
|
@@ -0,0 +1,86 @@
|
|
1
|
+
{
|
2
|
+
"uuid": "74b8129d-9ec4-4dd7-a507-2d6ae563c263",
|
3
|
+
"server": {
|
4
|
+
"host": "127.0.0.1",
|
5
|
+
"port": 20002,
|
6
|
+
"protocol": "http",
|
7
|
+
"debug": false,
|
8
|
+
"log_level": "INFO"
|
9
|
+
},
|
10
|
+
"logging": {
|
11
|
+
"level": "INFO",
|
12
|
+
"file": null,
|
13
|
+
"log_dir": "./logs",
|
14
|
+
"log_file": "mcp_proxy_adapter.log",
|
15
|
+
"error_log_file": "mcp_proxy_adapter_error.log",
|
16
|
+
"access_log_file": "mcp_proxy_adapter_access.log",
|
17
|
+
"max_file_size": "10MB",
|
18
|
+
"backup_count": 5,
|
19
|
+
"format": "%(asctime)s - %(name)s - %(levelname)s - %(message)s",
|
20
|
+
"date_format": "%Y-%m-%d %H:%M:%S",
|
21
|
+
"console_output": true,
|
22
|
+
"file_output": true
|
23
|
+
},
|
24
|
+
"commands": {
|
25
|
+
"auto_discovery": true,
|
26
|
+
"commands_directory": "./commands",
|
27
|
+
"catalog_directory": "./catalog",
|
28
|
+
"plugin_servers": [],
|
29
|
+
"auto_install_dependencies": true,
|
30
|
+
"enabled_commands": [
|
31
|
+
"health",
|
32
|
+
"echo",
|
33
|
+
"list",
|
34
|
+
"help"
|
35
|
+
],
|
36
|
+
"disabled_commands": [],
|
37
|
+
"custom_commands_path": "./commands"
|
38
|
+
},
|
39
|
+
"transport": {
|
40
|
+
"type": "http",
|
41
|
+
"port": null,
|
42
|
+
"verify_client": false,
|
43
|
+
"chk_hostname": false
|
44
|
+
},
|
45
|
+
"proxy_registration": {
|
46
|
+
"enabled": false,
|
47
|
+
"proxy_url": "http://localhost:3004",
|
48
|
+
"server_id": "mcp_proxy_adapter",
|
49
|
+
"server_name": "MCP Proxy Adapter",
|
50
|
+
"description": "JSON-RPC API for interacting with MCP Proxy",
|
51
|
+
"version": "6.2.33",
|
52
|
+
"registration_timeout": 30,
|
53
|
+
"retry_attempts": 3,
|
54
|
+
"retry_delay": 5,
|
55
|
+
"auto_register_on_startup": true,
|
56
|
+
"auto_unregister_on_shutdown": true
|
57
|
+
},
|
58
|
+
"debug": {
|
59
|
+
"enabled": false,
|
60
|
+
"level": "WARNING"
|
61
|
+
},
|
62
|
+
"ssl": {
|
63
|
+
"enabled": false,
|
64
|
+
"cert_file": null,
|
65
|
+
"key_file": null,
|
66
|
+
"ca_cert": null
|
67
|
+
},
|
68
|
+
"security": {
|
69
|
+
"enabled": false,
|
70
|
+
"tokens": {},
|
71
|
+
"roles": {},
|
72
|
+
"roles_file": null
|
73
|
+
},
|
74
|
+
"roles": {
|
75
|
+
"enabled": false,
|
76
|
+
"config_file": null,
|
77
|
+
"default_policy": {
|
78
|
+
"deny_by_default": false,
|
79
|
+
"require_role_match": false,
|
80
|
+
"case_sensitive": false,
|
81
|
+
"allow_wildcard": false
|
82
|
+
},
|
83
|
+
"auto_load": false,
|
84
|
+
"validation_enabled": false
|
85
|
+
}
|
86
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
{
|
2
|
+
"uuid": "test-http_token_roles-10003",
|
3
|
+
"server": {
|
4
|
+
"host": "127.0.0.1",
|
5
|
+
"port": 10003,
|
6
|
+
"protocol": "http_token_roles",
|
7
|
+
"debug": false,
|
8
|
+
"log_level": "INFO"
|
9
|
+
},
|
10
|
+
"logging": {
|
11
|
+
"level": "INFO",
|
12
|
+
"file": null,
|
13
|
+
"log_dir": "./logs",
|
14
|
+
"log_file": "test_http_token_roles_10003.log",
|
15
|
+
"max_size": 10,
|
16
|
+
"backup_count": 5,
|
17
|
+
"console_output": true,
|
18
|
+
"json_format": false
|
19
|
+
},
|
20
|
+
"security": {
|
21
|
+
"enabled": true,
|
22
|
+
"tokens": {
|
23
|
+
"admin": "admin-secret-key",
|
24
|
+
"user": "user-secret-key",
|
25
|
+
"readonly": "readonly-secret-key"
|
26
|
+
},
|
27
|
+
"roles": {
|
28
|
+
"admin": [
|
29
|
+
"read",
|
30
|
+
"write",
|
31
|
+
"delete",
|
32
|
+
"admin"
|
33
|
+
],
|
34
|
+
"user": [
|
35
|
+
"read",
|
36
|
+
"write"
|
37
|
+
],
|
38
|
+
"readonly": [
|
39
|
+
"read"
|
40
|
+
]
|
41
|
+
},
|
42
|
+
"roles_file": "configs/roles.json"
|
43
|
+
},
|
44
|
+
"debug": {
|
45
|
+
"enabled": false,
|
46
|
+
"log_level": "DEBUG",
|
47
|
+
"trace_requests": false,
|
48
|
+
"trace_responses": false
|
49
|
+
},
|
50
|
+
"transport": {
|
51
|
+
"type": "http",
|
52
|
+
"port": null,
|
53
|
+
"verify_client": false,
|
54
|
+
"chk_hostname": false
|
55
|
+
}
|
56
|
+
}
|
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
|
-
"uuid": "
|
2
|
+
"uuid": "test-http_token-10002",
|
3
3
|
"server": {
|
4
|
-
"host": "
|
5
|
-
"port":
|
6
|
-
"protocol": "
|
4
|
+
"host": "127.0.0.1",
|
5
|
+
"port": 10002,
|
6
|
+
"protocol": "http_token",
|
7
7
|
"debug": false,
|
8
8
|
"log_level": "INFO"
|
9
9
|
},
|
@@ -11,7 +11,7 @@
|
|
11
11
|
"level": "INFO",
|
12
12
|
"file": null,
|
13
13
|
"log_dir": "./logs",
|
14
|
-
"log_file": "
|
14
|
+
"log_file": "test_http_token_10002.log",
|
15
15
|
"max_size": 10,
|
16
16
|
"backup_count": 5,
|
17
17
|
"console_output": true,
|
@@ -0,0 +1,86 @@
|
|
1
|
+
{
|
2
|
+
"uuid": "4623d702-9781-4177-9895-0a1b025879b7",
|
3
|
+
"server": {
|
4
|
+
"host": "127.0.0.1",
|
5
|
+
"port": 20003,
|
6
|
+
"protocol": "http",
|
7
|
+
"debug": false,
|
8
|
+
"log_level": "INFO"
|
9
|
+
},
|
10
|
+
"logging": {
|
11
|
+
"level": "INFO",
|
12
|
+
"file": null,
|
13
|
+
"log_dir": "./logs",
|
14
|
+
"log_file": "mcp_proxy_adapter.log",
|
15
|
+
"error_log_file": "mcp_proxy_adapter_error.log",
|
16
|
+
"access_log_file": "mcp_proxy_adapter_access.log",
|
17
|
+
"max_file_size": "10MB",
|
18
|
+
"backup_count": 5,
|
19
|
+
"format": "%(asctime)s - %(name)s - %(levelname)s - %(message)s",
|
20
|
+
"date_format": "%Y-%m-%d %H:%M:%S",
|
21
|
+
"console_output": true,
|
22
|
+
"file_output": true
|
23
|
+
},
|
24
|
+
"commands": {
|
25
|
+
"auto_discovery": true,
|
26
|
+
"commands_directory": "./commands",
|
27
|
+
"catalog_directory": "./catalog",
|
28
|
+
"plugin_servers": [],
|
29
|
+
"auto_install_dependencies": true,
|
30
|
+
"enabled_commands": [
|
31
|
+
"health",
|
32
|
+
"echo",
|
33
|
+
"list",
|
34
|
+
"help"
|
35
|
+
],
|
36
|
+
"disabled_commands": [],
|
37
|
+
"custom_commands_path": "./commands"
|
38
|
+
},
|
39
|
+
"transport": {
|
40
|
+
"type": "http",
|
41
|
+
"port": null,
|
42
|
+
"verify_client": false,
|
43
|
+
"chk_hostname": false
|
44
|
+
},
|
45
|
+
"proxy_registration": {
|
46
|
+
"enabled": false,
|
47
|
+
"proxy_url": "http://localhost:3004",
|
48
|
+
"server_id": "mcp_proxy_adapter",
|
49
|
+
"server_name": "MCP Proxy Adapter",
|
50
|
+
"description": "JSON-RPC API for interacting with MCP Proxy",
|
51
|
+
"version": "6.2.33",
|
52
|
+
"registration_timeout": 30,
|
53
|
+
"retry_attempts": 3,
|
54
|
+
"retry_delay": 5,
|
55
|
+
"auto_register_on_startup": true,
|
56
|
+
"auto_unregister_on_shutdown": true
|
57
|
+
},
|
58
|
+
"debug": {
|
59
|
+
"enabled": false,
|
60
|
+
"level": "WARNING"
|
61
|
+
},
|
62
|
+
"ssl": {
|
63
|
+
"enabled": false,
|
64
|
+
"cert_file": null,
|
65
|
+
"key_file": null,
|
66
|
+
"ca_cert": null
|
67
|
+
},
|
68
|
+
"security": {
|
69
|
+
"enabled": false,
|
70
|
+
"tokens": {},
|
71
|
+
"roles": {},
|
72
|
+
"roles_file": null
|
73
|
+
},
|
74
|
+
"roles": {
|
75
|
+
"enabled": false,
|
76
|
+
"config_file": null,
|
77
|
+
"default_policy": {
|
78
|
+
"deny_by_default": false,
|
79
|
+
"require_role_match": false,
|
80
|
+
"case_sensitive": false,
|
81
|
+
"allow_wildcard": false
|
82
|
+
},
|
83
|
+
"auto_load": false,
|
84
|
+
"validation_enabled": false
|
85
|
+
}
|
86
|
+
}
|
@@ -0,0 +1,86 @@
|
|
1
|
+
{
|
2
|
+
"uuid": "40b92de5-5ca9-4f84-ba58-9f6ab3895fae",
|
3
|
+
"server": {
|
4
|
+
"host": "127.0.0.1",
|
5
|
+
"port": 20005,
|
6
|
+
"protocol": "http",
|
7
|
+
"debug": false,
|
8
|
+
"log_level": "INFO"
|
9
|
+
},
|
10
|
+
"logging": {
|
11
|
+
"level": "INFO",
|
12
|
+
"file": null,
|
13
|
+
"log_dir": "./logs",
|
14
|
+
"log_file": "mcp_proxy_adapter.log",
|
15
|
+
"error_log_file": "mcp_proxy_adapter_error.log",
|
16
|
+
"access_log_file": "mcp_proxy_adapter_access.log",
|
17
|
+
"max_file_size": "10MB",
|
18
|
+
"backup_count": 5,
|
19
|
+
"format": "%(asctime)s - %(name)s - %(levelname)s - %(message)s",
|
20
|
+
"date_format": "%Y-%m-%d %H:%M:%S",
|
21
|
+
"console_output": true,
|
22
|
+
"file_output": true
|
23
|
+
},
|
24
|
+
"commands": {
|
25
|
+
"auto_discovery": true,
|
26
|
+
"commands_directory": "./commands",
|
27
|
+
"catalog_directory": "./catalog",
|
28
|
+
"plugin_servers": [],
|
29
|
+
"auto_install_dependencies": true,
|
30
|
+
"enabled_commands": [
|
31
|
+
"health",
|
32
|
+
"echo",
|
33
|
+
"list",
|
34
|
+
"help"
|
35
|
+
],
|
36
|
+
"disabled_commands": [],
|
37
|
+
"custom_commands_path": "./commands"
|
38
|
+
},
|
39
|
+
"transport": {
|
40
|
+
"type": "http",
|
41
|
+
"port": null,
|
42
|
+
"verify_client": false,
|
43
|
+
"chk_hostname": false
|
44
|
+
},
|
45
|
+
"proxy_registration": {
|
46
|
+
"enabled": false,
|
47
|
+
"proxy_url": "http://localhost:3004",
|
48
|
+
"server_id": "mcp_proxy_adapter",
|
49
|
+
"server_name": "MCP Proxy Adapter",
|
50
|
+
"description": "JSON-RPC API for interacting with MCP Proxy",
|
51
|
+
"version": "6.2.33",
|
52
|
+
"registration_timeout": 30,
|
53
|
+
"retry_attempts": 3,
|
54
|
+
"retry_delay": 5,
|
55
|
+
"auto_register_on_startup": true,
|
56
|
+
"auto_unregister_on_shutdown": true
|
57
|
+
},
|
58
|
+
"debug": {
|
59
|
+
"enabled": false,
|
60
|
+
"level": "WARNING"
|
61
|
+
},
|
62
|
+
"ssl": {
|
63
|
+
"enabled": false,
|
64
|
+
"cert_file": null,
|
65
|
+
"key_file": null,
|
66
|
+
"ca_cert": null
|
67
|
+
},
|
68
|
+
"security": {
|
69
|
+
"enabled": false,
|
70
|
+
"tokens": {},
|
71
|
+
"roles": {},
|
72
|
+
"roles_file": null
|
73
|
+
},
|
74
|
+
"roles": {
|
75
|
+
"enabled": false,
|
76
|
+
"config_file": null,
|
77
|
+
"default_policy": {
|
78
|
+
"deny_by_default": false,
|
79
|
+
"require_role_match": false,
|
80
|
+
"case_sensitive": false,
|
81
|
+
"allow_wildcard": false
|
82
|
+
},
|
83
|
+
"auto_load": false,
|
84
|
+
"validation_enabled": false
|
85
|
+
}
|
86
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
{
|
2
|
+
"uuid": "test-https_token_roles-10013",
|
3
|
+
"server": {
|
4
|
+
"host": "127.0.0.1",
|
5
|
+
"port": 10013,
|
6
|
+
"protocol": "https_token_roles",
|
7
|
+
"debug": false,
|
8
|
+
"log_level": "INFO"
|
9
|
+
},
|
10
|
+
"logging": {
|
11
|
+
"level": "INFO",
|
12
|
+
"file": null,
|
13
|
+
"log_dir": "./logs",
|
14
|
+
"log_file": "test_https_token_roles_10013.log",
|
15
|
+
"max_size": 10,
|
16
|
+
"backup_count": 5,
|
17
|
+
"console_output": true,
|
18
|
+
"json_format": false
|
19
|
+
},
|
20
|
+
"security": {
|
21
|
+
"enabled": true,
|
22
|
+
"tokens": {
|
23
|
+
"admin": "admin-secret-key",
|
24
|
+
"user": "user-secret-key",
|
25
|
+
"readonly": "readonly-secret-key"
|
26
|
+
},
|
27
|
+
"roles": {
|
28
|
+
"admin": [
|
29
|
+
"read",
|
30
|
+
"write",
|
31
|
+
"delete",
|
32
|
+
"admin"
|
33
|
+
],
|
34
|
+
"user": [
|
35
|
+
"read",
|
36
|
+
"write"
|
37
|
+
],
|
38
|
+
"readonly": [
|
39
|
+
"read"
|
40
|
+
]
|
41
|
+
},
|
42
|
+
"roles_file": "configs/roles.json"
|
43
|
+
},
|
44
|
+
"debug": {
|
45
|
+
"enabled": false,
|
46
|
+
"log_level": "DEBUG",
|
47
|
+
"trace_requests": false,
|
48
|
+
"trace_responses": false
|
49
|
+
},
|
50
|
+
"transport": {
|
51
|
+
"type": "http",
|
52
|
+
"port": null,
|
53
|
+
"verify_client": false,
|
54
|
+
"chk_hostname": false
|
55
|
+
}
|
56
|
+
}
|
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
|
-
"uuid": "
|
2
|
+
"uuid": "test-https_token-10012",
|
3
3
|
"server": {
|
4
|
-
"host": "
|
5
|
-
"port":
|
6
|
-
"protocol": "
|
4
|
+
"host": "127.0.0.1",
|
5
|
+
"port": 10012,
|
6
|
+
"protocol": "https_token",
|
7
7
|
"debug": false,
|
8
8
|
"log_level": "INFO"
|
9
9
|
},
|
@@ -11,7 +11,7 @@
|
|
11
11
|
"level": "INFO",
|
12
12
|
"file": null,
|
13
13
|
"log_dir": "./logs",
|
14
|
-
"log_file": "
|
14
|
+
"log_file": "test_https_token_10012.log",
|
15
15
|
"max_size": 10,
|
16
16
|
"backup_count": 5,
|
17
17
|
"console_output": true,
|
@@ -51,6 +51,6 @@
|
|
51
51
|
"type": "http",
|
52
52
|
"port": null,
|
53
53
|
"verify_client": false,
|
54
|
-
"chk_hostname":
|
54
|
+
"chk_hostname": false
|
55
55
|
}
|
56
56
|
}
|
@@ -0,0 +1,86 @@
|
|
1
|
+
{
|
2
|
+
"uuid": "3449fb4f-5eae-4957-a8ee-83c3a70abe59",
|
3
|
+
"server": {
|
4
|
+
"host": "127.0.0.1",
|
5
|
+
"port": 20006,
|
6
|
+
"protocol": "http",
|
7
|
+
"debug": false,
|
8
|
+
"log_level": "INFO"
|
9
|
+
},
|
10
|
+
"logging": {
|
11
|
+
"level": "INFO",
|
12
|
+
"file": null,
|
13
|
+
"log_dir": "./logs",
|
14
|
+
"log_file": "mcp_proxy_adapter.log",
|
15
|
+
"error_log_file": "mcp_proxy_adapter_error.log",
|
16
|
+
"access_log_file": "mcp_proxy_adapter_access.log",
|
17
|
+
"max_file_size": "10MB",
|
18
|
+
"backup_count": 5,
|
19
|
+
"format": "%(asctime)s - %(name)s - %(levelname)s - %(message)s",
|
20
|
+
"date_format": "%Y-%m-%d %H:%M:%S",
|
21
|
+
"console_output": true,
|
22
|
+
"file_output": true
|
23
|
+
},
|
24
|
+
"commands": {
|
25
|
+
"auto_discovery": true,
|
26
|
+
"commands_directory": "./commands",
|
27
|
+
"catalog_directory": "./catalog",
|
28
|
+
"plugin_servers": [],
|
29
|
+
"auto_install_dependencies": true,
|
30
|
+
"enabled_commands": [
|
31
|
+
"health",
|
32
|
+
"echo",
|
33
|
+
"list",
|
34
|
+
"help"
|
35
|
+
],
|
36
|
+
"disabled_commands": [],
|
37
|
+
"custom_commands_path": "./commands"
|
38
|
+
},
|
39
|
+
"transport": {
|
40
|
+
"type": "http",
|
41
|
+
"port": null,
|
42
|
+
"verify_client": false,
|
43
|
+
"chk_hostname": false
|
44
|
+
},
|
45
|
+
"proxy_registration": {
|
46
|
+
"enabled": false,
|
47
|
+
"proxy_url": "http://localhost:3004",
|
48
|
+
"server_id": "mcp_proxy_adapter",
|
49
|
+
"server_name": "MCP Proxy Adapter",
|
50
|
+
"description": "JSON-RPC API for interacting with MCP Proxy",
|
51
|
+
"version": "6.2.33",
|
52
|
+
"registration_timeout": 30,
|
53
|
+
"retry_attempts": 3,
|
54
|
+
"retry_delay": 5,
|
55
|
+
"auto_register_on_startup": true,
|
56
|
+
"auto_unregister_on_shutdown": true
|
57
|
+
},
|
58
|
+
"debug": {
|
59
|
+
"enabled": false,
|
60
|
+
"level": "WARNING"
|
61
|
+
},
|
62
|
+
"ssl": {
|
63
|
+
"enabled": false,
|
64
|
+
"cert_file": null,
|
65
|
+
"key_file": null,
|
66
|
+
"ca_cert": null
|
67
|
+
},
|
68
|
+
"security": {
|
69
|
+
"enabled": false,
|
70
|
+
"tokens": {},
|
71
|
+
"roles": {},
|
72
|
+
"roles_file": null
|
73
|
+
},
|
74
|
+
"roles": {
|
75
|
+
"enabled": false,
|
76
|
+
"config_file": null,
|
77
|
+
"default_policy": {
|
78
|
+
"deny_by_default": false,
|
79
|
+
"require_role_match": false,
|
80
|
+
"case_sensitive": false,
|
81
|
+
"allow_wildcard": false
|
82
|
+
},
|
83
|
+
"auto_load": false,
|
84
|
+
"validation_enabled": false
|
85
|
+
}
|
86
|
+
}
|
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
|
-
"uuid": "
|
2
|
+
"uuid": "test-mtls_roles-10022",
|
3
3
|
"server": {
|
4
|
-
"host": "
|
5
|
-
"port":
|
6
|
-
"protocol": "
|
4
|
+
"host": "127.0.0.1",
|
5
|
+
"port": 10022,
|
6
|
+
"protocol": "mtls_roles",
|
7
7
|
"debug": false,
|
8
8
|
"log_level": "INFO"
|
9
9
|
},
|
@@ -11,7 +11,7 @@
|
|
11
11
|
"level": "INFO",
|
12
12
|
"file": null,
|
13
13
|
"log_dir": "./logs",
|
14
|
-
"log_file": "
|
14
|
+
"log_file": "test_mtls_roles_10022.log",
|
15
15
|
"max_size": 10,
|
16
16
|
"backup_count": 5,
|
17
17
|
"console_output": true,
|
@@ -50,7 +50,7 @@
|
|
50
50
|
"transport": {
|
51
51
|
"type": "http",
|
52
52
|
"port": null,
|
53
|
-
"verify_client":
|
54
|
-
"chk_hostname":
|
53
|
+
"verify_client": false,
|
54
|
+
"chk_hostname": false
|
55
55
|
}
|
56
56
|
}
|