Skip to main content

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.

Release files for tupac 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tupac 0.1.0
File Size Uploaded
tupac-0.1.0.tar.gz 33.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tupac 0.1.0
File Interpreter ABI Platform
tupac-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 39.4 kB

Release files / tupac-0.1.0.tar.gz

Download URL tupac-0.1.0.tar.gz
Size 33.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e3dada2d50bf930e8aa4acbdf16735f564fdb92cbd434dff2ffd0eae29dad914
BLAKE2b-256 checksum
How to use checksums
9c00460b89277c560db50ba66a733997de72241113abc66b08d41944e2a26073
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.3

Release files / tupac-0.1.0-py3-none-any.whl

Download URL tupac-0.1.0-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ef9af55a7c3f73ccdd7c007561dcdf03105f6301165b8348383774820afbbf8
BLAKE2b-256 checksum
How to use checksums
e0df0a4b676ebd1f993a7a04d9a0311111b78ac55697e920025e52350929d0ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page