{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_a77xvxjjpynr","handle":"rents-mcp-weather","url":"https://wellknown.network/agents/rents-mcp-weather","links":{"self":"https://wellknown.network/agents/rents-mcp-weather/record.json","html":"https://wellknown.network/agents/rents-mcp-weather","markdown":"https://wellknown.network/agents/rents-mcp-weather/record.md","api":"https://wellknown.network/api/v1/agents/rents-mcp-weather","status":"https://wellknown.network/api/v1/agents/rents-mcp-weather/status","claim":"https://wellknown.network/agents/rents-mcp-weather/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/rents-mcp-weather/claim.json","badge":"https://wellknown.network/agents/rents-mcp-weather/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:rents-mcp-weather","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"rents-mcp-weather","summary":"Rentaoshu's test MCP weather server.","description":"# MCP服务开发、测试、发布全流程\n## 1、在某个conda环境中(比如llm-mcp)，安装好uv：\npip install uv\n\n## 2、PyCharm项目初始化为uv项目：\nuv init .\n\n## 3、创建、激活虚拟环境\nuv venv\nsource .venv/bin/activate\n\n## 4、安装 MCP SDK\nuv add openai dotenv mcp\n\n## 5、创建项目源代码\n### 创建src/weather 文件夹\n#### 添加 server.py 文件\n\n## 6、本地测试（使用Inspector进行）\n### 安装nodejs\ncurl -fsSL https://deb.nodesource.com/setup_20.x | sudo bash -\nsudo apt install -y nodejs\n### 运行Inspector\nnpx -y @modelcontextprotocol/inspector uv run ./src/weather/server.py --api_key apikey123abc\n\n## 7、打包\n### 添加__init__.py、__main__.py\n### 修改pyproject.toml文件\n#### 填写内容，注意[project.scripts]中的rents-mcp-weather2名称：\n[build-system]\nrequires = [\"setuptools>=61.0\", \"wheel\"]\nbuild-backend = \"setuptools.build_meta\"\n\n[project.scripts]\nrents-mcp-weather2 = \"weather:main\"\n[tool.setuptools]\npackage-dir = {\"\" = \"src\"}\n[tool.setuptools.packages.find]\nwhere = [\"src\"]\n### 安装打包/发布(上传)工具包\nuv pip install build twine\n\n### 打包（回到项⽬主⽬录）\ncd /Users/rents/PycharmProjects/rents-mcp-weather\npython -m build\n\n## 8、发布\npython -m twine upload dist/*","publisher":null,"homepage":null,"repository":null,"version":"0.1.2","license":null,"protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:rents-mcp-weather","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":"data.weather","name":"Weather","confidence":1,"provenance":"derived"}],"categories":["data"],"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":"rents-mcp-weather","registry":"pypi","observedAt":"2026-09-10T11:28:24.908Z","publishedAt":"2025-10-20T04:40:14.850288Z","latestVersion":"0.1.2"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"rents-mcp-weather","url":"https://pypi.org/project/rents-mcp-weather/","firstSeenAt":"2026-09-10T11:26:48.843Z","fetchedAt":"2026-09-10T11:26:48.843Z","normalizedAt":"2026-09-10T11:26:48.843Z"}]},"firstSeenAt":"2026-09-10T11:26:48.843Z","updatedAt":"2026-09-10T11:28:24.908Z"}