Skip to content

Failed to create agent loading mcp tools. (notion mcp server) #139

@Piioni

Description

@Piioni

Somehow, the notion API-create-a-database breaks the execution.
This is the error message:

Warning: Failed to load MCP server 'mcp-docker-toolkit': conv mcp tool input schema fail(unmarshal): json: cannot unmarshal array into Go struct field SchemaBis.properties.items.properties.properties.type of type string, tool name: API-create-a-database

ERROR 

Failed to create agent: failed to create agent: failed to load MCP tools: all MCP servers failed to load: server
mcp-docker-toolkit: conv mcp tool input schema fail(unmarshal): json: cannot unmarshal array into Go struct field
SchemaBis.properties.items.properties.properties.type of type string, tool name: API-create-a-database.

This is my config:

{
  "model": "ollama:llama3.1:8b",
  "mcpServers": {
    "mcp-docker-toolkit": {
      "command": "docker",
      "args": ["mcp", "gateway", "run"],
      "type": "stdio"
    }
  }
}

And i dont think the problem is the docker gateway taking into account that it works normally without the notion mcp server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions