awslabs.frontend-mcp-server 1.0.0__py3-none-any.whl → 1.0.2__py3-none-any.whl

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/__init__.py CHANGED
@@ -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"). You may not use this file except in compliance
4
- # with the License. A copy of the License is located at
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
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # http://www.apache.org/licenses/LICENSE-2.0
7
8
  #
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.
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
  # This file is part of the awslabs namespace.
13
16
  # It is intentionally minimal to support PEP 420 namespace packages.
@@ -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"). You may not use this file except in compliance
4
- # with the License. A copy of the License is located at
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
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # http://www.apache.org/licenses/LICENSE-2.0
7
8
  #
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.
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"""
13
16
 
@@ -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"). You may not use this file except in compliance
4
- # with the License. A copy of the License is located at
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
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # http://www.apache.org/licenses/LICENSE-2.0
7
8
  #
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.
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, basic-ui, authentication, routing, customizing, creating-components.',
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, basic-ui, authentication, routing, customizing, creating-components'
61
+ f'Invalid topic: {topic}. Must be one of: essential-knowledge, troubleshooting'
59
62
  )
60
63
 
61
64
 
@@ -1 +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
+
1
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: awslabs.frontend-mcp-server
3
- Version: 1.0.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
- Here are some ways you can work with MCP across AWS, and we'll be adding support to more products including Amazon Q Developer CLI soon: (e.g. for Amazon Q Developer CLI MCP, `~/.aws/amazonq/mcp.json`):
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
  {
@@ -0,0 +1,13 @@
1
+ awslabs/__init__.py,sha256=WuqxdDgUZylWNmVoPKiK7qGsTB_G4UmuXIrJ-VBwDew,731
2
+ awslabs/frontend_mcp_server/__init__.py,sha256=7Z2xXglebGyQyAPwduRwIwRcfsu6PckiJkgijF3Jrnc,673
3
+ awslabs/frontend_mcp_server/server.py,sha256=kSLWwLsronzH_2jVtn5WVlIg6wXJzpbMlUOiU8QJHmo,2779
4
+ awslabs/frontend_mcp_server/static/react/essential-knowledge.md,sha256=XdvbkUCyBc0_SiHYbb-a8BFcHaVJA4xttZGKAzMK3Dg,11189
5
+ awslabs/frontend_mcp_server/static/react/troubleshooting.md,sha256=QwvnxGnkgddlg7zO3HuBh9MerIyDDa_LssGZPw371ew,1240
6
+ awslabs/frontend_mcp_server/utils/__init__.py,sha256=AxxkbJO7jEqKsBIda9JGzVf9wlz8nzvrzm2L8yUhyks,669
7
+ awslabs/frontend_mcp_server/utils/file_utils.py,sha256=ObFOlzMoRQwKYUa9kqV9GL3qdaBdUeUoxL4dFRJm5v4,1336
8
+ awslabs_frontend_mcp_server-1.0.2.dist-info/METADATA,sha256=ldGPb7MnwCxQNWxtH8yx66vFPTOxO6-YlII2ixO5Nak,3801
9
+ awslabs_frontend_mcp_server-1.0.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
10
+ awslabs_frontend_mcp_server-1.0.2.dist-info/entry_points.txt,sha256=oWaTyJPjUC1J5E1xzlD2uTTB5USF9lfV8WmiryUi14s,88
11
+ awslabs_frontend_mcp_server-1.0.2.dist-info/licenses/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
12
+ awslabs_frontend_mcp_server-1.0.2.dist-info/licenses/NOTICE,sha256=A-DPzBCgbxvwvk0Lzog3Sbq3tkDmIJbM7IZAt-ikdW4,95
13
+ awslabs_frontend_mcp_server-1.0.2.dist-info/RECORD,,
@@ -1,13 +0,0 @@
1
- awslabs/__init__.py,sha256=47wJeKcStxEJwX7SVVV2pnAWYR8FxcaYoT3YTmZ5Plg,674
2
- awslabs/frontend_mcp_server/__init__.py,sha256=PM0HjBXxo6pzqf6AHjqT9F6R_RB_WafgbkgTBO-z3G4,616
3
- awslabs/frontend_mcp_server/server.py,sha256=Utkcmfd1-TW_pJsQQvlf-0ptoYfuZnRtMcYzx9fvvL8,2843
4
- awslabs/frontend_mcp_server/static/react/essential-knowledge.md,sha256=XdvbkUCyBc0_SiHYbb-a8BFcHaVJA4xttZGKAzMK3Dg,11189
5
- awslabs/frontend_mcp_server/static/react/troubleshooting.md,sha256=QwvnxGnkgddlg7zO3HuBh9MerIyDDa_LssGZPw371ew,1240
6
- awslabs/frontend_mcp_server/utils/__init__.py,sha256=Jbns_5gM4Rb-ORTnUQzAFLJDrDGoqntZPruhDdsnT0k,53
7
- awslabs/frontend_mcp_server/utils/file_utils.py,sha256=LKprH8kVwGcvjGmz8bCEanwlDLELpKUCqqv3ylaSr2c,720
8
- awslabs_frontend_mcp_server-1.0.0.dist-info/METADATA,sha256=fN2mujF7QR37IQFeJfka36th1KFq5vDytxc6feAUSrE,3878
9
- awslabs_frontend_mcp_server-1.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
10
- awslabs_frontend_mcp_server-1.0.0.dist-info/entry_points.txt,sha256=oWaTyJPjUC1J5E1xzlD2uTTB5USF9lfV8WmiryUi14s,88
11
- awslabs_frontend_mcp_server-1.0.0.dist-info/licenses/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
12
- awslabs_frontend_mcp_server-1.0.0.dist-info/licenses/NOTICE,sha256=A-DPzBCgbxvwvk0Lzog3Sbq3tkDmIJbM7IZAt-ikdW4,95
13
- awslabs_frontend_mcp_server-1.0.0.dist-info/RECORD,,