Skip to content

Error: Do not know how to serialize a BigInt #2

@john-inkesta

Description

@john-inkesta
CREATE TABLE `users` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`id`),
  KEY `sequence` (`sequence`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `users` values(1, 'John');

In chat, ask to select * from users table.
Result:

execute_query (mariadb MCP Server) {"query":"SELECT * FROM users;"}

MCP tool 'execute_query' reported tool error with response:
[{"functionResponse":{"name":"execute_query","response":{"error":{"content":[{"type":"text","text":"Error: Do not know how to serialize a BigInt"}],"isError":true}}}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions