Documentation
¶
Overview ¶
Package mcpserver exposes devx subcommands as a Model Context Protocol server over stdio. Each tool shells out to the devx binary itself with the appropriate flags, captures stdout/stderr, and returns the result to the agent host. Subprocess isolation keeps the MCP server's own stdout (which is the JSON-RPC transport) free of cobra-generated chatter.
Index ¶
Constants ¶
View Source
const ServerName = "devx"
ServerName is the canonical name advertised to MCP hosts.
Variables ¶
This section is empty.
Functions ¶
func AllToolNames ¶
func AllToolNames() []string
AllToolNames returns the canonical tool names registered by NewServer. Exposed for tests and for `devx mcp serve --list-tools`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.