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

You can also install Abscissa 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.

Example prompts

Once Abscissa is registered in your MCP client, try prompts like:

Show my open Linear issues grouped by project.
Create an issue in ENG for fixing onboarding copy.
List issues blocked by GEN-32.

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.2.tar.gz (1.6 MB 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.2-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for abscissa-0.1.2.tar.gz
Algorithm Hash digest
SHA256 6d0af0032e638c978a8238fa4e24ad04f05d3c85070a062f5a3e0091800986cd
MD5 5f6b25263ec4ea7458d400edbc847cc8
BLAKE2b-256 538546881fc74e67e3c4cf25a5c5d867371b3b47bf98ae470f848242ca55b593

See more details on using hashes here.

Provenance

The following attestation bundles were made for abscissa-0.1.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: abscissa-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 79cbc31cb2b9778c54e2282ff187286b83d2eadfd3b2a2d1f856725cdce55f0e
MD5 c91bd6d97c32cdccf85e4a21a6cd1eb6
BLAKE2b-256 31343ff20b3a1254f2b92d7b6b37676e4b445789a0f0353b3280418e657e7e18

See more details on using hashes here.

Provenance

The following attestation bundles were made for abscissa-0.1.2-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