Atlas / MCP servers / publicdotcom / Public.com

Public.comSAFE

mcp/publicdotcom/public-com

Connect AI assistants to your Public.com brokerage account. Trade stocks, options, and crypto — get quotes, manage orders, and view your portfolio.

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
37 24r · 13w · 0d
Transport
stdio · streamable-http
License
Apache-2.0
Stars
67
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](LICENSE) [](https://python.org) [](https://modelcontextprotocol.io)

An MCP (Model Context Protocol) server that connects AI assistants to your Public.com brokerage account. Trade stocks, options, and crypto — get quotes, manage orders, and view your portfolio — all through natural language.

Disclaimer: For illustrative and informational purposes only. Not investment advice or recommendations. Use at your own risk.

Tools

Read-Only

Read from source at commit e79d19f0e03fOBSERVED · 2026-10-07
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add publicdotcom-mcp-server --env PUBLIC_COM_SECRET=${PUBLIC_COM_SECRET} -- uvx publicdotcom-mcp-server
claude-desktop
{
  "mcpServers": {
    "publicdotcom-mcp-server": {
      "command": "uvx",
      "args": [
        "publicdotcom-mcp-server"
      ],
      "env": {
        "PUBLIC_COM_SECRET": "${PUBLIC_COM_SECRET}"
      }
    }
  }
}
03

Exposed tools (37)

24 read · 13 write · 0 destructive.

ToolRiskDescription
cancel_and_replace_orderwrite
cancel_orderwrite
check_setupread
flatten_and_go_shortread
get_accountsread
get_all_instrumentsread
get_bond_detailsread
get_historyread
get_instrumentread
get_option_chainread
get_option_expirationsread
get_option_greekread
get_option_greeksread
get_orderwrite
get_ordersread
get_portfolioread
get_price_historyread
get_quotesread
get_strategy_quoteread
get_tax_lotsread
get_tax_lots_csvread
get_tax_lots_for_symbolread
place_call_credit_spreadread
place_call_debit_spreadread
place_multileg_orderwrite
place_orderwrite
place_put_credit_spreadwrite
place_put_debit_spreadwrite
place_short_orderwrite
preflight_call_credit_spreadread
preflight_call_debit_spreadread
preflight_multileg_orderwrite
preflight_orderwrite
preflight_put_credit_spreadwrite
preflight_put_debit_spreadwrite
preflight_short_orderwrite
search_bondsread
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (1)

LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
README.md:174
In this mode the server listens for MCP requests at `POST /mcp`. Clients authenticate per-request via an `Authorization: Bearer <key>` header, which takes priority over the `PUBLIC_COM_SECRET` environ
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha e79d19f0e03ffull audit observations/trust-audit/mcp-server/publicdotcom__public-com.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-07e79d19f0e03fSAFEB89first audit
06

Questions

What is the Public.com MCP server?

Connect AI assistants to your Public.com brokerage account. Trade stocks, options, and crypto — get quotes, manage orders, and view your portfolio.

What tools does Public.com expose?

37 in total: 24 read-only, 13 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Public.com safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Public.com need?

It reads PUBLIC_COM_SECRET from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does Public.com run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on PyPI as publicdotcom-mcp-server.

How current is this page?

The grade is for one exact copy of the source (e79d19f0e03f), read on 2026-10-07. The repository is watched and re-audited when it changes.

Advertisement