Skip to content

For developers

Talqeen has two MCP servers: one for the library, with a personal token, and one per project, with the project's token. Both read the token from an environment variable, so it is written in no file.

The library server

At /api/mcp/library, with a token that starts with tqu_, made on the "Library tokens" page. Its scope is reading the library, or reading it and saving into "my prompts". Its tools:

  • search_prompts: search the published prompts by words, with filters.
  • get_prompt: a prompt filled with your values; it names the variables still missing.
  • save_prompt: keep a prompt in your private "my prompts" (read and write token).
  • search_claude_library: search skills, agents, commands and plugins.
  • get_library_item: an item's main file, its files and its license.

"My prompts" and "my collections" appear as / commands in Claude Code, so you call a saved prompt by its name.

Create a library token

1. Put the token in an environment variable

In your terminal or your shell's profile. Never write the token in a file of the repository; the variable is TALQEEN_LIBRARY_TOKEN.

export TALQEEN_LIBRARY_TOKEN=tqu_...

2. Claude Code

Adds the server with claude mcp add. The single quotes keep the variable as text, so Claude Code reads TALQEEN_LIBRARY_TOKEN each time it starts.

claude mcp add --transport http --scope user talqeen-library https://talqeen.scouthub.dev/api/mcp/library --header 'Authorization: Bearer ${TALQEEN_LIBRARY_TOKEN}'

Or a .mcp.json file

A file at the root of the repository that is safe to commit: it reads the token from TALQEEN_LIBRARY_TOKEN and does not contain it.

{
  "mcpServers": {
    "talqeen-library": {
      "type": "http",
      "url": "https://talqeen.scouthub.dev/api/mcp/library",
      "headers": {
        "Authorization": "Bearer ${TALQEEN_LIBRARY_TOKEN}"
      }
    }
  }
}

Cursor

In .cursor/mcp.json; Cursor reads TALQEEN_LIBRARY_TOKEN from your environment.

{
  "mcpServers": {
    "talqeen-library": {
      "url": "https://talqeen.scouthub.dev/api/mcp/library",
      "headers": {
        "Authorization": "Bearer ${env:TALQEEN_LIBRARY_TOKEN}"
      }
    }
  }
}

VS Code

In .vscode/mcp.json; VS Code asks for the token once and keeps it in its secure storage.

{
  "inputs": [
    {
      "type": "promptString",
      "id": "talqeen-library-token",
      "description": "Talqeen token",
      "password": true
    }
  ],
  "servers": {
    "talqeen-library": {
      "type": "http",
      "url": "https://talqeen.scouthub.dev/api/mcp/library",
      "headers": {
        "Authorization": "Bearer ${input:talqeen-library-token}"
      }
    }
  }
}

Codex

In ~/.codex/config.toml; Codex reads the token from TALQEEN_LIBRARY_TOKEN. Check your tool's documentation if the format differs.

[mcp_servers.talqeen_library]
url = "https://talqeen.scouthub.dev/api/mcp/library"
bearer_token_env_var = "TALQEEN_LIBRARY_TOKEN"

The project server

At /api/mcp, with a token that starts with tq_ for one project. The agent reads your plan, your current phase and your tasks from it, and updates their status with a read and write token. Some of its tools:

  • get_current_phase: the current phase, its definition of done and its ready tasks.
  • get_next_tasks: the tasks whose dependencies are done.
  • get_task: a task with its requirements, acceptance criteria and suggested items.
  • update_task_status: move a task to doing or done (read and write token).
  • get_claude_kit: the files of the project's Claude Code kit.
  • get_security_checklist: the security checks before launch and the readiness score.

You create its token on your project's "Connect your tool" page, and the Claude Code kit has a ready .mcp.json and the commands /talqeen-next, /talqeen-done, /talqeen-verify and /talqeen-phase.

Safety

  • The token always lives in an environment variable, never in the repository or in a file of the kit.
  • A read token writes nothing, and no tool deletes any data.
  • A revoked or expired token is refused at once with 401, and every token has a request limit.
  • The library server reaches no project, and returns only published content and your own prompts.
  • Talqeen never runs any script of any library item.