You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+65Lines changed: 65 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -325,6 +325,71 @@ The SSE server listens at `http://localhost:8807/v1/mcp/`
325
325
326
326
After connecting your AI client to BBOT Server, you can ask it sensible questions like, "Use MCP to get all the bbot findings", "what are the top open ports?", "what else can you do with BBOT MCP?", etc.
327
327
328
+
## As a Python Library
329
+
330
+
You can interact fully with BBOT Server as a Python library. It supports either local or remote connections, and the interface to both is identical:
331
+
332
+
### Asynchronous
333
+
334
+
```python
335
+
import asyncio
336
+
from bbot_server import BBOTServer
337
+
338
+
async def main():
339
+
# talk directly to local MongoDB + Redis
340
+
bbot_server = BBOTServer(interface="python")
341
+
342
+
# or to a remote BBOT Server instance (config must contain a valid API key)
0 commit comments