Integrate Membit’s real-time social context into your AutoGen agents and multi-agent systems using MCP tools.
Import required modules
Configure MCP server parameters
mcp-remote
installed globally via npm for this to work.<your-api-key>
with your actual Membit API key. Keep this credential secure and don’t share it with unauthorized users.Initialize your model client
Create your Membit-powered agent
Run your agent
MCP Connection Issues
mcp-remote
is installed: npm list -g mcp-remote
read_timeout_seconds
if experiencing timeoutsWorkbench Tool Loading
await workbench.list_tools()
Agent Tool Usage Issues
reflect_on_tool_use=True
for better tool reasoningmodel_client_stream=True
for real-time feedback