{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_ntysszbjkmqq","handle":"flask-mcp-server","url":"https://wellknown.network/agents/flask-mcp-server","links":{"self":"https://wellknown.network/agents/flask-mcp-server/record.json","html":"https://wellknown.network/agents/flask-mcp-server","markdown":"https://wellknown.network/agents/flask-mcp-server/record.md","api":"https://wellknown.network/api/v1/agents/flask-mcp-server","status":"https://wellknown.network/api/v1/agents/flask-mcp-server/status","claim":"https://wellknown.network/agents/flask-mcp-server/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/flask-mcp-server/claim.json","badge":"https://wellknown.network/agents/flask-mcp-server/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/flask-mcp-server/history","tools":"https://wellknown.network/api/v1/agents/flask-mcp-server/tools"},"ard":{"identifier":"urn:air::server:flask-mcp-server","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"flask-mcp-server","summary":"Flask-MCP-Server is a lightweight, production-ready Model Context Protocol (MCP) server for Flask, with tool discovery, endpoint registration, async support, and full compliance with the latest MCP 2025-06-18 specification.","description":"# flask-mcp-server\n\nFlask-based **Model Context Protocol (MCP)** server for Python. Drop it into any Flask app or run it standalone. Ships with security and ops features out of the box.\n\n**Spec target:** MCP **2025-06-18** — Streamable HTTP transport with a **unified `/mcp` endpoint** (POST for JSON-RPC; GET for SSE). Back-compat routes retained.\n\n**Package version:** `0.6.1`\n\n---\n\n## Table of Contents\n- [Requirements](#requirements)\n- [Install](#install)\n- [Quick Start](#quick-start)\n- [What’s new in 0.6.1](#whats-new-in-060)\n- [Configuration (env vars)](#configuration-env-vars)\n- [Core Concepts](#core-concepts)\n- [Examples](#examples)\n  - [A. Unified MCP endpoint usage](#a-unified-mcp-endpoint-usage)\n  - [B. Tools with roles & TTL cache](#b-tools-with-roles--ttl-cache)\n  - [C. Resources & ResourceTemplates](#c-resources--resourcetemplates)\n  - [D. Prompts & Completions](#d-prompts--completions)\n  - [E. Batch Calls (compat)](#e-batch-calls-compat)\n  - [F. SSE (hello + registry events)](#f-sse-hello--registry-events)\n  - [G. Auth: API keys & HMAC](#g-auth-api-keys--hmac)\n  - [H. Rate limiting](#h-rate-limiting)\n  - [I. Service Providers](#i-service-providers)\n  - [J. Discovery (auto-register)](#j-discovery-auto-register)\n  - [K. CLI](#k-cli)\n  - [L. OpenAPI & Swagger](#l-openapi--swagger)\n- [FAQ](#faq)\n- [Troubleshooting](#troubleshooting)\n- [License](#license)\n\n---\n\n## Requirements\n- **Python** 3.9+\n- **Flask** 3.x (auto-installed)\n---\n\n## Install\n### From PyPI\n```bash\npip install flask-mcp-server\n```\n\nAdd to `requirements.txt` from a file path:\n```\nflask-mcp-server==0.6.1\n```\n\n---\n\n## Quick Start\n\n**Integrated into an existing Flask app** (integrated HTTP):\n```python\nfrom flask import Flask\nfrom flask_mcp_server import mount_mcp, Mcp\nfrom flask_mcp_server.http_integrated import mw_auth, mw_ratelimit, mw_cors\n\napp = Flask(__name__)\n\n@Mcp.tool(name=\"sum\")\ndef sum_(a: int, b: int) -> int:\n    return a + b\n\n# Mount at /mcp with useful middlewares\nmount_mcp(app, url_p…","publisher":null,"homepage":"https://github.com/bashar94/flask-mcp-server/blob/main/README.md","repository":"https://github.com/bashar94/flask-mcp-server/blob/main/README.md","version":"0.6.1","license":"MIT","protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:flask-mcp-server","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi"}},"derived":{"capabilities":[{"slug":"data.apis","name":"API Access","confidence":0.802,"provenance":"derived"},{"slug":"dev.package-management","name":"Packages & Dependencies","confidence":0.768,"provenance":"derived"}],"categories":["data","dev"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"flask-mcp-server","registry":"pypi","observedAt":"2026-11-09T05:24:39.342Z","publishedAt":"2025-08-21T10:28:35.333218Z","latestVersion":"0.6.1"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"flask-mcp-server","url":"https://pypi.org/project/flask-mcp-server/","firstSeenAt":"2026-09-09T15:23:13.375Z","fetchedAt":"2026-11-09T05:23:12.559Z","normalizedAt":"2026-11-09T05:23:12.559Z"}]},"firstSeenAt":"2026-09-09T15:23:13.375Z","updatedAt":"2026-11-09T05:24:39.342Z"}