MCP Server
Socialia provides an MCP (Model Context Protocol) server for AI agent integration.
Starting the Server
socialia mcp start
Available Tools
List tools with different verbosity levels:
socialia mcp list-tools # Names only
socialia mcp list-tools -v # With signatures
socialia mcp list-tools -vv # + descriptions
socialia mcp list-tools -vvv # + full documentation
Analytics Module (4 tools)
- social_analytics_track
Track custom event in Google Analytics.
- social_analytics_pageviews
Get page view metrics.
- social_analytics_sources
Get traffic sources.
- social_analytics_realtime
Get realtime active users.
Claude Desktop Configuration
Run this command to see your configuration:
socialia mcp installation
Example configuration for Claude Desktop:
{
"mcpServers": {
"socialia": {
"command": "socialia",
"args": ["mcp", "start"],
"env": {
"SOCIALIA_X_CONSUMER_KEY": "...",
"SOCIALIA_X_CONSUMER_KEY_SECRET": "...",
"SOCIALIA_X_ACCESSTOKEN": "...",
"SOCIALIA_X_ACCESSTOKEN_SECRET": "..."
}
}
}
}
Health Check
Verify server configuration:
socialia mcp doctor
This checks: - fastmcp package installation - Platform credential configuration - CLI availability in PATH
Social Module (7 tools)
Post content to social media platforms.
Delete a post by ID.
Check authentication status for a platform.