flask-mcp-native
Expose a Flask application as an MCP server with one line of code.
Status: v0.1.0 — early release. Core is tested. See Limitations before production use.
Why this exists
The Model Context Protocol (MCP) lets AI agents call your application's functions as tools. FastAPI got its integration first — fastapi-mcp has 11k+ stars. Flask did not.
| Feature | fastapi-mcp (FastAPI) |
flask-mcp-native (Flask) |
|---|---|---|
| Route auto-discovery | ✅ | ✅ |
| Typed tool arguments | ✅ | ✅ (from URL converters) |
| stdio transport | ✅ | ✅ |
| HTTP/SSE transport | ✅ | 🔜 roadmap |
| Auth | ✅ | 🔜 roadmap |
| Framework | FastAPI (ASGI) | Flask (WSGI) |
The alternative was: migrate to FastAPI, or hand-write an MCP server duplicating every route. This is the third option — keep Flask, get MCP.
Installation
pip install flask-mcp-native
Metadata
Release files for flask-mcp-native 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flask_mcp_native-0.1.0.tar.gz | 9.8 kB | With provenance | Details for flask_mcp_native-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flask_mcp_native-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for flask_mcp_native-0.1.0-py3-none-any.whl |
Total release size: 17.9 kB
Release files / flask_mcp_native-0.1.0.tar.gz
| Download URL | flask_mcp_native-0.1.0.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
83683870fb1b5cfea245840e23aa33fa294225656c3baa8c411c37dfe516c9ed
|
|
BLAKE2b-256 checksum How to use checksums |
8f8afb4a8a3c6e24212e12680c7a6fba9331d18a4210a594d1cd577b00410d91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logRelease files / flask_mcp_native-0.1.0-py3-none-any.whl
| Download URL | flask_mcp_native-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9396bba6e11af16b93fb61efa84318d79bb2c24a8c3c6c72bce02bfc95a3488d
|
|
BLAKE2b-256 checksum How to use checksums |
cccdb612b8d45f72c3a1686321843d794ece825e8a595562b9ced5a045ff9b8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logSecurity for flask-mcp-native 0.1.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for flask_mcp_native-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logA 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.