Sequential thinking MCP data privacy

The reference sequential thinking MCP server writes thought text to stderr by default and keeps up to 1000 thoughts per connection in memory. This page explains what reviewers should check about where reasoning text ends up.

On this page

Where sequential thinking MCP reasoning text ends up and whether it meets data privacy review

The reference sequential thinking MCP server has no enterprise tier, no SSO and no audit trail of its own. Each thought is written to stderr as a box unless the environment variable DISABLE_THOUGHT_LOGGING is set to true, and the server keeps up to MAX_THOUGHT_HISTORY thoughts (default 1000) in memory, dropping the oldest past the cap, for as long as the client connection lasts. A reviewer should therefore treat the server as a place where reasoning text is held in two places on the host: the process's stderr stream and the server's memory. Neither location is a managed data store with its own retention setting, so approval depends on what the host and client do with that output, not on anything the server promises.

Retention and access control come from the host and client. Whoever runs the process decides where stderr goes: a terminal, a file, a container log driver or a log aggregator. Those destinations may keep text for longer than the connection does, and they may be readable by people who have no access to the coding agent itself. The in-memory history is cleared when the connection ends, but the server does not expose a separate deletion or export control. Ask the platform team to confirm where stderr is captured in each deployment, whether that capture is covered by the organization's existing log retention and access rules, and whether it is acceptable for a Docker run started with --rm and -i to be the only runtime record.

For approval, the practical decision is whether to set DISABLE_THOUGHT_LOGGING to true for any environment that handles regulated, customer or secret data, and to cap MAX_THOUGHT_HISTORY at a value the reviewer accepts. Confirm the logging behavior against the version you deploy, because the server's README is the source for these settings. Note that the README describes the log as shortened (at most 100 characters wide and 1000 rows) while the full thought stays in history, so turning logging off does not remove the in-memory copy. If the reasoning may contain sensitive content, the review should also cover the agent's own transcript and any model provider terms, which sit outside this server. The Sequential Thinking MCP Server README is the reference for these settings.

Logging, history and retention controls by capability

This table compares each logging, history and retention control in the reference Sequential Thinking server by what is built in, what can be configured, and what needs an outside component or is not described. Read each row as a question to confirm in your own test run before approval. No paid edition applies, because this is the open reference implementation in the MCP project, so the same controls apply to every organization that runs it.

CapabilityBuilt inConfigurableOutside component or gap
Thought logging to stderrYes, each thought is written to stderr as a boxOnly through DISABLE_THOUGHT_LOGGINGNone needed, but whatever captures the process's stderr keeps the log
Turning off thought loggingSupported as an environment variableYes, set DISABLE_THOUGHT_LOGGING to trueNot applicable
Log box width and row limitYes, box is at most 100 characters wide and shows at most 1000 rowsNo setting for these limits is described in the READMEOnly the log is shortened, the full thought stays in history
In-memory history capYes, the server drops the oldest thought past the cap, including from its branchYes, through MAX_THOUGHT_HISTORY, default 1000 per connectionNot applicable
History lifetimeYes, history lasts as long as the client's connectionNot described in the READMEEnds with the connection, so nothing is kept after it closes
Persistent storage of thoughtsNo file or database store is described in the READMENot described in the READMEAny durable record needs a store you build and control

How the server logs and holds each thought

A client sends a thought to the server's single tool, and the server does two things with it: it appends the thought to an in-memory history for that connection, and it writes a bounded summary of the thought to stderr as a box. The log copy is shortened, but the history copy is not. According to the README, each logged box is at most 100 characters wide and shows at most 1000 rows of thought text, and only the log is shortened, so the server keeps the whole thought in its history. A reviewer should therefore treat the full reasoning text as held by the server process for as long as the connection lasts, even though the log view looks small.

The history is scoped to one client connection and to the branch that thought belongs to. The README says the history lasts as long as the client's connection, and that the server keeps at most MAX_THOUGHT_HISTORY thoughts per connection (default 1000), dropping the oldest past the cap, including from its branch. Ask the team deploying it whether MAX_THOUGHT_HISTORY is set anywhere, since the default is the value the README documents and any override changes how much reasoning text is retained. Confirm too that nothing in your deployment writes history to disk, because the README describes an in-memory store.

