Skip to main content
Glama
piekstra

Slack MCP Server

by piekstra

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
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • 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)
  • 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")

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/piekstra/slack-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server