API docs/For AI agents/Connect your agent
For AI agents
Connect your agent
Pick your client and paste the config. Every option connects to the same hosted Tweetsmash MCP server; replace YOUR_API_TOKEN with a token from Developer API.
The server
Hosted MCP endpoint (works with a token in the URL or an Authorization: Bearer header):
url
https://mcp.tweetsmash.com/api/mcp?token=YOUR_API_TOKENNo MCP client? Call the REST API at
https://api.tweetsmash.com/v1 with Authorization: Bearer YOUR_API_TOKEN — see the endpoint reference in the sidebar.Per-client setup
Add to claude_desktop_config.json (Settings → Developer → Edit config), then restart Claude Desktop.
claude_desktop_config.json
{
"mcpServers": {
"tweetsmash": {
"url": "https://mcp.tweetsmash.com/api/mcp?token=YOUR_API_TOKEN"
}
}
}Once connected, see MCP tools for everything the agent can do.