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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flutter_stripe_mcp-0.2.0.tar.gz (82.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flutter_stripe_mcp-0.2.0-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file flutter_stripe_mcp-0.2.0.tar.gz.

File metadata

  • Download URL: flutter_stripe_mcp-0.2.0.tar.gz
  • Upload date:
  • Size: 82.5 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for flutter_stripe_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 195fb657b6a9ceb459a55e7be9ae2c178f8251dccfc1997a2fcf6c725336fa75
MD5 2e5c57e16194d26c25e8eee21b864a76
BLAKE2b-256 292a98b5b10a30a0e4e22d9a932716d34813917f455485e5aff690f614c8afda

See more details on using hashes here.

File details

Details for the file flutter_stripe_mcp-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: flutter_stripe_mcp-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for flutter_stripe_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b15c733a7f68830fd4e0335e3875773a6f4e4e3ea27c4460cc1cacf6e52323ed
MD5 78b2beff0585ba3d7ed036120322f892
BLAKE2b-256 69fe9c65702978a9b735c227a9ac653314a5809c95110987dfbebadd3f1cecd6

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.0

2 files

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