Skip to content

list_customers tool only returns customer IDs #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
safranchik opened this issue Mar 26, 2025 · 1 comment
Open

list_customers tool only returns customer IDs #48

safranchik opened this issue Mar 26, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@safranchik
Copy link

safranchik commented Mar 26, 2025

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

@safranchik safranchik added the bug Something isn't working label Mar 26, 2025
@safranchik safranchik changed the title Incorrect return value in list_customers tool list_customers tool only returns customer IDs Mar 26, 2025
@stevekaliski-stripe stevekaliski-stripe pinned this issue Apr 2, 2025
@stevekaliski-stripe stevekaliski-stripe unpinned this issue Apr 2, 2025
@HJ1X
Copy link

HJ1X commented Apr 7, 2025

I've opened a PR for this issue. #59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants