Skip to content

MCP Server Overview

JointTex runs a remote Model Context Protocol (MCP) server over Streamable HTTP so external AI agents — including Claude, Claude Code, ChatGPT, Codex, Cursor, VS Code, Gemini CLI, and custom agent frameworks — can read, search, edit, compile, review, and organize your LaTeX and Typst projects with fine-grained permissions.

Property Value
MCP endpoint https://jointtex.com/mcp
Transport Streamable HTTP
Protected Resource Metadata (RFC 9728) https://jointtex.com/.well-known/oauth-protected-resource/mcp
Authorization Server Metadata (RFC 8414) https://jointtex.com/.well-known/oauth-authorization-server
Plan availability JointTex Education, Plus, and Pro

One MCP server URL serves every project your account can reach. Which projects and capabilities an agent may access are chosen per connection during authorization.

Clients that support the MCP authorization specification (RFC 9728, RFC 8414, OAuth 2.1 Authorization Code + PKCE S256, RFC 7591 dynamic client registration, and rotating refresh tokens) connect using the URL https://jointtex.com/mcp alone:

  1. The client discovers JointTex’s OAuth metadata automatically and opens your browser.
  2. You sign in, inspect the client’s callback URL, pick exact scopes and projects (or All projects), and click Allow.
  3. You can adjust scopes, change accessible projects, or disconnect the app anytime under Account settings → Access tokens → Connected apps. Changes apply on the next tool call without reconnecting.

An account can keep up to 20 OAuth-connected apps (unused connections expire after 30 days of inactivity).

2. Personal MCP token (Authorization: Bearer)

Section titled “2. Personal MCP token (Authorization: Bearer)”

For clients that do not yet implement MCP OAuth discovery (or for headless scripts):

  1. Open Account settings → Access tokens on JointTex and expand Use an MCP token.
  2. Name the token, select the minimum scopes and projects required, and create it.
  3. Copy the full token (shown once) and send it as Authorization: Bearer <token> to https://jointtex.com/mcp.

An account can hold up to 10 MCP tokens. MCP tokens are separate from Git Bridge tokens and remain active until revoked.

Safety model: tracked changes and least privilege

Section titled “Safety model: tracked changes and least privilege”
  • Every file edit is a tracked change: Edits made by an external MCP agent (write_file, write_files, edit_file, multi_edit, create_file, upload_file, copy_path, move_path, rename_file, delete_path) land immediately in the project as pending tracked changes (review_state: "pending_review"). Collaborators can inspect and accept or reject them in the editor, and every edit is recorded in project history.
  • Role ceiling: A connection never exceeds the user’s own project role (for example, a viewer cannot write even if the token includes files:write).
  • Separate credentials: Use one token or OAuth connection per tool so revoking one never disrupts other agents.
  • Account-scoped tools: Help guides (search_help, read_help) are readable with any valid connection; Personal Notes, Agent Memory, References, and Collections are account-level and do not require selecting a project.