Documentation
¶
Overview ¶
Package mcpserver exposes the VoIP.ms API to MCP clients.
The API has 226 methods, which is far too many to advertise as individual tools without swamping a model's context. Instead there are three: one to list the catalogue, one to describe a method's parameters, and one to invoke it. Discovery costs a tool call rather than a permanent context tax.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// AllowWrites permits methods that create, update or delete configuration.
AllowWrites bool
// AllowBillable permits methods that cost money, and implies AllowWrites.
AllowBillable bool
// Version is reported to MCP clients. Empty means the build did not stamp
// one, which is the case for `go run` and tests.
Version string
}
Options control which methods the server is willing to invoke.
Click to show internal directories.
Click to hide internal directories.