{"id":30118400,"url":"https://github.com/tkellogg/tupac","last_synced_at":"2026-02-09T05:33:46.149Z","repository":{"id":297831021,"uuid":"997921199","full_name":"tkellogg/tupac","owner":"tkellogg","description":"A terminal MCP client based on the OpenAI responses API.","archived":false,"fork":false,"pushed_at":"2025-06-07T19:16:09.000Z","size":72,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-07T19:24:04.798Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/tkellogg.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,"zenodo":null}},"created_at":"2025-06-07T13:36:39.000Z","updated_at":"2025-06-07T17:04:12.000Z","dependencies_parsed_at":"2025-06-07T19:34:08.914Z","dependency_job_id":null,"html_url":"https://github.com/tkellogg/tupac","commit_stats":null,"previous_names":["tkellogg/tupac"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tkellogg/tupac","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkellogg%2Ftupac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkellogg%2Ftupac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkellogg%2Ftupac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkellogg%2Ftupac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tkellogg","download_url":"https://codeload.github.com/tkellogg/tupac/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkellogg%2Ftupac/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269714823,"owners_count":24463470,"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-10T02:00:08.965Z","response_time":71,"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-10T11:31:17.455Z","updated_at":"2026-02-09T05:33:46.120Z","avatar_url":"https://github.com/tkellogg.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# tupac\nA GPT wrapper with MCP support. It's a thin layer around the OpenAI [responses][api] API\nwith functions being specified as MCP config.\n\nYou can write a simple \"LLM app\" very quickly, by specifying MCP config and a system prompt.\n\nMCP functionality supported:\n* ✅ tools\n* ✅ resources — but only as far as they're being returned from tools. No listing or fetching.\n\nNothing else. It's what I consider to be an absolute [bare-bones][blog] MCP app.\n\n## Usage: LLM app\n\n```bash\nuvx tupac configs/web-search.json \"When are we getting to Mars?\"\n```\n\nYou can get the config file by cloning the repo, or just copy/paste, or make your own.\n\nIt's not a bad idea to add a bash alias for some of these:\n\n```bash\nalias ws-agent=\"uvx tupac ~/.config/tupac/web-search.json\"\n```\n\nConfiguration files may contain `${VARNAME}` placeholders which are expanded\nfrom the environment before parsing. Environment variables can also be loaded\nfrom a `.env` file via `python-dotenv`. See `configs/web-search.json` for an\nexample using `${EXA_API_KEY}`.\n\nConfiguration format follows the standard MCP schema:\n\n```json\n{\n  \"instructions\": \"Use search to answer questions.\",\n  \"model\": \"o3\",\n  \"mcpServers\": {\n    \"exa\": {\n      \"type\": \"url\",\n      \"url\": \"https://mcp.exa.ai/mcp?exaApiKey=${EXA_API_KEY}\"\n    }\n  }\n}\n```\n\n### Environment Variables\nYou can use that `${EXA_API_KEY}` syntax to reference environment variables in the config file. It\ndoes load [`.env` files][env], but it loads it from the current directory, wherever you are.\n\nRequired environment variables\n* `OPENAI_API_KEY`\n\nVariables required to run `configs/web-search.json`:\n* `EXA_API_KEY` — find it [here](https://docs.exa.ai/reference/getting-started)\n\nHappy building!\n\n [api]: https://platform.openai.com/docs/api-reference/responses\n [env]: https://pypi.org/project/python-dotenv/\n [blog]: https://timkellogg.me/blog/2025/06/05/mcp-resources\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkellogg%2Ftupac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftkellogg%2Ftupac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkellogg%2Ftupac/lists"}