Skip to content

Conversation

terzioglub
Copy link
Collaborator

Wanted to kick off the initial MCP server implementation. You can think of this PR as a very basic proof of concept or kind of a "hello world" for MCP in Bruin.
What this pr adds:

  1. New bruin mcp command: Starts a JSON-RPC server that communicates via stdin/stdout
  2. MCP Protocol Support: Implements the MCP handshake (initialize/initialized) and core methods
  3. Basic Tool Framework: Provides a single get_bruin_info tool that returns information about Bruin's features and capabilities

How to configure

  1. go to cursor (top left) -> settings -> cursor settings -> MCP -> add new global mcp server and add the following
{
    "mcpServers": {
      "bruin": {
        "command": "path/to/your//bin/bruin",
        "args": ["mcp", "--debug"],
        "env": {}
      }
    }
  }

that's it dont forget to build your project after merging or getting this branch to your local

Copy link
Contributor

@DjamilaBaroudi DjamilaBaroudi left a comment

Choose a reason for hiding this comment

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

i like it

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.

3 participants