Skip to content

tituslhy/sturdy-octo-fortnight

Repository files navigation

Getting started with Chainlit

The Chainlit introduction repository. This repository is a companion resource to the following medium articles:

We'll go through how to do everything in this image to setup your own ChatGPT!

Setup

Install the requirements

uv sync

The Jira MCP

Here's how to set up your Jira MCP!

Pull the docker image

docker pull ghcr.io/sooperset/mcp-atlassian:latest

Environment variables

Here are the environment variables needed for the MCP server

"CONFLUENCE_URL": "https://your-company.atlassian.net/wiki",
"CONFLUENCE_USERNAME": "[email protected]",
"CONFLUENCE_API_TOKEN": "your_confluence_api_token",
"JIRA_URL": "https://your-company.atlassian.net",
"JIRA_USERNAME": "[email protected]",
"JIRA_API_TOKEN": "your_jira_api_token"

Run the container

docker run --rm -p 9000:9000 \
  --env-file ./.env \
  ghcr.io/sooperset/mcp-atlassian:latest \
  --transport sse --port 9000 -vv

Connect to the mcpServer

{
  "mcpServers": {
    "mcp-atlassian-sse": {
      "url": "http://localhost:9000/sse"
    }
  }
}

Key MCP Tools

Confluence Tools

  • confluence_search: Search Confluence content using CQL
  • confluence_get_page: Get content of a specific page
  • confluence_create_page: Create a new page
  • confluence_update_page: Update an existing page

Jira Tools

  • jira_get_issue: Get details of a specific issue
  • jira_search: Search issues using JQL
  • jira_create_issue: Create a new issue
  • jira_update_issue: Update an existing issue
  • jira_transition_issue: Transition an issue to a new status
  • jira_add_comment: Add a comment to an issue
View All Tools
Confluence Tools Jira Tools
confluence_search jira_get_issue
confluence_get_page jira_search
confluence_get_page_children jira_get_project_issues
confluence_get_page_ancestors jira_get_epic_issues
confluence_get_comments jira_create_issue
confluence_create_page jira_batch_create_issues
confluence_update_page jira_update_issue
confluence_delete_page jira_delete_issue
jira_get_transitions
jira_transition_issue
jira_add_comment
jira_add_worklog
jira_get_worklog
jira_download_attachments
jira_link_to_epic
jira_get_agile_boards
jira_get_board_issues
jira_get_sprints_from_board
jira_get_sprint_issues
jira_create_sprint
jira_update_sprint
jira_get_issue_link_types
jira_create_issue_link
jira_remove_issue_link

Connect to the MCP

First run the MCP container and then spin up the chainlit app

chainlit run app.py

Then click the "cable" connector in the chatbar and connect to the Jira MCP

About

The Chainlit introduction repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published