Python Jira MCP Server
Python Jira MCP 服务器
一个用 Python 实现的模型上下文协议 (MCP) 服务器,可与 Jira API 集成。这使得 AI 模型能够通过标准化协议与 Jira 进行交互。
概述
此 MCP 服务器将 Jira API 操作公开为可供支持模型上下文协议 (MCP) 的 AI 模型使用的工具。该服务器实现了 stdio 传输机制,以便与 Cursor 等客户端进行通信。
Related MCP server: Jira MCP Server
特征
JQL 搜索工具:使用 JQL 查询搜索 Jira 问题
获取问题工具:检索有关特定 Jira 问题的详细信息
MCP SDK 集成:兼容官方 MCP Python SDK
回退模式:当 SDK 不可用时,最小实现
环境配置:从环境变量加载 Jira 凭据
要求
Python 3.8+
Jira API 访问(API 令牌、电子邮件和域)
所需的 Python 包:
mcp(模型上下文协议 Python SDK)aiohttp(用于 HTTP 请求)pydantic(用于验证)python-dotenv(用于环境变量)
安装
克隆此存储库:
git clone https://github.com/yourusername/python-jira-mcp.git cd python-jira-mcp安装依赖项:
pip install -r requirements.txt设置您的 Jira 凭证:
cp .env.example .env # Edit .env with your Jira credentials
用法
运行服务器
要启动 MCP 服务器,请运行:
python main.py或者直接使用可执行文件:
./main.py服务器将启动并在标准输入(stdin)上监听 MCP 消息并在标准输出(stdout)上做出响应。
与 Cursor 集成
要将此 MCP 服务器与 Cursor 一起使用:
启动服务器(如上)
在 Cursor 中,配置 MCP 服务器路径指向
main.py直接在 Cursor 中使用 Jira 工具
可用工具
JQL 搜索
使用 JQL(Jira 查询语言)搜索 Jira 问题。
例子:
{
"type": "tool_call",
"id": "123",
"name": "jql_search",
"parameters": {
"jql": "project = XYZ AND status = 'In Progress'",
"max_results": 10,
"fields": ["summary", "description", "status"]
}
}获取问题
通过 ID 或密钥检索有关特定 Jira 问题的详细信息。
例子:
{
"type": "tool_call",
"id": "456",
"name": "get_issue",
"parameters": {
"issue_id_or_key": "XYZ-123",
"fields": ["summary", "description", "status", "assignee"],
"expand": "changelog"
}
}发展
项目结构
main.py:MCP 服务器的入口点src/server.py:主 MCP 服务器实现src/tools/jira_tools.py:Jira API 工具实现src/tool_schemas.py:工具模式定义
添加新工具
要添加新的 Jira 相关工具:
在
src/tools/jira_tools.py中实现工具功能在
src/tool_schemas.py中添加工具模式在
src/server.py中注册该工具
执照
该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅 LICENSE 文件。
致谢
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
Enable secure connectivity between Sentry issues and debugging data, and LLM clients, using a Model Context Protocol (MCP) server.
The Mercado Pago MCP Server implements the Model Context Protocol to provide AI agents and LLMs with access to Mercado Pago's APIs and tools within compatible development environments. It acts as an intermediary that translates Mercado Pago resources into executable functions (tools) that AI applications can invoke to perform actions and automate flows. The server simplifies integration, enables using documentation to implement or improve code, and optimizes operations through natural language interactions without manual implementations.
Related MCP Servers
- AlicenseBqualityCmaintenanceA Model Context Protocol server that provides integration with Jira, allowing Large Language Models to interact with Jira projects, boards, sprints, and issues through natural language.5323MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server that enables AI assistants like Claude to interact with Jira, allowing for project management tasks such as listing projects, searching issues, creating tickets, and managing sprints through natural language queries.7982TypeScriptMIT
- AlicenseNot gradedqualityDmaintenanceA Simple Model Context Protocol server that enables AI assistants to interact with Jira, allowing operations like fetching tickets, adding comments, and updating ticket status.1Apache 2.0
- AlicenseCqualityDmaintenanceA Model Context Protocol server that enables AI assistants like Claude to interact with Jira Cloud instances, providing capabilities for issue management, project listing, and JQL search.1982MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Chase-Bullock/python-jira-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server