Skip to content

RFC: Mcp server - #277

Closed
majst01 wants to merge 4 commits into
mainfrom
mcp-server
Closed

RFC: Mcp server#277
majst01 wants to merge 4 commits into
mainfrom
mcp-server

Conversation

@majst01

@majst01 majst01 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Description

Expose /mcp as remote MCP Server endpoint.

To use this, you should add the following config into the opencode.json:

  "mcp": {
    "metal": {
      "type": "remote",
      "url": "http://v2.172.17.0.1.nip.io:8080/mcp", # metal-apiserver url
      "headers": {
        "Authorization": "Bearer <YOUR API TOKEN>"
      },
      "enabled": true
    }

Then you are able to ask specific questions like:

image

With https://github.com/modelcontextprotocol/inspector there is also a visual inspector for MCP Servers available

Depends on:

TODO:

  • clarify authentication works
  • write tests
  • review which handlers should be exposed
  • Enhance documentation, e.g. mcp.md

Used AI-Tools ✨

  • TOOL used for generation

@metal-robot metal-robot Bot added the area: control-plane Affects the metal-stack control-plane area. label Jul 21, 2026
@codecov

codecov Bot commented Jul 22, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 92.30769% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 73.48%. Comparing base (f7e7826) to head (8479327).

Files with missing lines Patch % Lines
pkg/service/services.go 69.23% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #277      +/-   ##
==========================================
+ Coverage   73.42%   73.48%   +0.05%     
==========================================
  Files         199      199              
  Lines       16595    16647      +52     
==========================================
+ Hits        12185    12233      +48     
- Misses       3246     3250       +4     
  Partials     1164     1164              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@majst01 majst01 mentioned this pull request Aug 3, 2026
5 tasks
@majst01 majst01 closed this Aug 4, 2026
@majst01
majst01 deleted the mcp-server branch August 4, 2026 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: control-plane Affects the metal-stack control-plane area.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant