{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_5e76m73gtt4n","handle":"mcp-lens-ui","url":"https://wellknown.network/agents/mcp-lens-ui","links":{"self":"https://wellknown.network/agents/mcp-lens-ui/record.json","html":"https://wellknown.network/agents/mcp-lens-ui","markdown":"https://wellknown.network/agents/mcp-lens-ui/record.md","api":"https://wellknown.network/api/v1/agents/mcp-lens-ui","status":"https://wellknown.network/api/v1/agents/mcp-lens-ui/status","claim":"https://wellknown.network/agents/mcp-lens-ui/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/mcp-lens-ui/claim.json","badge":"https://wellknown.network/agents/mcp-lens-ui/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/mcp-lens-ui/history","tools":"https://wellknown.network/api/v1/agents/mcp-lens-ui/tools"},"ard":{"identifier":"urn:air::server:mcp-lens-ui","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"mcp-lens-ui","summary":"Swagger UI & Developer Tools for the Model Context Protocol","description":"# MCP Lens\n\n**MCP Lens** is the Swagger UI equivalent for the **Model Context Protocol (MCP)**. It provides a beautiful, interactive, and dark-themed web interface to explore, execute, and debug your MCP servers locally.\n\nMCP Lens automatically intercepts calls to your MCP Server (using `fastmcp`), aggregates the schema of all available tools, resources, and prompts, and instantly spins up a local web UI.\n\n---\n\n## 🚀 Features\n\n- 🛠 **Tools Explorer**: View all available tools, their JSON schemas, and test them with a live form. See execution traces and server responses.\n- 📚 **Resources Explorer**: Browse all standard and dynamically paginated resources exposed by your MCP servers and inspect their values instantly.\n- 💬 **Prompts Explorer**: View predefined prompt templates and invoke them dynamically to see exactly how they will format for LLMs.\n- 📜 **Request History**: Keep a log of all executions along with performance metrics (execution time, status codes) and effortlessly replay them.\n- 🔐 **Multi-Server & Auth**: Supports instrumenting multiple MCP servers concurrently and provides an interface for Bearer token authorizations per server.\n\n---\n\n## 📦 Installation\n\nTo use MCP Lens in your project, simply install it via pip:\n\n```bash\npip install mcp-lens-ui\n```\n\n*(Note: Ensure your MCP server is built using the `fastmcp` package.)*\n\n---\n\n## ⚡ How to Use\n\nUsing MCP Lens is incredibly easy. Just import `instrument` from `mcp_lens` and wrap your `FastMCP` app instances.\n\n### Minimal Example (`example.py`)\n\nHere is a full example showing how to create a basic weather MCP server and visualize it with MCP Lens.\n\n```python\nimport httpx\nfrom fastmcp import FastMCP\nfrom mcp_lens import instrument\n\napp = FastMCP(\"OpenMeteo Weather\")\n\n@app.tool()\nasync def get_current_weather(latitude: float, longitude: float) -> str:\n    \"\"\"Get the current weather for a specific latitude and longitude. Uses Open-Meteo free API.\"\"\"\n    url = f\"https://api.open-meteo.com/v1/forecast?latit…","publisher":null,"homepage":null,"repository":null,"version":"0.1.5","license":null,"protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:mcp-lens-ui","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","summary":"pypi","version":"pypi","description":"pypi"}},"derived":{"capabilities":[{"slug":"ai.prompting","name":"Prompt Management","confidence":0.871,"provenance":"derived"},{"slug":"security.identity","name":"Identity & Access","confidence":0.825,"provenance":"derived"},{"slug":"data.weather","name":"Weather","confidence":0.814,"provenance":"derived"}],"categories":["ai","data","security"],"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":"mcp-lens-ui","registry":"pypi","observedAt":"2026-11-03T14:23:49.581Z","publishedAt":"2026-07-15T11:01:31.002581Z","latestVersion":"0.1.5"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"mcp-lens-ui","url":"https://pypi.org/project/mcp-lens-ui/","firstSeenAt":"2026-09-10T02:23:18.751Z","fetchedAt":"2026-11-03T14:21:55.372Z","normalizedAt":"2026-11-03T14:21:55.372Z"}]},"firstSeenAt":"2026-09-10T02:23:18.751Z","updatedAt":"2026-11-03T14:23:49.581Z"}