Documentation
¶
Overview ¶
Package remote serves wassup's MCP over HTTP with a built-in OAuth 2.1 authorization server, so claude.ai (web, Desktop, mobile), Claude Code and other remote MCP clients can connect to a user's own wassup. Each user runs their own instance; nothing is shared between users.
Sign-in proves you own the WhatsApp account: the consent page sends a one-time code to your "Message yourself" chat (also visible with `wassup remote codes` on the machine).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetCurrent ¶
func SetCurrent(s *Server)
SetCurrent records the running server so CLI methods can report on it.
Types ¶
type RevokeParams ¶
type RevokeParams struct {
Client string `json:"client" jsonschema:"Client ID from wassup remote connections, or 'all'"`
}
type Server ¶
type Server struct {
E *engine.Engine
Log zerolog.Logger
// contains filtered or unexported fields
}
func Start ¶
Start serves on cfg.Listen until Close. It never fails the daemon: problems are logged.
func (*Server) PendingCodes ¶
PendingCodes lists sign-ins waiting for a code, for `wassup remote codes`.