-
Notifications
You must be signed in to change notification settings - Fork 55
Description
Currently the streamable remote MCP tools doesn't support file upload to column or update. MCP OAuth token it is not compatible with the API OAuth, thus it is not possible to use the access token and call the corresponding APIs. This requires either to not having file upload in the client application, or make the user consent to both MCP and API OAuth - which makes the application not user friendly.
Is this the code that the remote streamable MCP server will run when to tool is invoked:
https://github.com/mondaycom/mcp/blob/6d6b0a516bf2f076a83aa74d0052ffcee9fd71e2/packages/agent-toolkit/src/core/tools/platform-api-tools/all-monday-api-tool.ts
Context
The all-monday-api-tool uses @mondaydotcomorg/api package's request() method which only handles JSON payloads , not multipart file uploads.
all_monday_api:
- The tool uses ApiClient.request() which is built on graphql-request
- graphql-request only sends application/json content type
- File upload mutations require multipart/form-data with actual file bytes
- You cannot pass binary file data through JSON variables