{"id":30041723,"url":"https://github.com/cofficlab/coffic-mcp","last_synced_at":"2025-08-07T02:55:54.394Z","repository":{"id":308533449,"uuid":"1033158998","full_name":"CofficLab/coffic-mcp","owner":"CofficLab","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-06T13:05:27.000Z","size":78,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-06T13:25:39.850Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CofficLab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-06T11:40:50.000Z","updated_at":"2025-08-06T13:05:30.000Z","dependencies_parsed_at":"2025-08-06T13:25:44.457Z","dependency_job_id":"5239a130-92d2-4f03-a878-4ed9d5ec7683","html_url":"https://github.com/CofficLab/coffic-mcp","commit_stats":null,"previous_names":["cofficlab/coffic-mcp"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/CofficLab/coffic-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CofficLab%2Fcoffic-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CofficLab%2Fcoffic-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CofficLab%2Fcoffic-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CofficLab%2Fcoffic-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CofficLab","download_url":"https://codeload.github.com/CofficLab/coffic-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CofficLab%2Fcoffic-mcp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269190224,"owners_count":24375584,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-07T02:00:09.698Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-07T02:55:53.651Z","updated_at":"2025-08-07T02:55:54.385Z","avatar_url":"https://github.com/CofficLab.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Coffic MCP\n\n[![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](cursor://anysphere.cursor-deeplink/mcp/install?name=Coffic\u0026config=eyJjb21tYW5kIjoibnB4IG1jcC1yZW1vdGUgaHR0cHM6Ly9tY3AuY29mZmljLmNuL3NzZSJ9)\n\n## 环境变量配置\n\n### 生产环境配置（推荐）\n\n对于生产环境部署，使用 Wrangler CLI 安全存储环境变量：\n\n```bash\n# 设置环境变量（加密存储）\nwrangler secret put DASHSCOPE_API_KEY\n\n# 查看所有密钥\nwrangler secret list\n\n# 部署到Cloudflare Workers\nwrangler deploy\n```\n\n### 本地开发配置\n\n对于本地开发，在`wrangler.jsonc`中添加变量：\n\n```json\n{\n  \"vars\": {\n    \"DASHSCOPE_API_KEY\": \"your-api-key-here\"\n  }\n}\n```\n\n### 代码中使用\n\n在 TypeScript 代码中访问环境变量：\n\n```typescript\n// 在工具处理函数中\nconst apiKey = env.DASHSCOPE_API_KEY;\n\n// 在 fetch 处理函数中\nexport default {\n  fetch(request: Request, env: Env, ctx: ExecutionContext) {\n    const apiKey = env.DASHSCOPE_API_KEY;\n    // ...\n  },\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcofficlab%2Fcoffic-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcofficlab%2Fcoffic-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcofficlab%2Fcoffic-mcp/lists"}