-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Description
When calling any AgentMail MCP tool (e.g., list_inboxes, create_inbox), the server returns an error because structuredContent is a string instead of a record/object.
Error Message
MCP error -32602: Invalid tools/call result: [
{
"expected": "record",
"code": "invalid_type",
"path": ["structuredContent"],
"message": "Invalid input: expected record, received string"
}
]
Environment
- Client: Claude Desktop (claude-ai version 0.1.0)
-
- Protocol version: 2025-06-18
-
-
- agentmail-mcp: latest via npx
-
Steps to Reproduce
- Configure agentmail-mcp in Claude Desktop with a valid API key
-
- Call any tool (e.g.,
list_inboxes)
- Call any tool (e.g.,
-
- Observe the error
Expected Behavior
Tool calls should succeed and return properly formatted results with structuredContent as an object/record.
Actual Behavior
All tool calls fail with the above validation error.
Contact: sagelearns@proton.me
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels