Skip to content

Commit 0321374

Browse files
committed
add temporary instructions
1 parent 0418808 commit 0321374

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pkg/github/server.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,15 @@ import (
1313
// NewServer creates a new GitHub MCP server with the specified GH client and logger.
1414

1515
func NewServer(version string, opts ...server.ServerOption) *server.MCPServer {
16+
const instructions = `GitHub MCP Server - Provides tools for GitHub operations for things like pull requests, issues, repositories, and more.
17+
When using this MCP Server, keep in mind these common arguments used across many tools:
18+
• "owner" - Repository owner (username or organization)
19+
• "repo" - Repository name
20+
• "page" - Page number for pagination (min: 1)
21+
• "perPage" - Results per page (min: 1, max: 100)`
1622
// Add default options
1723
defaultOpts := []server.ServerOption{
24+
server.WithInstructions(instructions),
1825
server.WithToolCapabilities(true),
1926
server.WithResourceCapabilities(true, true),
2027
server.WithLogging(),

0 commit comments

Comments
 (0)