Skip to content

OpenLabs MCP #141

@Adamkadaban

Description

@Adamkadaban

Create an MCP server to interact with the OpenLabs API.

This isn't super important for the blueprints and ranges, but I think it will be very helpful when we support plugins.
For example, asking an LLM to figure out which plugins best suit learning how to defend against a threat actor. An LLM could also configure plugins to theme an environment in a specific way. eg. "populate this plugin to make the domain Harry Potter themed"

The mcp should be written in Go. This allows people to run it without needing to install Python, Node, etc. This also means we can reuse the client code for the CLI.

On that note, it may be good to ship the MCP alongside the CLI instead of as an independent binary. That way people don't have to install two things.

Goals

  • Write a minimal MCP server in Go
  • Support the sse capability
  • (Optional) Add stdio support
  • Embed the server into the existing CLI binary & add a subcommand like openlabs mcp to launch it

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions