Instagram Clone MCP Tools Reference

MCP Server: https://instagram.rlenv.data4o.ai/mcp/sse Total: 43 tools

Auth Tools (4)

auth_sign_up

Register a new user with email and password.
ParameterTypeRequiredDescription
emailstring (email)User email
passwordstringPassword (min 8 characters)
namestringDisplay name
usernamestringUnique username
{
  "email": "user@example.com",
  "password": "12345678",
  "name": "Test User",
  "username": "testuser"
}

auth_sign_in

Sign in with email and password. After signing in, you don’t need to pass userId to other tools.
ParameterTypeRequiredDescription
emailstring (email)User email
passwordstringPassword
{
  "email": "user@example.com",
  "password": "12345678"
}

auth_sign_out

Sign out and clear session.
No parameters required.

auth_get_session

Get current session info.
No parameters required.

User Tools (11)

get_user_profile

Get user profile by user ID or username.
ParameterTypeRequiredDescription
identifierstringUser ID or username
{
  "identifier": "black444"
}

get_current_user

Get current user’s own profile.
No parameters required.

search_users

Search users by username or bio.
ParameterTypeRequiredDescription
querystringSearch query
limitnumberMaximum results (default: 20)
{
  "query": "black",
  "limit": 10
}

get_suggested_users

Get suggested users to follow.
ParameterTypeRequiredDescription
limitnumberMaximum results (default: 10)
{
  "limit": 5
}

toggle_follow_user

Follow or unfollow a user. Checks current follow status first to prevent accidental follow/unfollow.
ParameterTypeRequiredDescription
targetIdentifierstringTarget user ID or username
actionenum"follow" or "unfollow"
{
  "targetIdentifier": "black444",
  "action": "follow"
}

block_user

Block a user.
ParameterTypeRequiredDescription
targetIdentifierstringTarget user ID or username to block
{
  "targetIdentifier": "black555"
}

unblock_user

Unblock a user.
ParameterTypeRequiredDescription
targetIdentifierstringTarget user ID or username to unblock
{
  "targetIdentifier": "black555"
}

get_user_followers

Get a user’s followers list.
ParameterTypeRequiredDescription
identifierstringUser ID or username
{
  "identifier": "black444"
}

get_user_following

Get a user’s following list.
ParameterTypeRequiredDescription
identifierstringUser ID or username
{
  "identifier": "black444"
}

is_following

Check if current user is following a specific user.
ParameterTypeRequiredDescription
identifierstringTarget user ID or username
{
  "identifier": "black444"
}

get_blocked_users

Get current user’s blocked users list.
No parameters required.

Post Tools (11)

create_post

Create a new post.
ParameterTypeRequiredDescription
imagestring[]Array of image URLs
captionstringPost caption
{
  "image": ["https://example.com/photo.jpg"],
  "caption": "Hello world!"
}

delete_post

Delete a post.
ParameterTypeRequiredDescription
postIdstringPost ID to delete
{
  "postId": "abc123"
}

edit_post

Edit a post’s caption or images.
ParameterTypeRequiredDescription
postIdstringPost ID to edit
captionstringNew caption
imagestring[]New array of image URLs
{
  "postId": "abc123",
  "caption": "Updated caption"
}

toggle_like_post

Like or unlike a post.
ParameterTypeRequiredDescription
postIdstringPost ID
{
  "postId": "abc123"
}

toggle_bookmark_post

Bookmark or unbookmark a post.
ParameterTypeRequiredDescription
postIdstringPost ID
{
  "postId": "abc123"
}

get_user_posts

Get posts by a specific user.
ParameterTypeRequiredDescription
usernamestringUsername
limitnumberMaximum posts (default: 10)
lastCreatedAtstringPagination cursor (ISO date)
{
  "username": "black444",
  "limit": 5
}

get_feed_posts

Get feed posts from followed users.
ParameterTypeRequiredDescription
pagenumberPage number (default: 1)
limitnumberPosts per page (default: 10)
{
  "page": 1,
  "limit": 10
}

get_explore_posts

Get explore/discover posts.
ParameterTypeRequiredDescription
limitnumberMaximum posts (default: 10)
lastCreatedAtstringPagination cursor
{
  "limit": 10
}

search_posts

Search posts by caption.
ParameterTypeRequiredDescription
querystringSearch query
limitnumberMaximum results (default: 20)
{
  "query": "sunset",
  "limit": 10
}

get_bookmarked_posts

Get user’s bookmarked posts.
No parameters required.

get_post_likes

Get list of users who liked a post.
ParameterTypeRequiredDescription
postIdstringPost ID
{
  "postId": "abc123"
}

Comment Tools (5)

create_comment

Create a comment on a post (or reply to a comment if commentId provided).
ParameterTypeRequiredDescription
postIdstringPost ID
textstringComment text
commentIdstringParent comment ID (for replies)
{
  "postId": "abc123",
  "text": "Great post! 👍"
}
Reply example:
{
  "postId": "abc123",
  "text": "Thanks!",
  "commentId": "comment456"
}

delete_comment

Delete a comment or reply.
ParameterTypeRequiredDescription
commentIdstringComment ID to delete
{
  "commentId": "comment456"
}

get_post_comments

Get comments for a post (top-level only).
ParameterTypeRequiredDescription
postIdstringPost ID
{
  "postId": "abc123"
}

get_comment_replies

Get replies for a comment.
ParameterTypeRequiredDescription
commentIdstringParent comment ID
limitnumberMaximum replies (default: 10)
{
  "commentId": "comment456",
  "limit": 5
}

delete_reply

Delete a reply (second-level comment).
ParameterTypeRequiredDescription
replyIdstringReply ID to delete
{
  "replyId": "reply789"
}

Notification Tools (2)

get_notifications

Get user’s notifications.
No parameters required.

mark_notifications_read

Mark all notifications as read.
No parameters required.

Message Tools (2)

get_chats

Get user’s chat list.
No parameters required.

get_chat_messages

Get messages with another user.
ParameterTypeRequiredDescription
partnerIdentifierstringPartner user ID or username
{
  "partnerIdentifier": "black444"
}

Profile Tools (3)

edit_profile

Update user profile information.
ParameterTypeRequiredDescription
namestringNew display name
usernamestringNew username
biostringNew bio
genderstringGender
imagestring (url)Avatar image URL
{
  "bio": "Hello World 🚀",
  "gender": "male",
  "image": "https://example.com/avatar.jpg"
}

change_password

Change user password.
ParameterTypeRequiredDescription
currentPasswordstringCurrent password
newPasswordstringNew password (min 8 characters)
{
  "currentPassword": "12345678",
  "newPassword": "newpassword123"
}

delete_account

Request account deletion (sends verification email).
No parameters required.

Socket Tools (4)

send_message

Send a direct message to another user (via Socket.IO).
ParameterTypeRequiredDescription
receiverIdstringReceiver user ID
contentstringMessage content
{
  "receiverId": "698a85ca82d10455f2a3e590",
  "content": "Hello! 👋"
}

get_online_users

Get list of currently online users.
No parameters required.

check_user_online

Check if a specific user is online.
ParameterTypeRequiredDescription
targetUserIdstringUser ID to check
{
  "targetUserId": "698a85ca82d10455f2a3e590"
}