Skip to content

Make endpoint positional argument#12

Merged
acmlau merged 2 commits into
aws:mainfrom
acmlau:positional-endpoint-arg
Sep 29, 2025
Merged

Make endpoint positional argument#12
acmlau merged 2 commits into
aws:mainfrom
acmlau:positional-endpoint-arg

Conversation

@acmlau
Copy link
Copy Markdown
Contributor

@acmlau acmlau commented Sep 29, 2025

Description of changes:

  • Changed --endpoint from a required flag to a positional argument
  • Updated help examples, README.md and DEVELOPMENT.md to reflect changes
  • Adjusted test files to use positional endpoint argument

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Comment thread DEVELOPMENT.md
## Quickstart
### Running local code
```
uv run src/aws_mcp_proxy/server.py --endpoint <your endpoint>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing!

Comment thread DEVELOPMENT.md Outdated
Comment thread README.md

```bash
uv run src/aws_mcp_proxy/server.py --endpoint <a sigv4 mcp>
uv run aws_mcp_proxy/server.py <a sigv4 mcp>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets be consistent, either or (or maybe something even more descriptive?)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about <SigV4 MCP endpoint URL>?

Comment thread README.md
"args": [
"--directory",
"/path/to/aws_mcp_proxy/src/aws_mcp_proxy",
"/path/to/aws_mcp_proxy",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While correct, just realized we need documentation on how to run the package version as well. Probs for @wzxxing to add when packaging is added.

Comment thread aws_mcp_proxy/server.py
Comment on lines +78 to +84
aws-mcp-proxy https://eks-mcp.us-west-2.api.aws

# Run with custom service and profile
aws-mcp-proxy --endpoint https://eks-mcp.us-west-2.api.aws --service eks-mcp --profile default
aws-mcp-proxy https://eks-mcp.us-west-2.api.aws --service eks-mcp --profile default

# Run with write permissions enabled
aws-mcp-proxy --endpoint https://eks-mcp.us-west-2.api.aws --allow-write
aws-mcp-proxy https://eks-mcp.us-west-2.api.aws --allow-write
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will remove all mentions of eks soon. Not a blocker just an fyi.

Co-authored-by: Leonardo Araneda Freccero <arangatang@users.noreply.github.com>
Signed-off-by: Anna Lau <66322063+acmlau@users.noreply.github.com>
@arangatang
Copy link
Copy Markdown
Contributor

We discussed offline, Readme / texts need updated anyhow, so we will collate those changes in another PR.

@acmlau acmlau merged commit 5be1c50 into aws:main Sep 29, 2025
3 checks passed
@acmlau acmlau deleted the positional-endpoint-arg branch September 29, 2025 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants