Skip to main content

TalentNex MCP Server (Python)

Model Context Protocol server for TalentNex (Cauldron backend). Exposes candidate and challenge data via MCP tools and resources, forwarding the Nexa Flow auth token as Authorization: Bearer <token> to Cauldron.

Features

  • Tools: getCandidateById, searchCandidates, getJobRoles (shaped like cauldron-mcp-server redactions, including parsedResume).
  • Resources: talentnex://candidates/recent, talentnex://challenges/all.
  • Transports: stdio (mcp-talentnex) and HTTP/SSE (mcp-talentnex-http).

Requirements

  • Python >= 3.10
  • Env: CAULDRON_API_BASE_URL backend origin only (e.g., https://api.cauldron.example.com)
  • Auth: Authorization: Bearer <token> provided by Nexa Flow (passed through by client or HTTP header). For stdio, set TALENTNEX_BEARER_TOKEN or provide per-call via HTTP wrapper.

Install

pip install mcp-talentnex
# or
uvx mcp-talentnex

Run (stdio)

export CAULDRON_API_BASE_URL="https://api.cauldron.example.com"
export TALENTNEX_BEARER_TOKEN="<nexa-flow-token>"
mcp-talentnex

Run (HTTP/SSE)

export CAULDRON_API_BASE_URL="https://api.cauldron.example.com"
uvx mcp-talentnex-http
# or
mcp-talentnex-http

HTTP endpoints (for Claude Desktop HTTP MCP):

  • GET /mcp/tools
  • POST /mcp/tools/call { name, arguments }
  • GET /mcp/resources
  • POST /mcp/resources/read { uri }
  • GET /health

Pass Authorization: Bearer <token> on each HTTP call; the server forwards it to Cauldron.

Tools

  • getCandidateById args: { userId, companyId, candidateId, token? }
  • searchCandidates args: { userId, companyId, q?, skills?, status?, limit?, skip?, token? }
  • getJobRoles args: { userId, companyId, status?, limit?, skip?, token? }

Optional runtime routing override:

  • baseUrl can be passed in tool arguments when the caller needs to choose backend at runtime.
  • baseUrl must be host-only origin (for example https://talentnex-backend-qa-...run.app) and cannot include path/query/fragment.
  • If baseUrl is omitted, server falls back to CAULDRON_API_BASE_URL.

If token is omitted, the server uses TALENTNEX_BEARER_TOKEN (stdio) or the HTTP Authorization header.

Resources

  • talentnex://candidates/recent (uses limit 20, skip 0)
  • talentnex://challenges/all (limit 50, skip 0)

Development (from source)

cd talentnex-mcp-server
python -m venv .venv && source .venv/bin/activate
pip install -e .[dev]
python -m pytest

Test Troubleshooting

  • If collection fails with ModuleNotFoundError: mcp or ModuleNotFoundError: requests_mock, your active interpreter is missing runtime/dev dependencies.
  • Reinstall into the same interpreter used for tests:
    • python -m pip install -e .[dev]
    • python -m pytest
  • Verify imports directly in that environment:
    • python -c "import mcp, requests_mock; print('ok')"

Configuration

  • CAULDRON_API_BASE_URL (required, host-only origin; no path/query/fragment)
  • TALENTNEX_DEFAULT_LIMIT (optional, default 20)
  • TALENTNEX_DEFAULT_SKIP (optional, default 0)
  • TALENTNEX_BEARER_TOKEN (fallback token for stdio)
  • TALENTNEX_ALLOWED_BASE_URL_HOSTS (optional, comma-separated host allowlist for both CAULDRON_API_BASE_URL and runtime baseUrl)

Common misconfiguration to avoid:

  • Wrong: https://.../candidates/:candidateId/resume
  • Correct: https://...

Packaging / Release

  • Bump version in pyproject.toml
  • python -m build
  • twine upload dist/*
  • Smoke: uvx mcp-talentnex --help

Download files

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

Source Distribution

mcp_talentnex-0.1.6.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

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

mcp_talentnex-0.1.6-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

Details for the file mcp_talentnex-0.1.6.tar.gz.

File metadata

  • Download URL: mcp_talentnex-0.1.6.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mcp_talentnex-0.1.6.tar.gz
Algorithm Hash digest
SHA256 63d2d2798a4eed77e84108eabfa2564a0b203ba36c0413a8c8bfde0b378205d0
MD5 80f66a87d6d32ea5dd809efedfef0279
BLAKE2b-256 70877d6cd5e7f478135fed90a448aa77eca072a644ad9469cfaba63849c7c03c

See more details on using hashes here.

File details

Details for the file mcp_talentnex-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: mcp_talentnex-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mcp_talentnex-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 687bfe9748b6acb2d3740b2de0e5cf6cb2c33e926364c899a3e19dcd3bd0d249
MD5 70d1d2d29e85ca07d7002b0379636bf4
BLAKE2b-256 95eef28c97fec32a9f12a28d1ee130f853da48822e17ba5830fc78aae4392bb5

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.7

2 files

This release

0.1.6 This release

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 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