CCAPI: Better support for multiple simultaneous sessions
Describe the feature
Provide a mechanism to pass along credentials when setting up a request, so the ccapi mcp server can be used to manage multiple accounts simultaneously.
Use Case
I'd like to run a hosted version of the CCAPI server, which can service requests from multiple users, and is itself protected behind authentication and authorization.
Assume that I have a second tool available to me that can provide credentials to multiple AWS accounts - eg if we have a hub/spoke trust setup, where a role in one account is trusted by multiple roles in other accounts.
So, armed with multiple accounts' credentials, I would like to be able to say to a locally-running LLM: "Using this account's credentials, give me all of the ECS services that have running tasks in them." and have it send the requests to CCAPI.
I don't see how I can do that today without writing on the CCAPI's local .aws/credentials, or restarting the server itself with a different set of credentials. Those could work in a single-user scenario.
But both of those methods don't work well in a hosted scenario.
Proposed Solution
No response
Other Information
No response
Acknowledgements
- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
This issue 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.
Still interested in this...