Library / MCP Security Checklist: Before You Connect a Server / Full guide
MCP Security Checklist: Before You Connect a Server
M C P & T O O L S
MCP Security Checklist
Before you connect a
server
A one-page checklist and plain-language
explanations for anyone about to add an MCP
server to Claude or another AI tool.
BrightForgeLotus
BrightForgeLotus: Knowledge Unlimited brightforgelotus.com
Created in October 2026
PART 1 · THE IDEA
Why a server is more than a plug-in
Who this is for: anyone who connects MCP servers to Claude, Cursor or another AI
client, with or without a technical background.
The problem: a local MCP server is not a sandboxed add-on. According to the official
MCP documentation, it is an ordinary program started from your account. It inherits
your environment variables and can read anything your account can read, including
SSH keys, cloud credentials and browser profiles, and it can connect to the internet. The
protocol does not limit any of that. How you run the server does. No check can prove a
server safe, so the docs' rule is: treat a third-party local server as untrusted code with
exactly the privileges you give it, and give it as few as possible.
IF YOU DO ONE THING
Open your client's MCP configuration, remove the servers you no longer use, and
make sure you know where each remaining one comes from and that its version is
pinned. (This is the official docs' own recommendation.)
Five things that can go wrong
THREAT IN PLAIN WORDS
Malicious server A lookalike package or a taken-over project that works as advertised while
stealing files or keys.
Overcollecting
server
A legitimate server that touches more than its job needs. Prompt injection in
untrusted content can also push an honest server into using the access it has.
Compromised
dependency
The author is honest, but a package inside the server was hijacked.
Poisoned tool list Tool names and descriptions are instructions the AI reads. A server can hide
commands there, or change them after you approved it.
Vulnerable bridge Even honest tools that connect clients to servers have had serious flaws.
BrightForgeLotus · MCP Security Checklist Page 2
PART 2 · THE CHECKLIST
Before you install
CHECK WHY
☐ Does it really need to run on my computer? If it
only talks to an online service, use the remote
(hosted) version if one exists.
A remote server runs no code on your
machine and is patched in one place.
☐ Can I name the publisher? Source repository, a real
maintainer or organisation, recent plausible
activity.
A registry listing is not an endorsement.
☐ Did I check the exact package name against the
documentation?
Typosquatting is the cheapest attack.
☐ Did I pin a specific version instead of latest? A compromised future release cannot reach
you through an auto-update.
☐ Container image: pinned by digest?
(image@sha256:...)
Pinning an npx or uvx package fixes only the
top-level package, not its dependencies. A
digest freezes everything.
☐ Signed artifacts, build attestations or an SBOM
available?
They show who built it and what is inside.
After you install
CHECK WHY
☐ Did I read the tool names and descriptions once?
Anything unrelated to the tool's job means: remove the
server.
The AI reads descriptions as
instructions.
☐ Does my client ask again when a tool definition changes? A server can change descriptions after
approval. Not every client checks.
☐ Is my list of servers short? All servers share the AI's context, so
each one adds risk for the others.
BrightForgeLotus · MCP Security Checklist Page 3
PART 2 · THE CHECKLIST
How it runs
CHECK WHY
☐ Third-party servers run in a container, with nothing
mounted except what they need.
Isolation is the single highest-leverage
protection in the docs.
☐ Each server gets its own secret, set in that server's own
configuration, not exported globally in my shell profile.
Otherwise every server can read all of
them.
☐ Each token has the smallest scope that works, for
example one repository, not my whole account.
A leak stays contained and revocable.
☐ Folder access: one project directory, read-only if possible,
never my home folder.
Allowlists are only guardrails for
honest servers; isolation enforces
them.
☐ Network: none where not needed; otherwise only the
expected destinations.
Stealing data needs a way out.
☐ Secrets: not in plaintext config where my client supports
the system keychain.
Config files are in a predictable place.
Every few months
CHECK WHY
☐ Remove servers I no longer use. Each install extends the attack surface.
☐ Rotate any credential a removed server could see. Removing a server does not revoke what it
already read.
☐ Check for security notices on the servers and
versions I pinned.
A pin keeps you on a vulnerable version until
you update.
BrightForgeLotus · MCP Security Checklist Page 4
PART 3 · PUTTING IT INTO PRACTICE
A safer way to run a local server
This is an illustration of the container idea from the official docs, not a command that
works for every server. Replace the placeholders with the details from the server's own
documentation.
docker run -i --rm --network=none \
-v "$PWD/my-project:/data:ro" \
IMAGE@sha256:DIGEST
What each part does: -i keeps the connection open for the client, --rm removes the
container afterwards, --network=none blocks all network access, -v ...:ro shows the
container one folder as read-only, and the @sha256 digest pins the exact image.
IF THE SERVER NEEDS THE INTERNET
A server that wraps an online API needs network access. Then use a firewall or proxy
that only allows its expected domains, and keep its token narrow.
When you are unsure
Install only servers whose source code you can read and whose publisher you can
identify. Pin the exact version. Give each server its own narrow token. Use the remote
version when a server needs none of your files.
SOURCES AND LAST-CHECKED DATE
Checked on 5 October 2026 against the official MCP documentation: Local Server
Security and Security Best Practices (spec version 2026-07-28) at
modelcontextprotocol.io. Government security guidance on agentic AI exists but is
not covered here. We have not hands-on tested the container example.
BrightForgeLotus · MCP Security Checklist Page 5
