Documentation
¶
Overview ¶
Package mcpprof registers Prof JSON APIs as MCP tools (stdio only).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterTools ¶
RegisterTools attaches all Prof proxy tools to the MCP server.
func ResolveAPIBase ¶
func ResolveAPIBase(flagConf, flagPort, flagEnv, flagDir, flagPprofPort, flagLog string) (string, error)
ResolveAPIBase returns the Prof HTTP root for MCP tool HTTP calls. Order: PROF_API_BASE env → (if -c set) yaml Mcp.APIBase → (if -c set) yaml Server.Port or flagPort → else flagPort only (no yaml read).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.