Skip to main content

A safety-aware MCP server for Linear

Project description

Abscissa

Abscissa is a Python stdio MCP server for Linear. It turns Linear's GraphQL API into 35 tools for an MCP client: issues, projects, cycles, dependencies, comments, labels, workflow states, teams, and users.

The design priority is deliberate control over project data. Read operations return cursor-paginated results; get_user_issues() resolves the authenticated Linear user; archive and delete tools require an explicit confirm=true before they make a destructive API call. The server stores no credentials and reads LINEAR_API_KEY from its process environment.

Abscissa uses the stdio transport from the Model Context Protocol. Any client that supports stdio MCP can launch it as a local tool process.

Run it

You need Python 3.10+ and a Linear personal API key.

git clone https://github.com/KazKozDev/abscissa.git
cd abscissa
python3 -m venv .venv
.venv/bin/pip install -e '.[dev]'
export LINEAR_API_KEY='lin_api_…'
.venv/bin/abscissa

After the first release, installation will also be available directly from PyPI:

pip install abscissa

The final command starts the MCP server on standard input and output. Register .venv/bin/abscissa as a stdio command in your MCP client, and pass LINEAR_API_KEY through that client's environment or secret manager.

The key remains outside the repository. The .gitignore excludes common local environment files, including .env and .venv.

What the client can call

Area Tools
Identity get_current_user
Issues create_issue, update_issue, search_issues, get_user_issues, get_issue, assign_issue, add_comment, set_issue_estimate
Issue lifecycle archive_issue, delete_issue
Dependencies list_issue_dependencies, add_issue_dependency, remove_issue_dependency
Labels and workflow list_workflow_states, list_issue_labels, create_label, add_issue_label, remove_issue_label
Teams and people list_teams, get_team, list_users
Projects create_project, get_project, list_projects, list_project_issues, set_issue_project, remove_issue_from_project, update_project, archive_project
Cycles create_cycle, update_cycle, archive_cycle, list_cycles, list_cycle_issues

Search and list tools accept limit and cursor. Their responses keep the same shape:

{
  "items": [],
  "next_cursor": null
}

Pass a non-null next_cursor back as cursor to request the next page.

list_issue_dependencies returns separate blocks and blocked_by lists. Each item includes its relation_id; use it to remove that dependency. Its next_cursors object has separate cursors for each direction.

Destructive actions

archive_issue, archive_project, and delete_issue are marked with MCP's destructiveHint. They refuse to call Linear until the client invokes them with confirm=true.

Deletion requires explicit confirmation: set confirm=true

This prevents an accidental tool call from deleting or archiving data. It does not replace Linear's own access controls: the API key still determines which resources the server may read or change.

Verify the checkout

.venv/bin/ruff check .
.venv/bin/python -m pytest

The current checkout produces:

All checks passed!
..........                                                               [100%]
10 passed

The tests cover pagination bounds and response shape, authenticated-user issue resolution, project membership, cycle queries, dependency direction, confirmation guards, cycle lifecycle operations, and MCP tool registration. GitHub Actions runs the same lint and test commands on Python 3.10, 3.11, 3.12, and 3.13.

Limitations

Abscissa is a local stdio server, not an HTTP service. It needs a running MCP-capable client and a valid Linear API key. The automated suite avoids mutating a real Linear workspace; create, update, archive, and delete behavior is therefore protected by unit tests rather than a live write test.

License

MIT

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

abscissa-0.1.0.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

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

abscissa-0.1.0-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file abscissa-0.1.0.tar.gz.

File metadata

  • Download URL: abscissa-0.1.0.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for abscissa-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8002b11e725fba176fde8618823f2dc9fa0a9b7ba82a431bb11a55b760ad8141
MD5 74a69d16955939abcd1fde0025a642e5
BLAKE2b-256 71601a9376e684a76243efec8a09b6537d1be477a6e193c2d67464448e45e3aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for abscissa-0.1.0.tar.gz:

Publisher: release.yml on KazKozDev/abscissa

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file abscissa-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: abscissa-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for abscissa-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50bf45690862ce2152f612f18cf9360b8dffe2d4435cb0b1e32a47e138ae5b5c
MD5 8e80d65ef7f1c088ef348b0000506b2c
BLAKE2b-256 0ecb30287bbb2ebd584cbed2c38cb94c3a71974cc51e27f62010c899d40715e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for abscissa-0.1.0-py3-none-any.whl:

Publisher: release.yml on KazKozDev/abscissa

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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