Integration Guides
Connect AJAIA with your favorite tools. Step-by-step setup instructions for every integration.
Available Integrations
Connect to ADO organizations and manage work items
Integrate with Jira Cloud or Server instances
Connect to AI assistants like Claude and Cursor
Azure DevOps Integration
Connect AJAIA to your Azure DevOps organization to create and manage work items.
Prerequisites
- An Azure DevOps account with access to at least one organization
- Project Collection Administrator or Project Administrator permissions
- Ability to create Personal Access Tokens
Step 1: Create a Personal Access Token (PAT)
-
Go to Azure DevOps
Navigate to dev.azure.com and sign in to your account. -
Open User Settings
Click your profile picture in the top right corner, then select "Personal access tokens". -
Create New Token
Click "New Token" and configure the following:- Name: AJAIA Integration
- Organization: Select your organization (or "All accessible organizations")
- Expiration: Choose an appropriate timeframe (we recommend 90 days)
-
Set Permissions
Select "Custom defined" and enable the required scopes (see table below). -
Copy Your Token
Click "Create" and immediately copy the token. You won't be able to see it again!
Required PAT Permissions
| Scope | Permission | Required |
|---|---|---|
| Work Items | Read & Write | |
| Project and Team | Read | |
| Identity | Read | |
| Graph | Read | Optional (for team members) |
Step 2: Connect in AJAIA
-
Open Settings
Log in to AJAIA and navigate to Settings > Integrations. -
Add Azure DevOps Connection
Click "Add Connection" and select "Azure DevOps". -
Enter Your Details
- Organization URL: https://dev.azure.com/your-org
- Personal Access Token: Paste your PAT
-
Test Connection
Click "Test Connection" to verify everything is working. -
Save
Click "Save" to store your connection securely.
Security Note: Your PAT is encrypted using AES-256 encryption before being stored. AJAIA never logs or exposes your credentials.
Troubleshooting
- "Unauthorized" error: Your PAT may have expired or lacks required permissions. Create a new token with the correct scopes.
- "Organization not found": Verify the organization URL is correct, including the exact capitalization.
- "Project not accessible": Ensure you have at least Contributor access to the project.
Jira Integration
Connect AJAIA to Jira Cloud or Jira Server to sync and manage issues.
Prerequisites
- A Jira Cloud or Jira Server/Data Center account
- Project Administrator permissions or higher
- Ability to create API tokens (Cloud) or application links (Server)
Jira Cloud Setup
-
Create an API Token
Go to Atlassian Account Settings and click "Create API token". -
Name Your Token
Enter a label like "AJAIA Integration" and click "Create". -
Copy the Token
Copy the generated token immediately - you won't see it again. -
Connect in AJAIA
In AJAIA Settings > Integrations, add a Jira connection with:- Jira URL: https://your-domain.atlassian.net
- Email: Your Atlassian account email
- API Token: The token you just created
Jira Server/Data Center Setup
-
Create Application Link
In Jira Administration, go to Applications > Application Links. -
Configure OAuth
Add AJAIA as an application link with OAuth authentication. -
Connect in AJAIA
Enter your Jira Server URL and complete the OAuth flow.
Jira Server Note: Self-hosted Jira instances must be accessible from the internet for AJAIA to connect. Consider using a VPN or secure tunnel if your server is behind a firewall.
Required Jira Permissions
| Permission | Purpose |
|---|---|
| Browse Projects | View projects and issues |
| Create Issues | Create new issues from breakdowns |
| Edit Issues | Update issue fields and status |
| Link Issues | Create parent-child relationships |
| Add Comments | Add comments during sync |
MCP Integration
Connect AJAIA to AI assistants using the Model Context Protocol for seamless IDE integration.
What is MCP?
The Model Context Protocol (MCP) is an open standard that allows AI assistants to securely access external tools and data sources. With AJAIA's MCP server, you can:
- Query and search work items directly from your AI assistant
- Create new tasks, stories, and bugs without leaving your IDE
- Update work item status as you complete work
- Generate AI breakdowns through natural conversation
Supported AI Clients
- Claude Desktop: Native MCP support
- VS Code + Continue: Via MCP extension
- Cursor: Native MCP support
- Other MCP-compatible clients
Setup for Claude Desktop
Install via npm: ajaia-mcp-server
-
Generate Your AJAIA API Key
In AJAIA, go to Settings > MCP API Keys and click "Generate New Key". Give it a descriptive name like "Claude Desktop - Work Laptop". Copy the key immediately - you won't see it again! -
Open Claude Desktop Config
Find the Claude Desktop configuration file:Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json -
Add AJAIA MCP Server
Add the following to your config file (replaceajaia_xxxx...with your actual API key):{
"mcpServers": {
"ajaia": {
"command": "npx",
"args": ["-y", "ajaia-mcp-server"],
"env": {
"AJAIA_API_KEY": "ajaia_xxxxxxxxxx..."
}
}
}
} -
Restart Claude Desktop
Completely close and reopen Claude Desktop to load the new configuration. -
Verify Connection
Ask Claude: "What AJAIA tools do you have access to?" to confirm the integration is working. You should see 8 tools available.
Setup for Cursor
-
Generate Your AJAIA API Key
Same as above - go to Settings > MCP API Keys and generate a key for Cursor. -
Open Cursor Settings
Go to Cursor Settings (Cmd/Ctrl + ,) > Features > MCP Servers. -
Add New MCP Server
Click "Add MCP Server" and configure:- Name: AJAIA
- Command: npx
- Arguments: -y ajaia-mcp-server
-
Set Environment Variable
Add the environment variableAJAIA_API_KEYwith your API key. -
Enable and Test
Toggle the server on and test by asking the AI about your work items.
Setup for VS Code with Continue Extension
-
Install Continue Extension
Install the Continue extension from the VS Code marketplace. -
Configure MCP
Open Continue settings and add AJAIA as an MCP server with the same configuration as above.
Available MCP Tools
| Tool | Description |
|---|---|
analyze_work_item |
Get AI analysis of a Jira issue or ADO work item (complexity, risks, dependencies) |
search_work_items |
Search for work items across Jira or Azure DevOps projects |
create_work_item |
Create a new work item (task, story, bug, epic, etc.) |
update_work_item |
Update fields, status, or assignee of an existing work item |
add_comment |
Add a comment to a work item |
get_my_work_items |
Get work items assigned to you, optionally filtered by status |
generate_report |
Generate sprint summaries, velocity reports, and other analytics |
ai_chat |
Have a conversation with AJAIA about your work items and projects |
Example Conversations
You: "Analyze JIRA-123 and tell me what risks I should be aware of"
Claude: "I've analyzed JIRA-123 'Implement OAuth2 authentication'. Here are the key risks: 1) Security vulnerabilities if token storage isn't properly implemented, 2) Integration complexity with existing session management..."
You: "What work items are assigned to me that are still in progress?"
Claude: "You have 3 items in progress: JIRA-456 'Update user dashboard' (Story), JIRA-457 'Fix login redirect bug' (Bug), ADO-789 'Database migration script' (Task)"
You: "Search for all bugs related to authentication in Jira"
Claude: "Found 4 bugs matching 'authentication': JIRA-101 'Login timeout too short', JIRA-205 'SSO redirect loop'..."
You: "Add a comment to ADO-456 saying 'Blocked waiting for API access from DevOps team'"
Claude: "Done! I've added your comment to ADO-456. The team will be notified."
Security: Keep your API key secure. Never share it or commit it to version
control. You can revoke and regenerate keys at any time from AJAIA
Settings. Keys that start with ajaia_ are only valid for MCP access.
Environment Variables
| Variable | Required | Description |
|---|---|---|
AJAIA_API_KEY |
Your AJAIA MCP API key (starts with ajaia_) |
|
AJAIA_API_URL |
Optional | API base URL. Defaults to https://ajaia.subscriptionsense.com |