Skip to main content

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 Kotlin version >= 1.9.0 (read from android/settings.gradle or legacy android/build.gradle)
gradle_wrapper Gradle wrapper >= 8.0
android_themes Theme styles derive from Theme.AppCompat.*, Theme.MaterialComponents.*, or Theme.Material3.*
main_activity MainActivity extends FlutterFragmentActivity (not FlutterActivity)
proguard_rules proguard-rules.pro contains all required Stripe rules
ios_deployment_target iOS deployment target >= 13.0 (from Podfile or project.pbxproj)
ios_camera_permission NSCameraUsageDescription set in Info.plist (suggestion — needed for card scanning)

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_flutter_stripe_issues(query, state="all", limit=10) Search issues by keywords (e.g. an error message); returns titles, state, and short excerpts.
get_flutter_stripe_issue(issue_number) 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.

Install

pip install flutter-stripe-mcp

Or with uv:

uv tool install flutter-stripe-mcp

Add 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-mcp

Usage

Ask Claude:

"Check if my Flutter project at /path/to/myapp is 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 pytest

See DEVELOPMENT.md for running the server locally with MCP Inspector.

Metadata

Release files for flutter-stripe-mcp 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flutter-stripe-mcp 0.2.0
File Size Uploaded Provenance Actions
flutter_stripe_mcp-0.2.0.tar.gz 82.5 kB Without provenance Details for flutter_stripe_mcp-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flutter-stripe-mcp 0.2.0
File Interpreter ABI Platform Actions
flutter_stripe_mcp-0.2.0-py3-none-any.whl Python 3 none any Details for flutter_stripe_mcp-0.2.0-py3-none-any.whl

Total release size: 96.7 kB

Release files / flutter_stripe_mcp-0.2.0.tar.gz

Download URL flutter_stripe_mcp-0.2.0.tar.gz
Size 82.5 kB
Tags Source
SHA-256 checksum
How to use checksums
195fb657b6a9ceb459a55e7be9ae2c178f8251dccfc1997a2fcf6c725336fa75
BLAKE2b-256 checksum
How to use checksums
292a98b5b10a30a0e4e22d9a932716d34813917f455485e5aff690f614c8afda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / flutter_stripe_mcp-0.2.0-py3-none-any.whl

Download URL flutter_stripe_mcp-0.2.0-py3-none-any.whl
Size 14.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b15c733a7f68830fd4e0335e3875773a6f4e4e3ea27c4460cc1cacf6e52323ed
BLAKE2b-256 checksum
How to use checksums
69fe9c65702978a9b735c227a9ac653314a5809c95110987dfbebadd3f1cecd6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for flutter-stripe-mcp 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page