Skip to main content
Glama

box_authorize_app_tool

Initiate the Box app authorization process through the MCP Server Box to enable interaction with Box files and folders, supporting operations like file search and text extraction.

Instructions

Authorize the Box application. Start the Box app authorization process

return: str: Message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main asynchronous handler function for the 'box_authorize_app_tool' tool. It invokes the external 'authorize_app()' function and returns a success or failure message based on the result.
    async def box_authorize_app_tool() -> str: """ Authorize the Box application. Start the Box app authorization process return: str: Message """ result = authorize_app() if result: return "Box application authorized successfully" else: return "Box application not authorized"
  • Registration of the 'box_authorize_app_tool' using the MCP tool decorator in the generic tools registry function.
    mcp.tool()(box_authorize_app_tool)
  • Import of the 'box_authorize_app_tool' function from its implementation module in the generic tools registry.
    from tools.box_tools_generic import ( box_authorize_app_tool, box_who_am_i, )

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/box-community/mcp-server-box'

If you have feedback or need assistance with the MCP directory API, please join our Discord server