{"id":28581302,"url":"https://github.com/morvanzhou/customized_mcp","last_synced_at":"2025-07-04T00:33:41.543Z","repository":{"id":286256132,"uuid":"960869311","full_name":"MorvanZhou/customized_mcp","owner":"MorvanZhou","description":"a demo of customized mcp","archived":false,"fork":false,"pushed_at":"2025-04-05T08:59:03.000Z","size":6,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-11T04:17:03.768Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MorvanZhou.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2025-04-05T08:35:49.000Z","updated_at":"2025-05-13T06:28:42.000Z","dependencies_parsed_at":"2025-04-05T09:39:32.721Z","dependency_job_id":null,"html_url":"https://github.com/MorvanZhou/customized_mcp","commit_stats":null,"previous_names":["morvanzhou/customized_mcp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MorvanZhou/customized_mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorvanZhou%2Fcustomized_mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorvanZhou%2Fcustomized_mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorvanZhou%2Fcustomized_mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorvanZhou%2Fcustomized_mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MorvanZhou","download_url":"https://codeload.github.com/MorvanZhou/customized_mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorvanZhou%2Fcustomized_mcp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263426113,"owners_count":23464793,"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","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-06-11T04:16:59.827Z","updated_at":"2025-07-04T00:33:41.461Z","avatar_url":"https://github.com/MorvanZhou.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Customized MCP Project\n\nThis project leverages the `mcp` library with CLI support and integrates with OpenAI's API.\n\n## Requirements\n\nMake sure to install the required dependencies before running the project:\n\n```bash\npip install -r requirements.txt\n```\n\n## Usage\n\n1. Configure your OpenAI API key as an environment variable:\n   ```bash\n   export OPENAI_API_KEY=\"your-api-key\"\n   ```\n\n2. Start the MCP server:\n   ```bash\n   python server.py\n   ```\n\n3. Use the client to interact with the server:\n   ```bash\n   python client.py\n   ```\n\n4. Alternatively, use the orchestrator to query the LLM and tools:\n   ```bash\n   python main.py\n   ```\n\n## Example\n\n### Querying the Weather Tool\nRun the client and call the `get_weather` tool:\n```bash\npython client.py\n```\n\nExample interaction:\n```\nYou: List tools\nAssistant: {\n  \"tools\": [\n    {\n      \"name\": \"get_weather\",\n      \"description\": \"Get weather for a city\",\n      \"parameters\": {\n        \"city\": {\n          \"type\": \"string\",\n          \"description\": \"Name of the city\"\n        }\n      }\n    }\n  ]\n}\n\nYou: Call get_weather with {\"city\": \"Beijing\"}\nAssistant: 北京的天气是晴天\n```\n\n## Dependencies\n\n- `openai==1.70.0`\n- `mcp[cli]==1.6.0`\n\n## License\n\nThis project is licensed under the MIT License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorvanzhou%2Fcustomized_mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorvanzhou%2Fcustomized_mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorvanzhou%2Fcustomized_mcp/lists"}