feat(skills): explain nanobot usage from bundled documentation (#6176)

* feat(skills): add nanobot documentation guide with bundled docs

* docs: prefer graphical setup and align bundled guides with runtime

* docs: lead provider setup with built-in endpoint defaults

* fix: preserve documentation packaging and lookup across install paths

* fix(skills): narrow documentation loading to relevant sections

* refactor(skills): keep documentation guidance concise

* fix(docs): complete first-use workflows and clarify runtime boundaries

* style(docs): remove manual paragraph wrapping

* docs: guide first-run users to conversational setup help

* docs: fold README installation alternatives and details

* docs: separate README alert marker from its body

* docs: clarify README onboarding and runtime boundaries
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-13 00:44:25 +08:00
1 parent 23941355a8
commit cd2a863710
61 files changed
+1729 -634

No files matched your search

+11 -8
View File
@@ -5,25 +5,26 @@ nanobot can connect MCP servers and expose their tools to the agent alongside bu
## What you will build
- a working nanobot agent
- one MCP server configured in `config.json`
- one MCP server connected through **Apps → MCP**
- a restricted set of tools available to the model
## When to use this
Use MCP when a tool already exists as an MCP server, when another application publishes an MCP adapter, or when you want a clean boundary between nanobot and external tool logic.
## Install
## Before you start
```bash
python -m pip install nanobot-ai
nanobot onboard --wizard
nanobot agent -m "Hello!"
```
Complete [Quick Start](../quick-start.md) if nanobot is not installed or cannot reply yet. If you already have a working WebUI or CLI session, continue here using that instance; no reinstall or second gateway is needed.
Install the MCP server's own runtime separately. For example, many local MCP servers use `npx` or `uvx`.
## Minimal working example
Open **Apps → MCP**, choose a preset or add a custom server, configure its command or endpoint, limit its enabled tools, and save. Follow any connection or restart prompt, then mention the integration with `@` in chat and request a small test action.
<details>
<summary>Manual configuration</summary>
Add a stdio MCP server to `~/.nanobot/config.json`:
```json
@@ -40,6 +41,8 @@ Add a stdio MCP server to `~/.nanobot/config.json`:
}
```
</details>
Restart nanobot, then ask a question that needs the MCP tool.
## Production notes
@@ -58,7 +61,7 @@ Restart nanobot, then ask a question that needs the MCP tool.
## Troubleshooting
- Start `nanobot gateway --verbose` and check MCP startup logs.
- Check MCP startup logs on the running gateway; use `--verbose` when restarting it for diagnosis.
- Confirm the MCP command works by itself before debugging nanobot.
- If an HTTP MCP server is blocked, review the SSRF whitelist and use a narrow host CIDR.