aws / aws/amazon-q-developer-cli

[Feature Request] Implement “context hooks” which allow users or MCP servers to pass context either at the start of a conversation or alongside each prompt

Open
#1,049 1 comment 0 reactions 0 assignees View on GitHub
MCP
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

Possible syntax:

```
/context add [init | preprompt ]
/context add preprompt !q-personalization --list-memories
```

Where statement can be anything type-able on the prompt.
For performance we would recommend one of:
`! - execute a shell command`
`/ - execute an internal command`
`# - execute a tool with exact parameters.` <-- I don't think we have this at the moment. Pick an appropriate character

Using this syntax, further files could be included in the context, or custom context inclusions, such as environment specific data.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.