Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cline/linear-mcp
/ functions
Functions
104 in github.com/cline/linear-mcp
⨍
Functions
104
◇
Types & classes
78
↓ 21 callers
Method
execute
( document: DocumentNode, variables?: V )
src/graphql/client.ts:52
↓ 21 callers
Method
initialize
(config: AuthConfig)
src/auth.ts:170
↓ 7 callers
Method
createProjectMilestone
(input: ProjectMilestoneCreateInput)
src/graphql/client.ts:224
↓ 7 callers
Method
handleCallback
(code: string)
src/auth.ts:72
↓ 6 callers
Method
getAuthorizationUrl
()
src/auth.ts:51
↓ 6 callers
Method
getClient
()
src/auth.ts:193
↓ 6 callers
Method
isAuthenticated
()
src/auth.ts:203
↓ 6 callers
Method
needsTokenRefresh
()
src/auth.ts:207
↓ 5 callers
Method
refreshAPIKey
()
src/auth.ts:122
↓ 5 callers
Method
searchIssues
( filter: SearchIssuesInput['filter'], first: number = 50, after?: string, orderBy: string
src/graphql/client.ts:148
↓ 5 callers
Method
setTokenData
(tokenData: TokenData)
src/auth.ts:213
↓ 4 callers
Method
createProjectWithIssues
(projectInput: ProjectInput, issues: CreateIssueInput[])
src/graphql/client.ts:100
↓ 4 callers
Method
searchProjectMilestones
(options: { filter?: any; first?: number; after?: string; orderBy?: string; } = {})
src/graphql/client.ts:248
↓ 3 callers
Method
createIssue
(input: CreateIssueInput)
src/graphql/client.ts:72
↓ 3 callers
Method
deleteProjectMilestone
(id: string)
src/graphql/client.ts:236
↓ 3 callers
Method
getCurrentUser
()
src/graphql/client.ts:170
↓ 3 callers
Function
getProjectDescription
(project: Project)
src/features/projects/types/project.types.ts:39
↓ 3 callers
Method
getProjectMilestone
(id: string)
src/graphql/client.ts:242
↓ 3 callers
Method
getProjectMilestoneDescription
* Utility function to get the actual project milestone description * Prioritizes documentContent.content over legacy description field
src/features/milestones/handlers/milestone.handler.ts:306
↓ 3 callers
Method
getTeams
()
src/graphql/client.ts:164
↓ 3 callers
Method
updateIssues
(ids: string[], input: UpdateIssueInput)
src/graphql/client.ts:136
↓ 3 callers
Method
updateProjectMilestone
(id: string, input: ProjectMilestoneUpdateInput)
src/graphql/client.ts:230
↓ 2 callers
Method
createIssueLabels
(labels: LabelInput[])
src/graphql/client.ts:142
↓ 2 callers
Method
createIssues
(issues: CreateIssueInput[])
src/graphql/client.ts:78
↓ 2 callers
Method
createProject
(input: ProjectInput)
src/graphql/client.ts:86
↓ 2 callers
Method
deleteIssue
(id: string)
src/graphql/client.ts:188
↓ 2 callers
Method
deleteIssues
(ids: string[])
src/graphql/client.ts:196
↓ 2 callers
Method
getProject
(id: string)
src/graphql/client.ts:176
↓ 2 callers
Method
searchProjects
(filter: { name?: { eq: string } })
src/graphql/client.ts:182
↓ 2 callers
Method
updateIssue
(id: string, input: UpdateIssueInput)
src/graphql/client.ts:127
↓ 1 callers
Method
createBatchIssues
(issues: CreateIssueInput[])
src/graphql/client.ts:92
↓ 1 callers
Method
createComment
(input: CreateCommentInput)
src/graphql/client.ts:218
↓ 1 callers
Function
createMockClient
()
src/__tests__/config/jest.setup.ts:41
↓ 1 callers
Method
extractIssueNumber
* Helper method to extract the issue number from an identifier (e.g., "IDE-11" -> 11)
src/features/issues/handlers/issue.handler.ts:203
↓ 1 callers
Method
generateState
()
src/auth.ts:220
↓ 1 callers
Method
getHandlerForTool
* Gets the appropriate handler for a given tool name.
src/core/handlers/handler.factory.ts:38
↓ 1 callers
Method
getIssueComments
( issueId: string, first: number = 50, after?: string, includeArchived: boolean = false )
src/graphql/client.ts:202
↓ 1 callers
Function
main
()
scripts/get-test-tokens.ts:9
↓ 1 callers
Function
main
()
scripts/test-oauth.ts:7
↓ 1 callers
Method
run
()
src/index.ts:87
↓ 1 callers
Method
setupRequestHandlers
()
src/index.ts:63
↓ 1 callers
Function
testAPIKey
()
scripts/get-test-tokens.ts:21
↓ 1 callers
Function
testOAuth
()
scripts/get-test-tokens.ts:41
Function
constructor
( protected readonly auth: LinearAuth, protected readonly graphqlClient: LinearGraphQLClient | undefin
src/core/handlers/base.handler.ts:11
Method
constructor
()
src/index.ts:25
Method
constructor
()
src/auth.ts:49
Method
constructor
(auth: LinearAuth, graphqlClient?: LinearGraphQLClient)
src/core/handlers/handler.factory.ts:24
Method
constructor
(auth: LinearAuth, graphqlClient?: LinearGraphQLClient)
src/features/users/handlers/user.handler.ts:11
Method
constructor
(auth: LinearAuth, graphqlClient?: LinearGraphQLClient)
src/features/auth/handlers/auth.handler.ts:11
Method
constructor
(auth: LinearAuth, graphqlClient?: LinearGraphQLClient)
src/features/projects/handlers/project.handler.ts:12
Method
constructor
(auth: LinearAuth, graphqlClient?: LinearGraphQLClient)
src/features/issues/handlers/issue.handler.ts:27
Method
constructor
(auth: LinearAuth, graphqlClient?: LinearGraphQLClient)
src/features/comments/handlers/comment.handler.ts:18
Method
constructor
(auth: LinearAuth, graphqlClient?: LinearGraphQLClient)
src/features/milestones/handlers/milestone.handler.ts:12
Method
constructor
(auth: LinearAuth, graphqlClient?: LinearGraphQLClient)
src/features/teams/handlers/team.handler.ts:11
Method
constructor
(linearClient: LinearClient)
src/graphql/client.ts:48
Function
createJsonResponse
* Creates a JSON response with the given data.
src/core/handlers/base.handler.ts:52
Function
createResponse
* Creates a successful response with the given text content.
src/core/handlers/base.handler.ts:38
Function
getMockLinearClient
()
src/__tests__/config/jest.setup.ts:59
Method
handleAuth
(args: any)
src/core/interfaces/tool-handler.interface.ts:7
Method
handleAuth
* Initializes OAuth flow with Linear.
src/features/auth/handlers/auth.handler.ts:18
Method
handleAuthCallback
(args: any)
src/core/interfaces/tool-handler.interface.ts:8
Method
handleAuthCallback
* Handles OAuth callback after user authorization.
src/features/auth/handlers/auth.handler.ts:42
Method
handleBulkUpdateIssues
(args: any)
src/core/interfaces/tool-handler.interface.ts:13
Method
handleBulkUpdateIssues
(args: BulkUpdateIssuesInput)
src/features/issues/types/issue.types.ts:127
Method
handleBulkUpdateIssues
* Updates multiple issues in bulk.
src/features/issues/handlers/issue.handler.ts:116
Method
handleCreateComment
(args: CreateCommentInput)
src/features/comments/types/comment.types.ts:79
Method
handleCreateComment
* Creates a new comment on an issue or replies to an existing comment.
src/features/comments/handlers/comment.handler.ts:82
Method
handleCreateIssue
(args: any)
src/core/interfaces/tool-handler.interface.ts:11
Method
handleCreateIssue
(args: CreateIssueInput)
src/features/issues/types/issue.types.ts:125
Method
handleCreateIssue
* Creates a single issue.
src/features/issues/handlers/issue.handler.ts:34
Method
handleCreateIssues
(args: any)
src/core/interfaces/tool-handler.interface.ts:12
Method
handleCreateIssues
(args: CreateIssuesInput)
src/features/issues/types/issue.types.ts:126
Method
handleCreateIssues
* Creates multiple issues in bulk.
src/features/issues/handlers/issue.handler.ts:85
Method
handleCreateProjectMilestone
* Creates a new project milestone.
src/features/milestones/handlers/milestone.handler.ts:19
Method
handleCreateProjectMilestones
* Creates multiple project milestones at once.
src/features/milestones/handlers/milestone.handler.ts:233
Method
handleCreateProjectWithIssues
(args: any)
src/core/interfaces/tool-handler.interface.ts:19
Method
handleCreateProjectWithIssues
* Creates a new project with associated issues * @example * ```typescript * const result = await handler.handleCreateProjectWithIssues({ *
src/features/projects/handlers/project.handler.ts:37
Method
handleDeleteIssue
(args: any)
src/core/interfaces/tool-handler.interface.ts:15
Method
handleDeleteIssue
(args: DeleteIssueInput)
src/features/issues/types/issue.types.ts:129
Method
handleDeleteIssue
* Deletes a single issue.
src/features/issues/handlers/issue.handler.ts:214
Method
handleDeleteIssues
(args: any)
src/core/interfaces/tool-handler.interface.ts:16
Method
handleDeleteIssues
(args: DeleteIssuesInput)
src/features/issues/types/issue.types.ts:130
Method
handleDeleteIssues
* Deletes multiple issues in bulk.
src/features/issues/handlers/issue.handler.ts:234
Method
handleDeleteProjectMilestone
* Deletes a project milestone.
src/features/milestones/handlers/milestone.handler.ts:110
Function
handleError
* Handles errors consistently across all handlers.
src/core/handlers/base.handler.ts:59
Method
handleGetIssueComments
(args: GetIssueCommentsInput)
src/features/comments/types/comment.types.ts:78
Method
handleGetIssueComments
* Gets comments for a specific issue, including threaded replies.
src/features/comments/handlers/comment.handler.ts:25
Method
handleGetProject
(args: any)
src/core/interfaces/tool-handler.interface.ts:20
Method
handleGetProject
* Gets information about a specific project.
src/features/projects/handlers/project.handler.ts:117
Method
handleGetProjectMilestone
* Gets information about a specific project milestone.
src/features/milestones/handlers/milestone.handler.ts:130
Method
handleGetProjectMilestones
* Gets project milestones for a specific project.
src/features/milestones/handlers/milestone.handler.ts:199
Method
handleGetTeams
(args: any)
src/core/interfaces/tool-handler.interface.ts:24
Method
handleGetTeams
* Gets information about all teams, including their states and labels.
src/features/teams/handlers/team.handler.ts:18
Method
handleGetUser
(args: any)
src/core/interfaces/tool-handler.interface.ts:27
Method
handleGetUser
* Gets information about the currently authenticated user.
src/features/users/handlers/user.handler.ts:18
Method
handleSearchIssues
(args: any)
src/core/interfaces/tool-handler.interface.ts:14
Method
handleSearchIssues
(args: SearchIssuesInput)
src/features/issues/types/issue.types.ts:128
Method
handleSearchIssues
* Searches for issues with filtering and pagination.
src/features/issues/handlers/issue.handler.ts:156
Method
handleSearchProjectMilestones
* Searches for project milestones with filtering and pagination.
src/features/milestones/handlers/milestone.handler.ts:154
Method
handleSearchProjects
(args: any)
src/core/interfaces/tool-handler.interface.ts:21
next →
1–100 of 104, ranked by callers