Skip to content

[Bug]: Unable to discover agent pushed through MCP tools #782

@AlokRanjanSwain

Description

@AlokRanjanSwain

Bug Description

These are steps which I performed.

  1. Create and host directory api server with zot on a VM.
  2. Use mcp server with VSCode and saw there are 10 tools available.
  3. With sample record.json, I pushed it using LLM agent with those tools. [tool used -> agntcy_dir_push_record]
  4. Next when I asked to list all agents (or that particular agent with agent name), I am getting 0 results. [tool used -> agntcy_dir_search_local]

E.g. Input params used by LLM

  1.    {
         "limit": 100,
         "names": [
           "email-agent"
         ]
       }
  2.    {
         "limit": 1000,
         "names": [
           "*"
         ]
       }

Any idea of why this is happening ?

P.S. I am however able to pull the record by a given CID. but what I want is to discover those agents. Anywhere, I am going wrong ?

Expected Behavior

It should show list of agent, or atleast when queried with filters

Affected Version

latest

Steps to Reproduce

push an record to dir, and try to discover it.

Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions