Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tupac-0.1.0.tar.gz (33.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tupac-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

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

Hashes for tupac-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e3dada2d50bf930e8aa4acbdf16735f564fdb92cbd434dff2ffd0eae29dad914
MD5 969b780247dd12f40e6fd8d3728310fe
BLAKE2b-256 9c00460b89277c560db50ba66a733997de72241113abc66b08d41944e2a26073

See more details on using hashes here.

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

Hashes for tupac-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ef9af55a7c3f73ccdd7c007561dcdf03105f6301165b8348383774820afbbf8
MD5 979e5cb46b6960707b67b66212ea19c5
BLAKE2b-256 e0df0a4b676ebd1f993a7a04d9a0311111b78ac55697e920025e52350929d0ea

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page