Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Migrate code-scanning toolset to modelcontextprotocol/go-sdk#1430

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletionsinternal/ghmcp/server.go
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -57,8 +57,6 @@ type MCPServerConfig struct {
Logger *slog.Logger
}

const stdioServerLogPrefix = "stdioserver"

func NewMCPServer(cfg MCPServerConfig) (*mcp.Server, error) {
apiHost, err := parseAPIHost(cfg.Host)
if err != nil {
Expand Down
30 changes: 15 additions & 15 deletionspkg/github/__toolsnaps__/get_code_scanning_alert.snap
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
{
"annotations": {
"title":"Get code scanning alert",
"readOnlyHint":true
"readOnlyHint":true,
"title":"Get code scanning alert"
},
"description": "Get details of a specific code scanning alert in a GitHub repository.",
"inputSchema": {
"type": "object",
"required": [
"owner",
"repo",
"alertNumber"
],
"properties": {
"alertNumber": {
"description": "Thenumber of the alert.",
"type": "number"
"type": "number",
"description": "Thenumber of the alert."
},
"owner": {
"description": "The owner of the repository.",
"type": "string"
"type": "string",
"description": "The owner of the repository."
},
"repo": {
"description": "The name of the repository.",
"type": "string"
"type": "string",
"description": "The name of the repository."
}
},
"required": [
"owner",
"repo",
"alertNumber"
],
"type": "object"
}
},
"name": "get_code_scanning_alert"
}
42 changes: 21 additions & 21 deletionspkg/github/__toolsnaps__/list_code_scanning_alerts.snap
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,30 @@
{
"annotations": {
"title":"List code scanning alerts",
"readOnlyHint":true
"readOnlyHint":true,
"title":"List code scanning alerts"
},
"description": "List code scanning alerts in a GitHub repository.",
"inputSchema": {
"type": "object",
"required": [
"owner",
"repo"
],
"properties": {
"owner": {
"description": "The owner of the repository.",
"type": "string"
"type": "string",
"description": "The owner of the repository."
},
"ref": {
"description": "The Git reference for the results you want to list.",
"type": "string"
"type": "string",
"description": "The Git reference for the results you want to list."
},
"repo": {
"description": "The name of the repository.",
"type": "string"
"type": "string",
"description": "The name of the repository."
},
"severity": {
"type": "string",
"description": "Filter code scanning alerts by severity",
"enum": [
"critical",
Expand All@@ -28,30 +34,24 @@
"warning",
"note",
"error"
],
"type": "string"
]
},
"state": {
"default": "open",
"type": "string",
"description": "Filter code scanning alerts by state. Defaults to open",
"default": "open",
"enum": [
"open",
"closed",
"dismissed",
"fixed"
],
"type": "string"
]
},
"tool_name": {
"description": "The name of the tool used for code scanning.",
"type": "string"
"type": "string",
"description": "The name of the tool used for code scanning."
}
},
"required": [
"owner",
"repo"
],
"type": "object"
}
},
"name": "list_code_scanning_alerts"
}
Loading
Loading

[8]ページ先頭

©2009-2025 Movatter.jp