Files
clubber/openspec/changes/update-mcp-server-for-organization-members/tasks.md
T
gurixandClaude 82a2a46a8e docs: Create OpenSpec proposal for MCP server organization member support
Add comprehensive proposal to update the TypeScript MCP server to support
organization members. The GraphQL backend was updated in the
feat/organization-member-support branch to add memberType and companyName
fields, but the MCP server tools still assume all members are individuals.

Proposal includes:
- Detailed design for updating tool definitions and GraphQL queries
- Member formatting logic to distinguish individuals from organizations
- Comprehensive spec deltas with 22 scenarios covering all use cases
- 11 implementation tasks

All changes are contained in a single file: src/mcp_server.ts

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 13:34:56 +01:00

1.1 KiB

Tasks: Update MCP Server for Organization Members

  • Update create_member tool definition with memberType and companyName fields
  • Update update_member tool definition with memberType and companyName fields
  • Add memberType and companyName to listMembers GraphQL query
  • Add memberType and companyName to getMember GraphQL query
  • Add memberType and companyName to createMember mutation response
  • Add memberType and companyName to updateMember mutation response
  • Update formatMember function to distinguish between individual and organization members
  • Test individual member creation (verify existing behavior)
  • Test organization member creation (verify new behavior)
  • Test member listing with mixed member types (verify formatting)
  • Verify GraphQL schema introspection includes MemberType enum

Note: All changes are in a single file: src/mcp_server.ts