Where the stderr output goes is decided by the host that launches the process, not by the server. When an IDE or desktop client starts the server over stdio, the client controls whether stderr is discarded, shown in a developer log panel, or written to a file. Check that log destination in each client configuration, and confirm who can read it. To stop thought text reaching logs at all, set DISABLE_THOUGHT_LOGGING to true, which the README says disables logging of thought information. This setting affects the log only; history still holds the thoughts for the life of the connection.

Decisions reviewers must make on logging and retention

Each card is a setting or deployment choice that determines where reasoning text lands and how long it survives. Reviewers should settle them together, because logging, history size and run mode all affect what remains after a session ends. The sources below describe the reference server's behavior, so confirm each choice against the version your team actually installs.

Keep thought logging on or off

Every thought is written to stderr as a box, so the decision is whether that text should appear in logs at all. Setting DISABLE_THOUGHT_LOGGING to true stops thought information from being logged. Check whether your IDE or client captures the server's stderr, and whether those captured logs fall under your retention and access rules. Ask the team to test the setting in a non-production session and read what actually appears.

Server README

Set stderr capture and retention

Logging is only as contained as the place stderr goes. Identify which process receives the server's stderr output, such as the editor's MCP log panel, a wrapper script, or a container log driver, and who can read it. Confirm the retention period for each of those stores with the tool owner and your logging platform, since the README does not set one. Treat stored thought text as sensitive planning material.

Lower the history cap

The server keeps up to MAX_THOUGHT_HISTORY thoughts per connection, with a default of 1000, and drops the oldest past the cap, including from its branches. Reviewers should decide whether that default fits their planning sessions or whether a lower value limits how much reasoning sits in memory during one connection. Confirm the setting name and accepted values in the version you deploy, and document the value in your configuration baseline.

Run locally or in a container

Running over stdio on a developer machine keeps history in that process, and it ends when the client's connection closes. The Docker image mcp/sequentialthinking runs with --rm and -i, so the container is removed on exit and its in-memory history goes with it. Decide which mode your policy permits, and confirm that no host volume, log driver or wrapper script keeps output after the container stops.

Run options in README

Approve which sessions may send sensitive text

The server holds whatever planning text the client sends, so the real control sits in the client. Decide which repositories, projects and data classes may be discussed in sessions that call this tool, and whether engineers may paste customer data, credentials or unreleased security findings into reasoning steps. Write that rule into your acceptable use guidance, and ask the client vendor which admin controls can restrict MCP server use.

How the answer changes by deployment and data sensitivity

When a developer runs the server as a local stdio process, the thought history sits in that process's memory for as long as the client's connection stays open. Each thought is also written to stderr, so the record is kept wherever the client or the terminal captures that output on the laptop. The Sequential Thinking MCP Server README documents these behaviors, but the client's own log handling is a separate question you must confirm.

  • Logging: each thought is written to stderr as a box, at most 100 characters wide and showing at most 1000 rows of thought text.
  • History: the server keeps up to MAX_THOUGHT_HISTORY thoughts per connection (default 1000), dropping the oldest, and the history ends with the connection.
  • Runtime: an npx launch requires Node.js 24 or later, so the Node version on each laptop belongs in the review.
  • Configuration: whether DISABLE_THOUGHT_LOGGING is set to true must be decided for every developer's client configuration.

Before approving this setup, check whether developers can edit their client configuration and whether stderr output is saved to disk.

Order of work before approving the server

