| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -84,6 +84,7 @@ new AdminForth({ | |||
| 84 | 84 | // ... | |
| 85 | 85 | globalPlugins: [ | |
| 86 | 86 | new AdminForthMcpPlugin({ | |
| 87 | + adminPanelOrigin: 'https://your-adminforth-host.example.com', | ||
| 87 | 88 | authSecretResource: { | |
| 88 | 89 | resourceId: 'mcp_auth_secrets', | |
| 89 | 90 | idField: 'id', | |
@@ -99,6 +100,8 @@ new AdminForth({ | |||
| 99 | 100 | }); | |
| 100 | 101 | ``` | |
| 101 | 102 | ||
| 103 | + The MCP server identifies itself to agents as the AdminForth admin panel for the configured [`customization.brandName`](/docs/tutorial/Customization/branding/). Set `adminPanelOrigin` when the same agent uses several AdminForth installations. Pass only the public origin, such as `https://admin.example.com`; the plugin appends the existing AdminForth `baseUrl` path. The origin is optional and is not inferred from request headers. | ||
| 104 | + | ||
| 102 | 105 | The plugin adds **MCP Settings** under the user profile. A user can create or revoke auth secrets there and copy the short setup prompt. Use one auth secret per agent. | |
| 103 | 106 | ||
| 104 | 107 | The MCP endpoint is: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments