NetSendo
Platform Updates

NetSendo v2.13.0: Brain Conversations via API & MCP

NetSendo Team6 min read

AI assistants are only useful if they answer the question you just asked. Until now, NetSendo Brain had a bug that made it answer the first question of a conversation again and again. Agents and integrations also had no clean way to manage their own conversations with Brain.

NetSendo v2.13.0 fixes both problems. Brain now replies to your latest message. Agents can create, continue, rename and delete Brain conversations through the REST API and seven new MCP tools. Like everything in NetSendo, this runs on your own server, so your data stays with you.

TL;DR: In v2.13.0 you can delete Brain conversations in the panel and through the API. Agents can manage conversations through new API endpoints and 7 MCP tools, which brings the MCP client to 147 tools. API chat now runs in its own api channel. A bug that made Brain answer the first question of a conversation instead of the latest one is fixed.

🚀 What's New in v2.13.0

🗑️

Delete Conversations

Remove old chats from the panel or through the API, with a confirmation step.

🤖

Agent Conversations

Start, rename, list and filter Brain conversations over the API.

🔌

7 New MCP Tools

MCP clients can now hold full conversations with Brain and approve or reject its plans.

🎯

Correct Answers

Brain now sees conversation history in the right order.

Deleting Brain Conversations

In NetSendo Brain → AI Chat, each conversation now has a delete button next to the rename button. On a computer it appears when you hover over the conversation. On a phone it is always visible. You must confirm before anything is deleted.

Deleting a conversation removes the conversation and its messages. Plans and goals started in that conversation are kept. They are only unlinked from it. If you delete the conversation that is currently open, the chat switches to a new empty one.

curl -X DELETE https://your-netsendo.com/api/v1/brain/conversations/42 \
  -H "Authorization: Bearer YOUR_API_KEY"   # requires brain:write

Conversation Management for Agents

Think of each conversation as a separate thread. An agent can now open its own thread instead of writing into yours. New and extended endpoints:

  • POST /api/v1/brain/conversations: starts a conversation. title is optional. Requires brain:write.
  • PUT /api/v1/brain/conversations/{id}: renames a conversation. Requires brain:write.
  • DELETE /api/v1/brain/conversations/{id}: deletes a conversation. Requires brain:write.
  • GET /api/v1/brain/conversations: now accepts channel and search filters.
curl -X POST https://your-netsendo.com/api/v1/brain/conversations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title": "Weekly campaign review"}'

curl "https://your-netsendo.com/api/v1/brain/conversations?channel=api&search=campaign" \
  -H "Authorization: Bearer YOUR_API_KEY"

Seven New MCP Tools

The MCP client now has 147 tools. These seven are new:

  • list_brain_conversations and get_brain_conversation
  • create_brain_conversation and send_brain_message
  • update_brain_conversation and delete_brain_conversation
  • decide_brain_plan: approves or rejects a plan that Brain proposed
ℹ️ Note: The description of decide_brain_plan tells the agent to act only on the user's decision. Your AI assistant passes on your approval or rejection. It should not approve campaign plans by itself.

The AI connector at /mcp now shows the brain:read and brain:write permissions on its consent screen. Apps connected through the connector can use these tools after you grant the permissions.

Changed: API Chat Has Its Own api Channel

Before this release, POST /api/v1/brain/chat without a conversation_id continued the active web conversation from the panel. As a result, agent messages ended up mixed into your own chat.

Now that request continues the latest agent conversation if it was active in the last two hours. Otherwise it starts a new one. These conversations are marked api in the conversation list. If you send a conversation_id that does not exist or belongs to another user, the API now returns 404. Previously it started a new conversation without telling you. The panel chat works as before.

⚠️ Important: If your scripts expected API messages to appear in your panel conversation, update them. Pass an explicit conversation_id and handle 404 responses.

Fixed: Brain Answers the Question You Just Asked

The conversation history sent to the AI was in reverse order. The last message the AI saw was always the first question of the conversation, so every reply answered that question again. This happened in the panel, over the API and in Telegram. In long conversations, Brain also received the oldest 20 messages instead of the newest 20.

The same bug affected short confirmations. When you replied "yes" or "do it", Brain checked them against its first reply instead of its last question. All of this is fixed. The conversation list also now previews each conversation's last message instead of its first one.

Other Fixes

  • Deleting a message keeps the tab and filters you had selected (#132). After you deleted a message from a filtered tab such as Drafts, the list showed all messages. It now returns to the same filtered list.
  • Pixel script addresses that are not numbers return 404. Requests like /t/pixel/abc, which scanners often send, used to cause a server error.

💼 Benefits & Use Cases

🛒

E-commerce: Abandoned Cart Review

An n8n workflow opens a Brain conversation every Monday called "Cart recovery – week 48". It asks Brain to analyze abandoned carts and suggest a follow-up sequence. When Brain proposes a plan, you approve it in your AI assistant, and decide_brain_plan records your decision.

🚀

SaaS: Churn Prevention Agent

An AI agent connected through MCP checks inactive users each day in its own api conversation. Your panel chat stays free for your own work. You can review everything the agent did by filtering the list with channel=api.

🏢

Agencies: One Thread per Client

Create one conversation for each client with a clear title, such as "Client: Acme – Q4". Use search to find it later. Delete it when the project ends. The plans and goals created in it are kept.

🛠️ Step-by-Step: Connect an Agent to Brain

  1. Update NetSendo

    Pull the latest image and restart your containers. The command is below this list.

  2. Grant Brain permissions

    For API access, use a key with brain:read and brain:write. For the /mcp connector, select both permissions on the consent screen. Without them the new tools won't be available.

  3. Create a dedicated conversation

    Call create_brain_conversation or POST /api/v1/brain/conversations with a title, and store the returned ID.

  4. Send messages

    Use send_brain_message or POST /api/v1/brain/chat with your conversation_id. If you get a 404, the ID is wrong or belongs to another user.

  5. Decide on plans

    When Brain proposes a plan, show it to the user and pass their decision to decide_brain_plan.

  6. Clean up

    Delete conversations you no longer need, either in the panel or with delete_brain_conversation.

docker compose pull && docker compose up -d
💡 Common pitfall: If you leave out conversation_id, an agent that pauses for more than two hours starts a new conversation. For long tasks, always pass the ID explicitly.

🎯 Expert Tips

🎯 Expert Tips

1
Give agents only the permissions they need

An agent that only reports on data needs brain:read. Give brain:write only to agents that start or delete conversations.

2
Keep a human in the loop

Don't let agents approve plans on their own. The tool description already says this. Your workflow design should enforce it too.

3
Use predictable titles

Use a title pattern such as [agent] task – date. The new search filter will find conversations instantly.

4
Handle 404 errors

Stored conversation IDs can stop working after a deletion. When you get a 404, create a new conversation instead of retrying.

✅ Conclusion

  • ✅ Brain answers your latest message and works with the 20 newest messages
  • ✅ Agents can manage Brain conversations over the API and 7 new MCP tools
  • ✅ Agent chats are kept in a separate api channel
  • ✅ You can delete conversations and keep the plans and goals created in them

See the documentation for API details, browse integrations for MCP setup, or download NetSendo to run it on your own server.

Ready to Let Your Agents Talk to Brain?

Update to v2.13.0 and connect your AI assistant today.

#netsendo-brain#ai#mcp#api#automation#release
Share