Skip to content

Add a MCP endpoint to the host orchestrator with create_cvd and list_cvds tools#2501

Open
Databean wants to merge 1 commit intogoogle:mainfrom
Databean:ho_mcp
Open

Add a MCP endpoint to the host orchestrator with create_cvd and list_cvds tools#2501
Databean wants to merge 1 commit intogoogle:mainfrom
Databean:ho_mcp

Conversation

@Databean
Copy link
Copy Markdown
Member

@Databean Databean commented May 1, 2026

Assisted-by: Antigravity:Gemini Next

router.Handle("/cvd_imgs_dirs/{id}", httpHandler(&updateImageDirectoryHandler{c.ImageDirectoriesManager, c.OperationManager, c.UserArtifactsManager})).Methods("PUT")
router.Handle("/cvd_imgs_dirs/{id}", httpHandler(&deleteImageDirectoryHandler{c.ImageDirectoriesManager, c.OperationManager})).Methods("DELETE")
router.Handle("/reset", httpHandler(&resetCVDHandler{c.OperationManager})).Methods("POST")
router.PathPrefix("/sse").Handler(NewMCPHandler(c.Config, c.OperationManager, c.UserArtifactsManager)).Methods("DELETE", "GET", "POST")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

let's version this endpoint: /v0/sse

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Done.

@Databean
Copy link
Copy Markdown
Member Author

Databean commented May 1, 2026

Created #2504 to update the go version first

@ikicha
Copy link
Copy Markdown
Collaborator

ikicha commented May 2, 2026

If we want to run in several environments like local directly, inside each pods, remote ARM servers, it means we need to set up remote(even local) mcp server for each.(not sure mcp server is dynamically loadable by an agent or skill) Maybe skill for each HO API might be universal(and let a user specify ip addr with the same skill)

…cvds tools

Assisted-by: Antigravity:Gemini Next
@0405ysj
Copy link
Copy Markdown
Collaborator

0405ysj commented May 4, 2026

Sorry, I don't have clear context about this MCP endpoint yet. I'm curious whether this will replace the role of CF MCP server on top of podcvd or not, and also it'll be when in case of replacement. Besides, I want to know how this MCP server can be integrated with CF containers, in perspective of multiple agents in a machine with MCP server described here. I may need a design or a discussion to understand it.

Context: b/502711134

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.

4 participants