Skip to content

[FEATURE] Support for MCP tools #4

@rsastre

Description

@rsastre

Problem Statement

Today, the web platform allows configuring the use of an MCP server. This enables including a set of tools that the user needs in their tenant, selected from those exposed by that MCP server. These tools then become available to be associated with an agent. Currently, it’s not possible to do this from the framework.

Proposed Solution

The objects that should be possible to register from the framework are:

  • An MCP server (including its configuration)
  • The tools selected from that MCP server

To achieve this, the user should be able to create a class for the MCP server to be added, as well as one class per tool they want to make available from that MCP server. This would be reflected in the migrations that later update the corresponding tenant.

CLI helper:
To simplify the creation of these classes, we propose adding a new CLI command (e.g., python manage.py addmcptools). The command would request information interactively:

  • The MCP server configuration.
  • Using that configuration, the CLI utility connects to the MCP server, lists the tools it provides, and asks the user which ones they want to add to their tenant.
  • After the user selects the desired tools, the command finishes and generates the corresponding classes and files in the user’s project.

Alternative Solutions

A clear and concise description of any alternative solutions or features you’ve considered.

Use Case

Describe a specific use case where this feature would be helpful.

Additional Context

Add any other context, mockups, or examples about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions