flutter-stripe-mcp
This MCP server helps diagnose and troubleshoot Flutter + Stripe (flutter_stripe) project setup issues, and provides tools to search GitHub for known issues and fixes.
diagnose_setup: Analyzes a Flutter project at a given path and checks for common configuration problems:Kotlin version (must be >= 1.9.0)
Gradle wrapper version (must be >= 8.0)
Android theme styles (must derive from AppCompat, MaterialComponents, or Material3 themes)
MainActivitybase class (must extendFlutterFragmentActivity)ProGuard rules (must contain all required Stripe rules)
iOS deployment target (must be >= 13.0)
iOS camera permission (
NSCameraUsageDescriptioninInfo.plistfor card scanning)
Returns a structured result listing passing checks and actionable fix instructions for any issues found. Platform checks are skipped if the relevant
android/orios/directory is not present.search_flutter_stripe_issues: Searches theflutter_stripeGitHub repository for known issues by keywords, returning titles, states, and short excerpts.get_flutter_stripe_issue: Fetches the full body and all comments of a specific GitHub issue by number, to find actual fixes.
The server can be integrated with Claude Desktop or Claude Code, allowing Claude to automatically use these diagnostic and search tools.
Provides diagnostic checks for Flutter projects integrating Stripe, ensuring correct Android and iOS configurations.
Provides diagnostic checks for Stripe integration in Flutter projects, verifying setup requirements such as Kotlin version, Gradle wrapper, Android themes, MainActivity, ProGuard rules, iOS deployment target, and camera permission.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@flutter-stripe-mcp Diagnose flutter_stripe setup in /path/to/myapp"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
flutter-stripe-mcp
An MCP server that diagnoses Flutter + Stripe (flutter_stripe) setup issues — so Claude can check your project automatically.
What it does
Three tools: one diagnoses your local project setup, and two search GitHub for known issues and their fixes.
diagnose_setup takes the path to your Flutter project root and runs every check:
Check | Requirement |
| Kotlin version >= 1.9.0 (read from |
| Gradle wrapper >= 8.0 |
| Theme styles derive from |
|
|
|
|
| iOS deployment target >= 13.0 (from |
|
|
The result lists passing checks by name and returns a fix instruction for each problem found. Platforms without an android/ or ios/ directory are skipped.
Checking for known issues
Two more tools let Claude check whether a problem is already a documented issue in the flutter_stripe GitHub repo, and read the fix straight from the discussion:
Tool | Purpose |
| Search issues by keywords (e.g. an error message); returns titles, state, and short excerpts. |
| Fetch one issue's full body and all comments, to find the actual fix. |
These use GitHub's public search API, which is limited to 60 requests/hour unauthenticated. If you hit the rate limit, the tool returns a clear error instead of failing silently. Optionally, set a GITHUB_TOKEN (or GH_TOKEN) environment variable to raise this to 5,000 requests/hour — no other configuration needed.
Related MCP server: reforge-mcp
Install
pip install flutter-stripe-mcpOr with uv:
uv tool install flutter-stripe-mcpAdd to Claude Desktop
Open ~/Library/Application Support/Claude/claude_desktop_config.json and add:
{
"mcpServers": {
"flutter-stripe-mcp": {
"command": "flutter-stripe-mcp"
}
}
}Restart Claude Desktop. Claude will now have access to the diagnostic tool.
Add to Claude Code
claude mcp add flutter-stripe-mcp -- flutter-stripe-mcpUsage
Ask Claude:
"Check if my Flutter project at
/path/to/myappis set up correctly for flutter_stripe."
Claude calls diagnose_setup with the project root and tells you exactly what to fix.
Development
uv sync
uv run pytestSee DEVELOPMENT.md for running the server locally with MCP Inspector.
Available Tools
3 toolsdiagnose_setupARead-onlyIdempotent
Diagnose a Flutter + Stripe (flutter_stripe) project setup.
Android checks: Kotlin version, Gradle wrapper version, theme parents, MainActivity base class, ProGuard rules. iOS checks: minimum deployment target, camera usage permission.
Args: project_path: Absolute path to the Flutter project root (the directory containing android/ and ios/).
Returns: {"ok": [names of passed checks], "issues": [{"check", "status", "fix", ...} for each problem found]}
Inputs: project_path (required). Returns: object
get_flutter_stripe_issueARead-onlyIdempotent
Fetch the full body and comments of one flutter_stripe GitHub issue.
Use this after search_flutter_stripe_issues has identified a candidate issue number, to read the complete discussion — maintainer replies and community comments often contain the actual fix, workaround, or root cause that a title/excerpt alone won't reveal.
Args: issue_number: The GitHub issue number (e.g. 1234), not a URL.
Returns: {"number", "title", "state", "url", "body", "comments": [{"author", "body"}]} (plus "note" if the comment thread was too long to fetch in full), or {"error": "...", "kind": "..."} on failure (e.g. not found).
Inputs: issue_number (required). Returns: object
search_flutter_stripe_issuesARead-onlyIdempotent
Search GitHub issues in the flutter_stripe repository (flutter-stripe/flutter_stripe).
Use this to check whether a problem you're debugging (an error message, a crash, an unexpected behavior) is already a known, reported issue — before assuming it's novel or trying to work around it from scratch. Returns short excerpts so you can judge relevance; call get_flutter_stripe_issue with a specific issue number to read the full discussion and find the documented fix or workaround.
If an exact-match search (all words present) finds nothing, this automatically retries with a broader "any of these words" search and marks the result with "broadened_search": true — treat those results as lower-confidence and check relevance via the excerpt before following up with get_flutter_stripe_issue.
Args: query: Free-text search terms (e.g. an error message or symptom). state: "all" (default), "open", or "closed". limit: Max number of results to return (1-30).
Returns: {"total_count": int, "results": [{"number", "title", "state", "url", "excerpt"}]} (plus "broadened_search"/"note" if a broader fallback search was used), or {"error": "...", "kind": "..."} on failure (e.g. rate-limited).
Inputs: query (required), limit, state. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: diagnosing local project setup, searching GitHub issues, and retrieving a full issue. There is no functional overlap or ambiguity between them.
All tool names follow a consistent verb_noun snake_case pattern (diagnose_setup, search_flutter_stripe_issues, get_flutter_stripe_issue). Naming style and verb usage are uniform.
Three tools is at the lower bound but appropriate for the narrow scope of Flutter Stripe diagnostics and issue research. Each tool earns its place and there is no redundancy.
The set covers the core workflow: diagnose a setup problem, search for known issues, and read full discussion for fixes. Minor gaps exist such as no direct tool for checking Stripe dependency versions or API key configuration, but the main diagnostic/research loop is complete.
Maintenance
Related MCP Connectors
Hosted Stripe MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
MCP server integrating with Stripe - tools for customers, products, payments, and more.
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Related MCP Servers
- AlicenseAqualityDmaintenanceDiagnose, secure, and benchmark your MCP servers. Zero-config CLI for Claude Code, Cursor, VS Code, and Windsurf.44MIT
- AlicenseAqualityBmaintenanceHelps Claude Code clean up messy repositories: find dead code, duplicate logic, oversized files, and circular dependencies, then apply fixes with optional tests and rollback.103MIT
- FlicenseNot gradedqualityCmaintenanceA self-hosted MCP server that lets Claude query your bank accounts, balances, and transactions through Plaid.1-
- FlicenseNot gradedqualityDmaintenanceAn MCP server that lets Claude manage long-running development processes across frameworks like Flutter, Next.js, Spring Boot, and Vite, with lifecycle control, log streaming, and hot reload support.1-