This sequence confirms where the server comes from, sets how reasoning text is logged and kept, and proves the result in a test session before any staff member connects a coding agent. The output is a documented decision that a reviewer can check against the server's behavior.

  1. Confirm the official package and image source

    Confirm that the server is the reference Sequential Thinking implementation in the modelcontextprotocol/servers repository, published on npm as @modelcontextprotocol/server-sequential-thinking, and that the Docker image is mcp/sequentialthinking. Packages with similar names from other publishers are community servers and need their own review. The engineer who owns the MCP configuration records the package name, the image name, and the version or digest they tested, so the approval points to one exact artifact.

  2. Decide the thought logging setting

    Decide whether thought logging to stderr stays on or is turned off by setting DISABLE_THOUGHT_LOGGING to true. The security or privacy reviewer makes this call, because the choice determines whether reasoning text reaches the log destination at all. The decision is written into the approval record along with the reason, so the configuration can be audited later.

  3. Set or accept the history cap

    Review the default cap of 1000 thoughts per connection, which the MAX_THOUGHT_HISTORY setting controls, and decide whether to keep it or set a different value. The server drops the oldest thoughts past the cap, including those in its branches, so the cap sets how much reasoning text can sit in memory during one session. The owner records the chosen value in the configuration and confirms it in the test session.

  4. Define where stderr goes and how long it is kept

    Decide where the server's stderr output is captured, such as the client's log directory, a central log platform, or a container log driver, and who can read it. Confirm the retention period with the team that operates that destination, since the server does not set one. The output is a short written statement naming the destination, the access list and the retention owner, which the reviewer can check against the environment.

  5. Choose stdio or Docker with --rm

    Choose whether the server runs locally over stdio through npx (Node.js 24 or later is required for npx or source runs) or as a Docker container started with the --rm and -i flags. With --rm, the container is removed when it stops, so its state does not persist on the host after a session. The platform engineer records the chosen method and the launch configuration, which becomes the reference for later reviews.

  6. Write a staff rule on thought content

    Write a short rule telling staff what may appear in thoughts sent to the server, such as no customer records, credentials, secrets, or regulated personal data unless the approving team has cleared that use. The rule covers the coding agent's reasoning, not only the user's prompt, because thoughts are what the agent writes into the tool. Security issues the rule, and the owner of the coding agent rollout confirms that staff have received it before access is granted.

  7. Verify with a test session

    Run a test session with harmless sample content and then review the stderr output to confirm that thoughts appear as boxes at the expected width and line limits, or do not appear when logging is off. Then disconnect the client and confirm that the thought history is gone, since the history lasts only as long as the client's connection. The reviewer signs off only when both checks match the recorded settings, and any mismatch sends the configuration back to the earlier steps.

Evidence a security reviewer asks for and where it comes from

This table lists the evidence a reviewer should request for the sequential thinking MCP server and where each item lives. The README sets defaults only, so the live logging setting, log retention and launch flags must be confirmed in the client configuration, host log pipeline and runtime environment. Use the table to build a request list before approving the server.

Evidence itemWhat to ask forWhere it lives
Logging setting in effectThe value of DISABLE_THOUGHT_LOGGING in each client or container definition, and confirmation that no override exists in a parent environmentClient config and runtime config
Stderr capture location and retentionWhere the client writes server stderr, who can read it, and the retention period set by the log platformHost log pipeline
MAX_THOUGHT_HISTORY valueThe configured cap per connection, confirmed against the README default of 1000, and the reviewer's view of whether that matches the data policyRuntime config (environment variable)
Container launch flagsThe exact docker run arguments in use, confirming --rm and -i are present and that no volume mounts or network settings add persistenceClient config (Docker entry)
Package and image version pinnedThe npm package version or image tag in use, with the date it was pinned and the process for upgrading itClient config and internal policy
Staff guidance on thought contentWritten instructions on what staff may place in prompts and whether thoughts may contain customer, credential or personal dataInternal policy
Connection lifetimeConfirmation that thought history ends with the client connection, and how the client handles reconnects and session resetsClient config and host operations

Questions buyers ask before approving reasoning-text logging

Does the sequential thinking MCP server send my thoughts to the vendor?

The server's README does not describe any transfer of thought text to Anthropic, Docker or any other outside party. The server writes logs to stderr on the host and keeps history in memory for the connection. Reviewers should still confirm where reasoning text goes through the client and the model provider, because the coding agent sends its own prompts and context to its model service. Those flows are governed by the client's terms and are separate from this server. Ask the client vendor for its data processing terms and check the network path from the workstation or container during a controlled test.

How long does the server keep thought text?

The README says the thought history lasts as long as the client's connection, and the server keeps at most MAX_THOUGHT_HISTORY thoughts per connection (default 1000), dropping the oldest past the cap. The history is held in memory, so it is not written to a database by the server. The stderr copy is different: its retention depends on the host. In a terminal it may be gone when the window closes, while a log collector, a container log driver or a process supervisor may store it for a set period. Confirm the retention of those host-level logs, not the server's.

Is the cost of approving this server material?

The server itself has no fee stated in its README, so the cost comes from the host and from review time. The reference package is published on npm, and the Docker image is run with the flags --rm and -i, so the main infrastructure is the machine or container that runs it. Review effort covers confirming the log settings, setting the environment variable for each deployment, and checking that the client and model provider terms meet your policy. Those costs are mostly one-time, with recurring effort when the client or server version changes. Ask the client vendor for its own pricing, since that cost is separate.

Can staff turn thought logging off themselves?

