-
Notifications
You must be signed in to change notification settings - Fork 1
MCP server #7
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
MCP server #7
Conversation
Signed-off-by: Marek Safarik <[email protected]>
…educe redundancy for future handlers and endpoints. This version does not use TLS or certificates. Signed-off-by: Marek Safarik <[email protected]>
Signed-off-by: Marek Safarik <[email protected]>
Signed-off-by: Marek Safarik <[email protected]>
Signed-off-by: Marek Safarik <[email protected]>
Signed-off-by: Marek Safarik <[email protected]>
Signed-off-by: Marek Safarik <[email protected]>
Signed-off-by: Marek Safarik <[email protected]>
Signed-off-by: Marek Safarik <[email protected]>
Signed-off-by: Marek Safarik <[email protected]>
Signed-off-by: Marek Safarik <[email protected]>
Signed-off-by: Marek Safarik <[email protected]>
Signed-off-by: Marek Safarik <[email protected]>
Signed-off-by: Marek Safarik <[email protected]>
Signed-off-by: Marek Safarik <[email protected]>
backend/main.go
Outdated
| } | ||
|
|
||
| func loadConfig() { | ||
| certDir := getEnv("KEYLIME_CERT_DIR", "/home/msafarik/.keylime/certs") // TODO: Make this configurable or better way to set this (just for debugging purposes) |
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.
Please, do not include references to personal home directories. Please, add better something like:
certDir := getEnv("KEYLIME_CERT_DIR", filepath.Join(os.Getenv("HOME"), ".keylime/certs"))
sarroutbi
left a comment
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.
Please, do not upload binary files (remove backend/server from PR)
Signed-off-by: Marek Safarik <[email protected]>
sarroutbi
left a comment
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.
Hello Marek. Please, don't include me in reviews if you are not waiting me to approve them.
Implementation of MCP server in go with 5 tools:
get agent status(agent uuid): Queries the Verifier for the
attestation status of a specific agent.
get failed agents(): Gets a list of all agents, queries the status of
each, and returns only those that are in a ”failed” state.
reactivate agent(agent uuid): Sends a command to the Verifier
to reactivate a failed agent.
get agent policies(agent uuid): Fetches the IMA and TPM
policies associated with an agent from the Verifier.