stripe-tax-mcp-server
0
This project is an MCP server designed to interact with the Stripe Tax and Invoices API. It provides various tools for managing and performing operations on tax settings and invoices. Key features include retrieving tax settings, updating tax configurations, and handling tax calculations.
Common Troubleshooting
API Authentication Issues
Problem: Getting "Authentication failed" errors when using the tools.
Solution:
- Make sure your API key is valid and properly formatted
- Check if the API key has the required permissions
- For restricted keys, ensure they have access to tax endpoints
Rate Limiting
Problem: API requests are being rejected with rate limit errors.
Solution:
- Implement exponential backoff for retry logic
- Reduce the frequency of API calls
- Consider upgrading your Stripe account if you need higher limits
Data Validation Errors
Problem: The server rejects your tax settings update.
Solution:
- Ensure all required fields are provided with the correct format
- Check country codes are valid ISO codes (e.g., "US", "CA", "GB")
- Verify tax ID types match the expected format for the given jurisdiction
API Key Issues
Problem: "No API key provided" error message.
Solution:
- Make sure you've created an
.env
file with yourSTRIPE_API_KEY
set - Or provide the API key directly when calling the methods
- Verify the API key has permissions for Stripe Tax operations
Connection Issues
Problem: Unable to connect to the MCP server.
Solution:
- Verify the server is running (check for console output)
- Check that your client correctly implements the MCP protocol
- Try using the MCP Inspector tool to debug the connection
- Ensure the path in your
claude_desktop_config.json
is correct