Skip to content

list_customers tool only returns customer IDs #48

Description

@safranchik

Describe the bug

The list_customers tool only returns a list of customer IDs:

[{"id":"cus_S0DqdedL4d4E27"},{"id":"cus_S0DqbklTTosNkC"},{"id":"cus_S0Dqztq8AjzSkZ"},{"id":"cus_S0DqMnmgl9EDpl"},{"id":"cus_S0Dqcp3HDU5f6L"},{"id":"cus_S0DqohKYJy6LE9"},{"id":"cus_S0DqXmUppyTgul"},{"id":"cus_S0DqJaIaY6jzBd"},{"id":"cus_S0Dq9n0LJ6OSkS"},{"id":"cus_S0Dq4x1XWMqRQM"}]

However, the API documentation suggests that customer metadata should also returned.

To Reproduce

  1. Run MCP debug server

npx -y @modelcontextprotocol/inspector npx @stripe/mcp --tools=all --api-key={{API-KEY}}

  1. Go to the Tools tab, click List Tools, and run the list_customers tool

Expected behavior

The MCP server should return a a list of users IDs and their metadata.

OS

macOs

Language version

Python 3.11.9

Additional context

This issue seems to be across all implementations, not just MCP

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions