mcp
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
Constants¶
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"// Used in tests and aibridge.MCPEndpoint = "/api/experimental/mcp/http")
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeServer¶
Server represents an MCP HTTP server instance
func (*Server)RegisterChatGPTTools¶added inv2.26.0
ChatGPT tools are the search and fetch tools as defined inhttps://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.