michael-s-molina commented on code in PR #36298:
URL: https://github.com/apache/superset/pull/36298#discussion_r2566444682


##########
docs/developer_portal/extensions/contribution-types.md:
##########
@@ -88,3 +92,31 @@ Extensions can contribute new menu items or context menus to 
the host applicatio
   },
 }
 ```
+
+## Backend
+
+Backend contribution types allow extensions to extend Superset's server-side 
capabilities with new API endpoints, MCP tools, and MCP prompts.
+
+### REST API Endpoints
+
+Extensions can register custom REST API endpoints under the 
`/api/v1/extensions/` namespace. This dedicated namespace prevents conflicts 
with built-in endpoints and provides a clear separation between core and 
extension functionality.
+
+``` json
+"backend": {
+  "entryPoints": ["my_extension.entrypoint"],
+  "files": ["backend/src/my_extension/**/*.py"]
+}
+```
+
+The entry point module registers the API with Superset:
+
+``` python
+from superset_core.api.rest_api import add_extension_api
+from .api import MyExtensionAPI
+
+add_extension_api(MyExtensionAPI)
+```
+
+### MCP Tools and Prompts
+
+Extensions can contribute Model Context Protocol (MCP) tools and prompts that 
AI agents can discover and use. See [MCP Integration](./mcp) for detailed 
documentation.

Review Comment:
   This is what I call cross-team/cross-org collaboration!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to