---
title: "Mcp Create Context Section"
method: POST
path: "/v1/mcp/projects/{project_id}/context/sections"
tags: ["mcp"]
---

# Mcp Create Context Section

`POST /v1/mcp/projects/{project_id}/context/sections`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/mcp/projects/{project_id}/context/sections`
- Auth: none declared

Add a context section (mcp:*|project:settings:write — like the context PUT).
Records v1 history + recomputes the mirror.

## Path parameters

- `project_id` string, required

## Request body

- McpSectionIn
  - `title` string, required
  - `type` string: overview|writing|qa|constraints|terminology|other (open-set).
  - `languages` string[]: target codes; empty = all
  - `body` string
  - `position` integer, nullable

## Response `201`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sonenta/apis/sonenta-api.md) · [All operations](https://skmtc.dev/sonenta/apis/sonenta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sonenta/apis/sonenta-api/revisions/f853ea49fb05?raw)
