-
Notifications
You must be signed in to change notification settings - Fork 668
feat: datazone mcp server #608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Thank you for the contribution! Please run |
…dy/mcp into datazone-mcp-server
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #608 +/- ##
==========================================
+ Coverage 86.96% 88.61% +1.64%
==========================================
Files 410 476 +66
Lines 27569 36122 +8553
Branches 4337 5232 +895
==========================================
+ Hits 23976 32010 +8034
- Misses 2361 2686 +325
- Partials 1232 1426 +194 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
src/amazon-datazone-mcp-server/awslabs/datazone_mcp_server/examples/basic/domain_operations.py
Fixed
Show fixed
Hide fixed
src/amazon-datazone-mcp-server/awslabs/datazone_mcp_server/examples/basic/domain_operations.py
Fixed
Show fixed
Hide fixed
src/amazon-datazone-mcp-server/awslabs/datazone_mcp_server/examples/basic/domain_operations.py
Fixed
Show fixed
Hide fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete?
Thank you for the updates! A few documentation asks – can you please:
|
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
"""AWS DataZone MCP Server.""" | ||
|
||
import os | ||
from pathlib import Path | ||
|
||
# Read version from VERSION file | ||
_version_file = Path(__file__).parent.parent.parent / 'VERSION' | ||
if _version_file.exists(): | ||
try: | ||
__version__ = _version_file.read_text().strip() | ||
except FileNotFoundError: # pragma: no cover | ||
__version__ = 'unknown' | ||
else: | ||
__version__ = 'unknown' | ||
|
||
# Import and expose server and tools modules for testing | ||
from . import server | ||
from . import tools | ||
|
||
__all__ = ['__version__', 'server', 'tools'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
# See the License for the specific language governing permissions and | |
# limitations under the License. | |
"""AWS DataZone MCP Server.""" | |
import os | |
from pathlib import Path | |
# Read version from VERSION file | |
_version_file = Path(__file__).parent.parent.parent / 'VERSION' | |
if _version_file.exists(): | |
try: | |
__version__ = _version_file.read_text().strip() | |
except FileNotFoundError: # pragma: no cover | |
__version__ = 'unknown' | |
else: | |
__version__ = 'unknown' | |
# Import and expose server and tools modules for testing | |
from . import server | |
from . import tools | |
__all__ = ['__version__', 'server', 'tools'] | |
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
# See the License for the specific language governing permissions and | |
# limitations under the License. | |
"""awslabs.amazon-datazone-mcp-server""" | |
__version__ = '0.1.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a "read-only" mode that disables the ability to create / update / mutate unless --allow-writes parameter is passed in? You can see an example of how that's managed in the Aurora DSQL MCP server: https://github.com/awslabs/mcp/blob/main/src/aurora-dsql-mcp-server/README.md
This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the "backlog" label. |
0e1359a
to
e329b3e
Compare
Fixes
Summary
This server enables AI assistants and applications to interact with AWS DataZone APIs through a standardized interface.
Changes
User experience
Checklist
If your change doesn't seem to apply, please leave them unchecked.
Is this a breaking change? (Y/N)
N
RFC issue number:
#530
Checklist:
Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.