Skip to content

MCP dropping all input schemas #450

@alex-quach-arc-boats

Description

@alex-quach-arc-boats

Via .mcp/agents.json, I connected a simple MCP server:

from fastmcp import FastMCP

mcp = FastMCP("My MCP Server")

@mcp.tool
def greet(name: str) -> str:
    return f"Hello, {name}!"

if __name__ == "__main__":
    mcp.run(transport="http", host="127.0.0.1", port=8001)
{
  "mcpServers": {
    "greet": {
      "type": "http",
      "url": "http://localhost:8001/mcp"
    }
  }
}

When I ask Codebuff about the JSON schema, it says the input schema is:

{
  "name": "greet__greet",
  "parameters": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "additionalProperties": false,
    "properties": {},
    "type": "object"
  }
}

But it's definitely being returned by the tools endpoint. Codebuff is unable to run any tool with parameters because it can't see them.

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