Documentation
¶
Index ¶
Constants ¶
View Source
const ( // MCPServerName is the name used for the MCP server. MCPServerName = "Coder" // MCPServerInstructions is the instructions text for the MCP server. MCPServerInstructions = "Coder MCP Server providing workspace and template management tools" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
Server represents an MCP HTTP server instance
func (*Server) RegisterChatGPTTools ¶ added in v2.26.0
ChatGPT tools are the search and fetch tools as defined in https://platform.openai.com/docs/mcp. We do not expose any extra ones because ChatGPT has an undocumented "Safety Scan" feature. In my experiments, if I included extra tools in the MCP server, ChatGPT would often - but not always - refuse to add Coder as a connector.
func (*Server) RegisterTools ¶
Register all available MCP tools with the server excluding: - ReportTask - which requires dependencies not available in the remote MCP context - ChatGPT search and fetch tools, which are redundant with the standard tools.
Click to show internal directories.
Click to hide internal directories.