Skip to content

Conversation

@AJ0070
Copy link

@AJ0070 AJ0070 commented Sep 20, 2025

Key Changes

  • Added --serve flag to start Golem CLI as an MCP server
  • Added --serve-port flag (default: 1232)
  • Exposes MCP tools for executing Golem CLI commands:
    • execute_golem_command – Generic command execution with arguments
    • execute_golem_cli_command – Structured command execution with command path
  • Dynamic tools automatically discovered from CLI metadata (e.g., golem_component_list, golem_agent_info, golem_app_list)
  • Provides access to Golem manifest files as MCP resources (current dir, ancestors, children)
  • MCP functionality is feature-gated behind --features mcp

Usage

# Start MCP server with default port
golem-cli --serve

# Start MCP server with custom port
golem-cli --serve --serve-port 8080

# Build with MCP feature enabled
cargo build --features mcp

/claim #1926

@AJ0070
Copy link
Author

AJ0070 commented Sep 20, 2025

@noise64 @vigoo , could you please review this? I’m new to Golem and happy to iterate on the approach. Please let me know if anything doesn’t align with the direction you have in mind.

@noise64
Copy link
Contributor

noise64 commented Sep 23, 2025

i will check it this week

@AJ0070
Copy link
Author

AJ0070 commented Oct 1, 2025

@noise64 Would you be able to approve the CI tests?

@AJ0070
Copy link
Author

AJ0070 commented Oct 30, 2025

@noise64 I've been away for a bit, but I'm currently investigating the CI failures.

@AJ0070
Copy link
Author

AJ0070 commented Oct 30, 2025

@noise64, would you mind approving the CI tests again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants