ai*
This commit is contained in:
25
ai_mcp/views/res_config_settings_views.xml
Normal file
25
ai_mcp/views/res_config_settings_views.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="res_config_settings_view_form" model="ir.ui.view">
|
||||
<field name="name">res.config.settings.view.form.inherit.ai.mcp</field>
|
||||
<field name="model">res.config.settings</field>
|
||||
<field name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//block[@name='integration']" position="inside">
|
||||
<setting id="mcp_oauth" groups="base.group_system"
|
||||
string="MCP OAuth"
|
||||
help="Only the AI clients whose metadata URL (CIMD) is listed below can get OAuth tokens for your MCP server.">
|
||||
<field name="mcp_allowed_cimd_urls" class="o_mcp_allowed_cimd_urls" widget="text"
|
||||
placeholder="e.g. https://claude.ai/oauth/mcp-oauth-client-metadata"/>
|
||||
<div class="d-flex mt-2">
|
||||
<field name="mcp_enable_dcr" class="pe-2"/>
|
||||
<div>
|
||||
<label for="mcp_enable_dcr" string="Allow Dynamic Client Registration (DCR)"/>
|
||||
<div class="text-muted">Lets any MCP client register itself and request tokens.</div>
|
||||
</div>
|
||||
</div>
|
||||
</setting>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user