Skip to main content

Workspace Resources

MCP resources provide read-only access to your Tokencraft data. Claude can directly read workspace information without calling tools.

Resource URIs

List All Workspaces

workspace://list
Returns all workspaces for the authenticated user.

Specific Workspace

workspace://{workspace_id}
Returns details of a specific workspace.

Example Usage

In Claude

Claude automatically accesses resources when needed:
You: What's in my workspaces?

Claude: [Reads workspace://list resource]
        
        You have 3 workspaces...

Direct Access

You: Read the workspace resource

Claude: [Displays workspace data from MCP resource]

Resource Format

Resources return JSON data following the API response format:
{
  "workspaces": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "name": "Design System",
      "description": "Main product design system"
    }
  ]
}

Benefits

  • Faster: No API call needed for cached data
  • Efficient: Resources are cached by Claude
  • Automatic: Claude decides when to use resources vs tools

See Also