# Function getCapabilitiesForRole

MCP exports - MCP server implementation Split from index.ts for file size compliance (Issue #285) Updated Issue #538: Added missing tool registration exports

- getCapabilitiesForRole(role: string): readonly AgentCapability[] | undefined

  Gets capabilities for a given expert role.

  #### Parameters

  - role: string

  #### Returns readonly AgentCapability[] | undefined

  - Defined in packages/nexus-agents/src/mcp/tools/create-expert.ts:376