Send and read Instagram direct messages from an LLM client.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add instagram-dm -- python '{{PATH_TO_SRC}}/instagram_dm_mcp/src/mcp_server.py'~/.codex/config.toml
[mcp_servers.instagram-dm]
command = "python"
args = ["{{PATH_TO_SRC}}/instagram_dm_mcp/src/mcp_server.py"]
# codex mcp add instagram-dm -- python '{{PATH_TO_SRC}}/instagram_dm_mcp/src/mcp_server.py'~/.cursor/mcp.json
{
"mcpServers": {
"instagram-dm": {
"command": "python",
"args": [
"{{PATH_TO_SRC}}/instagram_dm_mcp/src/mcp_server.py"
]
}
}
}.vscode/mcp.json
{
"servers": {
"instagram-dm": {
"type": "stdio",
"command": "python",
"args": [
"{{PATH_TO_SRC}}/instagram_dm_mcp/src/mcp_server.py"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"instagram-dm": {
"command": "python",
"args": [
"{{PATH_TO_SRC}}/instagram_dm_mcp/src/mcp_server.py"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"instagram-dm": {
"command": "python",
"args": [
"{{PATH_TO_SRC}}/instagram_dm_mcp/src/mcp_server.py"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"instagram-dm": {
"command": "python",
"args": [
"{{PATH_TO_SRC}}/instagram_dm_mcp/src/mcp_server.py"
]
}
}
}