# Organization discovery, Sanity development rules, and improved tool outputs

**Version:** v2.7.0

**Published:** December 12, 2025

## New Features

- **List organizations tool.** New `list_organizations` tool to discover organization IDs before creating projects.
- **Sanity development rules.** New `list_sanity_rules` and `get_sanity_rules` tools expose framework-specific and topic-specific Sanity development guides (Next.js, Astro, Nuxt, schemas, GROQ, visual editing, and more).

## Improvements

- **Automatic CORS setup.** `create_project` now automatically adds a CORS origin (`http://localhost:3333` by default) enabling local development without manual configuration.
- **Clearer draft discard.** Renamed `version_discard_document` to `discard_draft` for better discoverability when users ask to discard drafts without deleting the entire document.
- **Cleaner tool outputs.** Restructured outputs from `list_projects`, `list_releases`, `list_datasets`, `list_embeddings_indices`, and `query_documents` for better LLM consumption and token efficiency.

## Fixes

- **OAuth metadata URLs.** Removed trailing slashes from OAuth discovery endpoints to fix compatibility with strict URL matching clients.

