Skip to content

Commit 8095f29

Browse files
committed
fix: Standardize MCP tool names and remove redundant search
Rename MCP tools for brevity and consistency. Remove redundant jira_search_issues tool (use jira_ls_issues).
1 parent d2704c8 commit 8095f29

5 files changed

Lines changed: 4 additions & 105 deletions

File tree

README.md

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ This configuration launches the server automatically at runtime.
106106

107107
This section covers the MCP tools available when using this server with an AI assistant. Note that MCP tools use `snake_case` for tool names and `camelCase` for parameters.
108108

109-
## `jira_list_projects`
109+
## `jira_ls_projects`
110110

111111
List available Jira projects with optional filtering and pagination.
112112

@@ -142,7 +142,7 @@ _or:_
142142
143143
---
144144

145-
## `jira_list_issues`
145+
## `jira_ls_issues`
146146

147147
List issues matching a JQL (Jira Query Language) query with pagination.
148148

@@ -178,24 +178,6 @@ _or:_
178178
179179
---
180180

181-
## `jira_search_issues`
182-
183-
Search Jira content using JQL (Jira Query Language) for advanced filtering.
184-
185-
```json
186-
{ "jql": "text ~ 'login issue'" }
187-
```
188-
189-
_or:_
190-
191-
```json
192-
{ "jql": "project = PROJ AND priority = High AND created >= startOfMonth()" }
193-
```
194-
195-
> "Search for high priority issues created this month in the PROJ project."
196-
197-
---
198-
199181
# Command-Line Interface (CLI)
200182

201183
The CLI uses kebab-case for commands (e.g., `jira-list-projects`) and options (e.g., `--project-key-or-id`).
@@ -232,7 +214,6 @@ Or get detailed help for a specific command:
232214
```bash
233215
mcp-atlassian-jira jira-get-project --help
234216
mcp-atlassian-jira jira-list-issues --help
235-
mcp-atlassian-jira jira-search-issues --help
236217
```
237218

238219
---

src/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import { runCli } from './cli/index.js';
1111
// Import Jira-specific tools
1212
import atlassianProjectsTools from './tools/atlassian.projects.tool.js';
1313
import atlassianIssuesTools from './tools/atlassian.issues.tool.js';
14-
import atlassianSearchTools from './tools/atlassian.search.tool.js';
1514

1615
// Create a contextualized logger for this file
1716
const indexLogger = Logger.forContext('index.ts');
@@ -71,9 +70,6 @@ export async function startServer(mode: 'stdio' | 'sse' = 'stdio') {
7170
atlassianIssuesTools.registerTools(serverInstance);
7271
serverLogger.debug('Registered Issues tools');
7372

74-
atlassianSearchTools.registerTools(serverInstance);
75-
serverLogger.debug('Registered Search tools');
76-
7773
serverLogger.info('All tools registered successfully');
7874

7975
try {

src/tools/atlassian.issues.tool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ function registerTools(server: McpServer) {
116116

117117
// Register the list issues tool
118118
server.tool(
119-
'jira_list_issues',
119+
'jira_ls_issues',
120120
`Searches for Jira issues using a JQL query (\`jql\`),\n\twith pagination support (\`limit\`, \`cursor\`).\n\n- Use this to find issues matching specific criteria (project, status, assignee, text, etc.).\n- Provides issue keys/IDs needed for \`jira_get_issue\`.\nReturns a formatted list of matching issues including key, summary, type, status, priority, project, and dates.\n**Note:** Requires valid JQL syntax. See Jira documentation for JQL details. Default sort is by last updated.`,
121121
ListIssuesToolArgs.shape,
122122
listIssues,

src/tools/atlassian.projects.tool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function registerTools(server: McpServer) {
117117

118118
// Register the list projects tool
119119
server.tool(
120-
'jira_list_projects',
120+
'jira_ls_projects',
121121
`Lists Jira projects accessible to the user, optionally filtering by name/key (\`name\`) or sorting (\`orderBy\`).\n- Use this to discover available projects and find project keys/IDs needed for other tools (like \`jira_get_project\` or \`jira_list_issues\`).\n- Supports pagination via \`limit\` and \`cursor\`.\nReturns a formatted list of projects including key, name, type, style, lead, and URL.\n**Note:** Default sort is by most recently updated issue time.`,
122122
ListProjectsToolArgs.shape,
123123
listProjects,

src/tools/atlassian.search.tool.ts

Lines changed: 0 additions & 78 deletions
This file was deleted.

0 commit comments

Comments
 (0)