get_team_info
Retrieve detailed information about your Slack workspace or team using this tool. Access workspace-specific data efficiently within the Slack MCP Server environment.
Instructions
Get information about the Slack workspace/team.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- slack_mcp/server.py:446-455 (handler)MCP tool handler decorated with @mcp.tool() that executes the get_team_info logic by instantiating SlackClient and calling its method, serializing the result to JSON.@mcp.tool() async def get_team_info() -> str: """Get information about the Slack workspace/team.""" try: client = SlackClient() result = await client.get_team_info() return json.dumps(result, indent=2) except Exception as e: return json.dumps({"error": str(e)}, indent=2)
- slack_mcp/server.py:187-190 (helper)SlackClient helper method that makes the actual API request to Slack's team.info endpoint.async def get_team_info(self) -> Dict[str, Any]: """Get information about the Slack workspace/team.""" return await self._make_request("GET", "team.info")