A GPT wrapper CLI with proper MCP tool & resource support
Project description
tupac
A GPT wrapper with MCP support. It's a thin layer around the OpenAI responses API with functions being specified as MCP config.
You can write a simple "LLM app" very quickly, by specifying MCP config and a system prompt.
MCP functionality supported:
- ✅ tools
- ✅ resources — but only as far as they're being returned from tools. No listing or fetching.
Nothing else. It's what I consider to be an absolute bare-bones MCP app.
Usage: LLM app
uvx tupac configs/web-search.json "When are we getting to Mars?"
Configuration files may contain ${VARNAME} placeholders which are expanded
from the environment before parsing. Environment variables can also be loaded
from a .env file via python-dotenv. See configs/web-search.json for an
example using ${EXA_API_KEY}.
Configuration format follows the standard MCP schema:
{
"instructions": "Use search to answer questions.",
"model": "o3",
"mcpServers": {
"exa": {
"type": "url",
"url": "https://mcp.exa.ai/mcp?exaApiKey=${EXA_API_KEY}"
}
}
}
You can use that ${EXA_API_KEY} syntax to reference environment variables. It
does load .env files.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tupac-0.1.0.tar.gz.
File metadata
- Download URL: tupac-0.1.0.tar.gz
- Upload date:
- Size: 33.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3dada2d50bf930e8aa4acbdf16735f564fdb92cbd434dff2ffd0eae29dad914
|
|
| MD5 |
969b780247dd12f40e6fd8d3728310fe
|
|
| BLAKE2b-256 |
9c00460b89277c560db50ba66a733997de72241113abc66b08d41944e2a26073
|
File details
Details for the file tupac-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tupac-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ef9af55a7c3f73ccdd7c007561dcdf03105f6301165b8348383774820afbbf8
|
|
| MD5 |
979e5cb46b6960707b67b66212ea19c5
|
|
| BLAKE2b-256 |
e0df0a4b676ebd1f993a7a04d9a0311111b78ac55697e920025e52350929d0ea
|