MCP server analytics
Go MCP SDK
Add Voxmith analytics to your Go MCP server
Install
go get github.com/voxmithai/voxmith-go/voxmithIntegrate
Call voxmith.Track after adding your tools, before serving:
import "github.com/voxmithai/voxmith-go/voxmith"
// your existing server setup...
err := voxmith.Track(s, "your-org-id", &voxmith.Config{
Endpoint: "https://api.voxmith.com",
DisableInput: false,
DisableOutput: false,
})
if err != nil {
log.Printf("analytics init failed: %v", err)
}
server.ServeStdio(s)Get your org ID from app.voxmith.com.
Options
| Field | Type | Default | Description |
|---|---|---|---|
Endpoint |
string |
https://api.voxmith.com |
API endpoint |
DisableInput |
bool |
false |
Skip tracking tool inputs |
DisableOutput |
bool |
false |
Skip tracking tool outputs |
Identify |
func |
nil |
Return user identity from request context |
LogLevel |
string |
"info" |
debug, info, warning, error |
What appears in Voxmith
- Tool calls for MCP tool invocations.
- Events for every tracked call.
- Failed tool calls remain visible in Events with their error details.
Verify
Call one MCP tool from your client, then open app.voxmith.com. Check Events first, then Tool calls.
Troubleshooting
- Call
voxmith.Trackafter adding tools and before serving. - Confirm the org ID is correct.
Next steps
- Tool calls: analyze calls from your Go server.
- Events: verify call fields and execution details.
- Alerts: monitor important MCP tool conditions.
Was this page helpful?