awslabs.frontend-mcp-server 1.0.0__tar.gz → 1.0.2__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.
- {awslabs_frontend_mcp_server-1.0.0 → awslabs_frontend_mcp_server-1.0.2}/PKG-INFO +2 -2
- {awslabs_frontend_mcp_server-1.0.0 → awslabs_frontend_mcp_server-1.0.2}/README.md +1 -1
- awslabs_frontend_mcp_server-1.0.2/awslabs/__init__.py +16 -0
- awslabs_frontend_mcp_server-1.0.2/awslabs/frontend_mcp_server/__init__.py +17 -0
- {awslabs_frontend_mcp_server-1.0.0 → awslabs_frontend_mcp_server-1.0.2}/awslabs/frontend_mcp_server/server.py +11 -8
- awslabs_frontend_mcp_server-1.0.2/awslabs/frontend_mcp_server/utils/__init__.py +15 -0
- {awslabs_frontend_mcp_server-1.0.0 → awslabs_frontend_mcp_server-1.0.2}/awslabs/frontend_mcp_server/utils/file_utils.py +14 -0
- {awslabs_frontend_mcp_server-1.0.0 → awslabs_frontend_mcp_server-1.0.2}/pyproject.toml +1 -1
- {awslabs_frontend_mcp_server-1.0.0 → awslabs_frontend_mcp_server-1.0.2}/tests/test_file_utils.py +9 -6
- {awslabs_frontend_mcp_server-1.0.0 → awslabs_frontend_mcp_server-1.0.2}/tests/test_init.py +9 -6
- {awslabs_frontend_mcp_server-1.0.0 → awslabs_frontend_mcp_server-1.0.2}/tests/test_main.py +9 -6
- {awslabs_frontend_mcp_server-1.0.0 → awslabs_frontend_mcp_server-1.0.2}/tests/test_server.py +9 -6
- awslabs_frontend_mcp_server-1.0.0/awslabs/__init__.py +0 -13
- awslabs_frontend_mcp_server-1.0.0/awslabs/frontend_mcp_server/__init__.py +0 -14
- awslabs_frontend_mcp_server-1.0.0/awslabs/frontend_mcp_server/utils/__init__.py +0 -1
- {awslabs_frontend_mcp_server-1.0.0 → awslabs_frontend_mcp_server-1.0.2}/.gitignore +0 -0
- {awslabs_frontend_mcp_server-1.0.0 → awslabs_frontend_mcp_server-1.0.2}/.pre-commit-config.yaml +0 -0
- {awslabs_frontend_mcp_server-1.0.0 → awslabs_frontend_mcp_server-1.0.2}/.python-version +0 -0
- {awslabs_frontend_mcp_server-1.0.0 → awslabs_frontend_mcp_server-1.0.2}/CHANGELOG.md +0 -0
- {awslabs_frontend_mcp_server-1.0.0 → awslabs_frontend_mcp_server-1.0.2}/LICENSE +0 -0
- {awslabs_frontend_mcp_server-1.0.0 → awslabs_frontend_mcp_server-1.0.2}/NOTICE +0 -0
- {awslabs_frontend_mcp_server-1.0.0 → awslabs_frontend_mcp_server-1.0.2}/awslabs/frontend_mcp_server/static/react/essential-knowledge.md +0 -0
- {awslabs_frontend_mcp_server-1.0.0 → awslabs_frontend_mcp_server-1.0.2}/awslabs/frontend_mcp_server/static/react/troubleshooting.md +0 -0
- {awslabs_frontend_mcp_server-1.0.0 → awslabs_frontend_mcp_server-1.0.2}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: awslabs.frontend-mcp-server
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: An AWS Labs Model Context Protocol (MCP) server for frontend
|
|
5
5
|
Project-URL: homepage, https://awslabs.github.io/mcp/
|
|
6
6
|
Project-URL: docs, https://awslabs.github.io/mcp/servers/frontend-mcp-server/
|
|
@@ -53,7 +53,7 @@ This MCP Server provides comprehensive documentation on modern React application
|
|
|
53
53
|
|
|
54
54
|
## Installation
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
Configure the MCP server in your MCP client configuration (e.g., for Amazon Q Developer CLI, edit `~/.aws/amazonq/mcp.json`):
|
|
57
57
|
|
|
58
58
|
```json
|
|
59
59
|
{
|
|
@@ -25,7 +25,7 @@ This MCP Server provides comprehensive documentation on modern React application
|
|
|
25
25
|
|
|
26
26
|
## Installation
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
Configure the MCP server in your MCP client configuration (e.g., for Amazon Q Developer CLI, edit `~/.aws/amazonq/mcp.json`):
|
|
29
29
|
|
|
30
30
|
```json
|
|
31
31
|
{
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
# This file is part of the awslabs namespace.
|
|
16
|
+
# It is intentionally minimal to support PEP 420 namespace packages.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
"""awslabs.frontend-mcp-server"""
|
|
16
|
+
|
|
17
|
+
__version__ = '0.0.0'
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
2
|
#
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License")
|
|
4
|
-
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
5
6
|
#
|
|
6
|
-
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
7
8
|
#
|
|
8
|
-
#
|
|
9
|
-
#
|
|
10
|
-
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
11
14
|
|
|
12
15
|
"""awslabs frontend MCP Server implementation."""
|
|
13
16
|
|
|
@@ -35,7 +38,7 @@ async def get_react_docs_by_topic(
|
|
|
35
38
|
'troubleshooting',
|
|
36
39
|
] = Field(
|
|
37
40
|
...,
|
|
38
|
-
description='The topic of React documentation to retrieve. Topics include: essential-knowledge, troubleshooting
|
|
41
|
+
description='The topic of React documentation to retrieve. Topics include: essential-knowledge, troubleshooting.',
|
|
39
42
|
),
|
|
40
43
|
) -> str:
|
|
41
44
|
"""Get specific AWS web application UI setup documentation by topic.
|
|
@@ -55,7 +58,7 @@ async def get_react_docs_by_topic(
|
|
|
55
58
|
return load_markdown_file('troubleshooting.md')
|
|
56
59
|
case _:
|
|
57
60
|
raise ValueError(
|
|
58
|
-
f'Invalid topic: {topic}. Must be one of: essential-knowledge,
|
|
61
|
+
f'Invalid topic: {topic}. Must be one of: essential-knowledge, troubleshooting'
|
|
59
62
|
)
|
|
60
63
|
|
|
61
64
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
"""Utility functions for the frontend MCP server."""
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
1
15
|
"""File utility functions for the frontend MCP server."""
|
|
2
16
|
|
|
3
17
|
from pathlib import Path
|
{awslabs_frontend_mcp_server-1.0.0 → awslabs_frontend_mcp_server-1.0.2}/tests/test_file_utils.py
RENAMED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
2
|
#
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License")
|
|
4
|
-
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
5
6
|
#
|
|
6
|
-
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
7
8
|
#
|
|
8
|
-
#
|
|
9
|
-
#
|
|
10
|
-
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
11
14
|
"""Tests for file_utils module."""
|
|
12
15
|
|
|
13
16
|
from awslabs.frontend_mcp_server.utils.file_utils import load_markdown_file
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
2
|
#
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License")
|
|
4
|
-
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
5
6
|
#
|
|
6
|
-
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
7
8
|
#
|
|
8
|
-
#
|
|
9
|
-
#
|
|
10
|
-
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
11
14
|
"""Tests for the awslabs.frontend-mcp-server package."""
|
|
12
15
|
|
|
13
16
|
import importlib
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
2
|
#
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License")
|
|
4
|
-
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
5
6
|
#
|
|
6
|
-
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
7
8
|
#
|
|
8
|
-
#
|
|
9
|
-
#
|
|
10
|
-
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
11
14
|
"""Tests for the main function in server.py."""
|
|
12
15
|
|
|
13
16
|
from awslabs.frontend_mcp_server.server import main
|
{awslabs_frontend_mcp_server-1.0.0 → awslabs_frontend_mcp_server-1.0.2}/tests/test_server.py
RENAMED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
2
|
#
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License")
|
|
4
|
-
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
5
6
|
#
|
|
6
|
-
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
7
8
|
#
|
|
8
|
-
#
|
|
9
|
-
#
|
|
10
|
-
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
11
14
|
"""Tests for the frontend MCP Server."""
|
|
12
15
|
|
|
13
16
|
import pytest
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
-
#
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
|
|
4
|
-
# with the License. A copy of the License is located at
|
|
5
|
-
#
|
|
6
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
#
|
|
8
|
-
# or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
|
|
9
|
-
# OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
|
|
10
|
-
# and limitations under the License.
|
|
11
|
-
|
|
12
|
-
# This file is part of the awslabs namespace.
|
|
13
|
-
# It is intentionally minimal to support PEP 420 namespace packages.
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
-
#
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
|
|
4
|
-
# with the License. A copy of the License is located at
|
|
5
|
-
#
|
|
6
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
#
|
|
8
|
-
# or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
|
|
9
|
-
# OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
|
|
10
|
-
# and limitations under the License.
|
|
11
|
-
|
|
12
|
-
"""awslabs.frontend-mcp-server"""
|
|
13
|
-
|
|
14
|
-
__version__ = '0.0.0'
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"""Utility functions for the frontend MCP server."""
|
|
File without changes
|
{awslabs_frontend_mcp_server-1.0.0 → awslabs_frontend_mcp_server-1.0.2}/.pre-commit-config.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|