Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dmcaulay
Copy link
Contributor

@dmcaulay dmcaulay commented Sep 23, 2025

Summary

Enhanced the existing linear_get_teams endpoint to include workflow states and team members in the response, providing more comprehensive team information in a single API call.

Changes

  • Updated get_teams GraphQL query to include states and members fields
  • Updated endpoint description in server.py, teams.py, and documentation
  • Simplified approach by enhancing existing endpoint rather than adding a new one

Test Plan

  • Test that linear_get_teams returns all teams with their workflow states
  • Test that linear_get_teams returns all teams with their members
  • Verify backward compatibility - existing integrations should continue to work

🤖 Generated with Claude Code

Add detailed team endpoint that returns workflow states and team members
in addition to basic team information. Follows existing pattern of
having simple list endpoints (get_teams) and detailed single-item
endpoints (get_team_by_id) similar to get_issue_by_id.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@CLAassistant
Copy link

CLAassistant commented Sep 23, 2025

CLA assistant check
All committers have signed the CLA.

@dmcaulay dmcaulay marked this pull request as ready for review September 23, 2025 04:33
@udaykakade25
Copy link
Collaborator

Hey @dmcaulay, Thanks for the PR!
I see linear_get_team_by_id lists linear teams along with IDs mentioned, later used to extract states and members. But, linear_get_teams tool too extracts team ID, Key, Name etc.
Can you try integrating this tool into linear_get_teams instead. Would add the tool functionality!

dmcaulay and others added 2 commits September 23, 2025 08:27
- Updated get_teams endpoint to return workflow states and team members
- Simplified PR by removing separate get_team_by_id endpoint
- Updated documentation to reflect the enhanced functionality

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@dmcaulay dmcaulay changed the title feat(linear): add get_team_by_id endpoint with states and members feat(linear): enhance get_teams to include workflow states and members Sep 23, 2025
@dmcaulay
Copy link
Contributor Author

@udaykakade25 i've updated the change and created a loom https://www.loom.com/share/5393074efacd41e29d8f5e5ab3c58d07

@dmcaulay
Copy link
Contributor Author

@udaykakade25 do you have any additional concerns with this pull request?

@KornelWitkowski11
Copy link

@udaykakade25 Hi, any updates on when this will be merged? The Linear MCP server is quite limited without the ability to assign a status or member. For now, tasks can't even be updated from todo to in progress.

@zihaolin96 zihaolin96 merged commit 6e0a37d into Klavis-AI:main Oct 13, 2025
1 check passed
@zihaolin96
Copy link
Contributor

sorry for the delay! @dmcaulay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants