npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@circuitwall/atlassian-langchain

v1.0.0

Published

LangChain tools for Atlassian Jira and Confluence Cloud — direct REST calls, no MCP, proxy-aware. Extracted from Jarela.

Readme

@circuitwall/atlassian-langchain

LangChain tools for Atlassian Jira and Confluence Cloud — direct REST calls, no MCP server required, works through corporate HTTPS_PROXY.

Extracted from Jarela so any LangGraph / LangChain.js agent can give an LLM the same Jira + Confluence toolbelt without running the full Jarela stack.

Why

The official mcp-atlassian server is great, but on locked-down corporate networks the npm/PyPI install step is often blocked and the extra process is operationally awkward. This package skips MCP entirely: every tool is a tiny fetch() against the Atlassian REST API, gated by HTTP Basic auth (email + API token). Same network path your browser already uses.

64 tools, two products, one install.

Install

npm i @circuitwall/atlassian-langchain @langchain/core zod

@langchain/core and zod are peer dependencies — bring whichever versions your agent already uses (core ≥ 0.3, zod ≥ 3.23).

Quick start

import {
  setAuthResolver,
  atlassianReadTools,
  atlassianWriteTools,
} from "@circuitwall/atlassian-langchain";

// Option A — env vars (default). No setup needed if these are set:
//   ATLASSIAN_URL=https://your-team.atlassian.net
//   [email protected]
//   ATLASSIAN_API_TOKEN=...

// Option B — supply your own resolver (e.g. read from a secrets store):
setAuthResolver(() => ({
  url: "https://your-team.atlassian.net",
  email: "[email protected]",
  apiToken: process.env.MY_VAULT_ATLASSIAN_TOKEN!,
}));

// Hand the tools to your agent:
import { createReactAgent } from "@langchain/langgraph/prebuilt";
const agent = createReactAgent({
  llm: yourModel,
  tools: [...atlassianReadTools, ...atlassianWriteTools],
});

Each tool resolves auth lazily on every call, so it's safe to import the tools at module load and configure the resolver later.

What's included

Jira (42 tools)

  • Search & readjira_search (JQL), jira_get_issue, jira_find_user, jira_get_comments, jira_list_worklogs, jira_get_changelog, jira_get_attachment_content.
  • Issue lifecyclejira_create_issue, jira_create_issues_bulk, jira_update_issue, jira_delete_issue, jira_transition_issue, jira_add_worklog.
  • Comments & attachmentsjira_add_comment, jira_update_comment, jira_delete_comment, jira_upload_attachment, jira_delete_attachment.
  • Linksjira_link_issues, jira_delete_link, jira_add_remote_link.
  • Agilejira_list_boards, jira_get_board, jira_list_sprints, jira_get_sprint, jira_create_sprint, jira_update_sprint, jira_delete_sprint, jira_move_issues_to_sprint, jira_move_issues_to_backlog, jira_rank_issues.
  • Project metadatajira_list_projects, jira_get_project, jira_list_versions, jira_create_version, jira_update_version, jira_list_components, jira_create_component, jira_list_meta.

Confluence (22 tools)

  • Readconfluence_search (CQL), confluence_get_page, confluence_get_page_by_title, confluence_get_page_children, confluence_get_page_ancestors, confluence_list_spaces, confluence_get_comments, confluence_list_attachments, confluence_get_labels, confluence_get_attachment_content.
  • Writeconfluence_create_page, confluence_update_page, confluence_delete_page, confluence_move_page, confluence_add_comment, confluence_update_comment, confluence_delete_comment, confluence_upload_attachment, confluence_delete_attachment, confluence_add_label, confluence_remove_label.

Capability arrays

For agents that want to gate by capability:

import {
  atlassianReadTools,    // 26 read-only tools
  atlassianWriteTools,   // 37 mutating tools
  atlassianExecuteTools, // 1 status-change tool (jira_transition_issue)
} from "@circuitwall/atlassian-langchain";

Pure helpers

  • confluenceTextToStorage(text) — plain text → Confluence storage XHTML.
  • parseV2NextCursor(linksNext) — extract the opaque cursor from a v2 _links.next URL.
  • resolveCustomFieldNames(inputs, fields) — map display names / IDs to Jira field IDs.
  • extractFieldValue(raw, renderedHTML) — coerce a Jira field value into something an LLM can read.
  • validateSprintTransition(currentState, targetState) — guard against invalid sprint state transitions.

Low-level escape hatch

import { atlassianFetch } from "@circuitwall/atlassian-langchain";

const data = await atlassianFetch(
  { url: "...", email: "...", apiToken: "..." },
  "/rest/api/3/myself",
);

Use this when you need a Jira/Confluence endpoint that isn't wrapped as a tool yet. Returns the parsed JSON, or { error, url } on non-2xx.

Auth tokens

Atlassian Cloud uses HTTP Basic with email + API token (NOT password). Create one at https://id.atlassian.com/manage-profile/security/api-tokens. Server / Data Center editions are not currently supported — open an issue if you need them.

License

Apache-2.0. See LICENSE.