Yes, through an environment variable. Setting DISABLE_THOUGHT_LOGGING to true disables logging of thought information, and the README describes it as a switch for the server process. Because it is an environment setting, the value must be applied in the configuration each user or container starts with, such as the Claude Desktop, VS Code or Docker configuration. Policy is harder to enforce on personal machines, so an organization that needs the setting enforced should centralize the configuration it deploys and confirm that the setting survives client upgrades. Test the setting by checking stderr after a sample run.

Does the log show the full reasoning text?

Not always. The README says each thought is logged to stderr as a box, one row per line, with the box at most 100 characters wide and at most 1000 rows of thought text shown. Only the log is shortened, and the server keeps the whole thought in its history. For a reviewer, this means a log review may show partial reasoning, while the in-memory history for the connection holds the complete text. Treat both as sensitive if the thoughts can contain code, credentials or customer data, and do not assume the log is a complete record.

Does the server store thoughts after a session ends?

The README does not describe persistence of thought history beyond the client's connection. Because the history lasts only as long as that connection, a new session starts without earlier thoughts from the server's memory. The stderr output is the one place thought text is written to a file-like stream, and whether it persists depends on the host's log handling. Ask the engineering team to document where stderr goes for each deployment, including developer laptops, CI runners and containers, and to name the owner of each log store.

When is outside help useful for this review?

Outside help is useful when the reasoning text may include regulated data, when logs are collected centrally and must meet an audit requirement, or when the coding agent is used across many developer environments. DeployOpen plans and implements self-hosted open-source platforms in the client's own infrastructure, and runs security testing that includes AI agent rollout reviews covering data exposure and credential handling. Scope and deliverables are agreed in writing before work begins, and a quote follows from that scope. DeployOpen prepares evidence for compliance assessments but does not issue audit reports or certifications.

Primary source for each claim on this page

Every logging, retention and history claim on this page comes from the official README for the reference Sequential Thinking MCP server, which is maintained in the modelcontextprotocol/servers repository. Read that document before approving the server, because it is the only source this page relies on for how thought text is logged and kept. The README describes the stderr logging behavior, the DISABLE_THOUGHT_LOGGING switch, the MAX_THOUGHT_HISTORY cap and the connection-scoped lifetime of the history, and reviewers should check each of these against the version they plan to deploy. Sequential Thinking MCP Server README is the page to open first.

Confirm three things in the README against your own build. First, check whether the default logging behavior matches what your log collection pipeline is allowed to receive, since stderr output is often captured by the host application and forwarded to central logging. Second, check the default for MAX_THOUGHT_HISTORY and whether your team intends to change it. Third, confirm that the README's statement that history ends with the client's connection matches how your agent client starts and stops the server. If the README and the running server disagree, treat the running behavior as the fact to document and raise the difference with the maintainers before rollout.

Record the README version, the npm package version or Docker image tag you tested, and the date you checked it in your rollout file. The reference server is updated over time, so a data-privacy review is only valid for the release it examined. Re-read the README when you upgrade the package or pull a new image, and repeat the log check on a test machine before widening access.

How DeployOpen helps review and govern reasoning-text handling

DeployOpen approaches sequential thinking MCP data privacy as a scoped review of where reasoning text is logged, held in memory and kept, and how those settings are applied in your own environment. Engagements are fixed-scope, with the scope, deliverables and timeline agreed in writing before work starts.

How we scope

  • Agree in writing which clients, hosts and transports are in the review, including stdio and Docker runs.
  • Confirm which logging settings, history limits and environment variables each deployment actually uses.
  • Define what evidence the security or compliance team needs, such as stderr capture and retention locations.

How we build

  • Set up a controlled test environment that runs the reference server with logging on and with logging disabled.
  • Trace where thought text appears in stderr, client logs and any log shipping pipeline you operate.
  • Test whether the in-memory history cap and connection lifetime behave as the documentation describes.

How we hand over

  • Deliver a written findings report that maps each data flow to its owner, setting and retention behavior.
  • Document recommended configuration, including how to disable thought logging and where to restrict log access.
  • Provide a retest after fixes so your reviewers can confirm the controls work as described.

How we support

  • Offer ongoing support and continuous testing as a retainer when servers, clients or logging pipelines change.
  • Prepare review evidence for your internal security questionnaires and approval records on request.
  • Re-check the setup after upgrades to the server or the Node.js runtime it depends on.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.