Tools Reference
Complete reference for all MCP tools.
The Enhance MCP server provides 15 tools organized into four categories: search, issues, code context, and wiki/documentation.
Search tools
search_code
Multi-strategy code search combining semantic, codebase map, path matching, and graph traversal.
| Parameter | Type | Required | Description |
|---|---|---|---|
repositoryId | string | Yes | Enhance repository ID |
query | string | Yes | Search query (min 3 characters) |
limit | number | No | Max results (1-50, default: 20) |
Scope: search:read
search_knowledge
RAG search across documentation and knowledge base with LLM-synthesized answers.
| Parameter | Type | Required | Description |
|---|---|---|---|
projectId | string | Yes | Enhance project ID |
question | string | Yes | Natural language question |
dataSourceTypes | string[] | No | Filter by source types (e.g., ["wiki", "issue"]) |
Scope: search:read
search_issues
Semantic issue search using vector embedding similarity.
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Natural language search (min 3 characters) |
projectId | string | No | Filter to specific project |
workspaceId | string | No | Filter to workspace |
limit | number | No | Max results (1-20, default: 5) |
Scope: search:read
Issue tools
list_issues
List issues with optional filters.
| Parameter | Type | Required | Description |
|---|---|---|---|
projectId | string | No | Filter to project |
workspaceId | string | No | Filter to workspace |
status | string | No | Filter by status name |
priority | string | No | Filter by priority name |
type | string | No | Filter by type name |
limit | number | No | Max results (1-50, default: 20) |
Scope: issues:read
get_issue
Get detailed information about a specific issue including description, tags, and affected files.
| Parameter | Type | Required | Description |
|---|---|---|---|
issueId | string | Yes | Enhance issue ID |
Scope: issues:read
create_issue
Create a new issue in a project.
| Parameter | Type | Required | Description |
|---|---|---|---|
projectId | string | Yes | Enhance project ID |
title | string | Yes | Issue title (1-200 chars) |
description | string | No | Issue description |
status | string | No | Status name (default: "Backlog") |
priority | string | No | Priority name (default: "Medium") |
type | string | No | Type name (default: "Task") |
tags | string[] | No | Tag names (auto-created if not exist) |
Scope: issues:write
Automatically triggers the issue-processing workflow if enabled.
update_issue
Update an existing issue.
| Parameter | Type | Required | Description |
|---|---|---|---|
issueId | string | Yes | Enhance issue ID |
title | string | No | New title |
description | string | No | New description |
status | string | No | New status name |
priority | string | No | New priority name |
type | string | No | New type name |
addTags | string[] | No | Tags to add |
removeTags | string[] | No | Tags to remove |
Scope: issues:write
Code context tools
get_codebase_map
Get the codebase map for a repository including domains, entry points, module graph, and tech stack.
| Parameter | Type | Required | Description |
|---|---|---|---|
repositoryId | string | Yes | Enhance repository ID |
Scope: code:read
get_file_content
Read the content of a specific file from a repository.
| Parameter | Type | Required | Description |
|---|---|---|---|
repositoryId | string | Yes | Enhance repository ID |
path | string | Yes | File path (e.g., "src/auth.ts") |
maxLines | number | No | Max lines (1-1000, default: 500) |
Scope: code:read
Wiki tools
list_wiki_pages
List wiki pages in a project.
| Parameter | Type | Required | Description |
|---|---|---|---|
projectId | string | Yes | Enhance project ID |
Scope: wiki:read
get_wiki_page
Get the full content of a wiki page.
| Parameter | Type | Required | Description |
|---|---|---|---|
pageId | string | Yes | Wiki page ID |
Scope: wiki:read
create_wiki_page
Create a new wiki page.
| Parameter | Type | Required | Description |
|---|---|---|---|
projectId | string | Yes | Enhance project ID |
title | string | Yes | Page title |
content | string | No | Markdown content |
parentId | string | No | Parent page ID for hierarchy |
source | string | No | "internal" (default) or "dev_plan" |
Scope: wiki:write
update_wiki_page
Update an existing wiki page.
| Parameter | Type | Required | Description |
|---|---|---|---|
pageId | string | Yes | Wiki page ID |
title | string | No | New title |
content | string | No | New content |
Scope: wiki:write
Dev plan tools
list_dev_plans
List dev plan documents in a project.
| Parameter | Type | Required | Description |
|---|---|---|---|
projectId | string | Yes | Enhance project ID |
Scope: dev_plans:read
create_dev_plan
Create a dev plan document. Dev plans are markdown documents shown in a separate wiki section.
| Parameter | Type | Required | Description |
|---|---|---|---|
projectId | string | Yes | Enhance project ID |
title | string | Yes | Plan title |
content | string | No | Markdown content |
parentId | string | No | Parent page ID |
Scope: dev_plans:write
get_dev_plan / update_dev_plan
Read or update a dev plan. Same parameters as get_wiki_page / update_wiki_page.
Scope: dev_plans:read / dev_plans:write