Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ToolScopes = map[string][]string{
"list_spaces": {"spark:rooms_read"},
"get_space_history": {"spark:messages_read"},
"send_message": {"spark:messages_write"},
"reply_to_thread": {"spark:messages_write"},
"get_users": {"spark:memberships_read"},
"get_user_profile": {"spark:people_read"},
"search_messages": {"spark:messages_read", "spark:rooms_read"},
"send_adaptive_card": {"spark:messages_write"},
"share_file": {"spark:messages_write"},
"get_space_analytics": {"spark:messages_read", "spark:rooms_read", "spark:memberships_read"},
"listener_control": {"spark:messages_read"},
"list_meetings": {"meeting:schedules_read"},
"get_meeting_transcript": {"meeting:transcripts_read"},
"get_digest": {"spark:messages_read", "spark:rooms_read"},
"get_cross_space_context": {"spark:messages_read", "spark:rooms_read"},
}
ToolScopes maps each MCP tool to its minimum required OAuth scopes. Tools that only read from local state (buffer, config) have no scope requirements.
Functions ¶
func Register ¶
func Register(s *mcpserver.MCPServer, client *webex.Client, buf *buffer.RingBuffer, rtr *router.Router, lst *listener.Listener, tri *triage.Store)
Register adds all MCP tools to the server.
func ValidateScopes ¶ added in v0.7.0
ValidateScopes checks that configuredScopes covers all tool requirements. Returns warnings for tools whose scopes are not covered.
Types ¶
This section is empty.
Source Files
¶
- get_cross_space_context.go
- get_digest.go
- get_meeting_transcript.go
- get_mentions.go
- get_notification_routes.go
- get_notifications.go
- get_pending.go
- get_priority_inbox.go
- get_space_analytics.go
- get_space_history.go
- list_meetings.go
- list_spaces.go
- listener_control.go
- mark_processed.go
- people.go
- playbooks.go
- search_messages.go
- send_adaptive_card.go
- send_message.go
- share_file.go
- tools.go
Click to show internal directories.
Click to hide internal directories.