Skip to content

MCP Security Check

mcp.code4.space/mcp

B

86 of 100

Checked November 29, 202623 of 33 checks could be judged4 failed · 16 passed · 10 could not check

A passive check: only what any client sees. No tool was called and no client was registered.

Failed 4

Medium

Password grant advertised

MCPS-AUTH-010

Why it mattersThe password grant hands the person's password to the client. RFC 9700 says it must not be used.

How to fixRemove password from grant_types_supported.

Request
GET https://auth.code4.space/realms/code4/.well-known/openid-configuration
What we saw
grant_types_supported: ["authorization_code","implicit","refresh_token","password","client_credentials","urn:openid:params:grant-type:ciba","urn:ietf:params:oauth:grant-type:device_code"]

Seen in the server's answer

SpecRFC 9700, Section 2.4 (Resource Owner Password Credentials Grant MUST NOT be used)

Low

No X-Content-Type-Options: nosniff

MCPS-HDR-002

Why it mattersA browser may guess a response's type and render JSON or text as HTML or script.

How to fixSend X-Content-Type-Options: nosniff on every response.

res.setHeader('X-Content-Type-Options', 'nosniff')
Request
POST https://mcp.code4.space/mcp (initialize)
Answer
401
What we saw
no X-Content-Type-Options: nosniff

Seen in the server's answer

SpecFetch Standard, X-Content-Type-Options

Low

PKCE plain method offered

MCPS-AUTH-008

Why it mattersWith plain, the challenge equals the secret, so anyone who sees the request sees the secret.

How to fixOffer S256 only.

Request
GET https://auth.code4.space/realms/code4/.well-known/openid-configuration
What we saw
code_challenge_methods_supported: ["plain","S256"]

Seen in the server's answer

SpecRFC 9700, Section 2.1.1 (PKCE: S256)

Low

Implicit flow advertised

MCPS-AUTH-009

Why it mattersThe implicit flow puts the access token in the browser's address. RFC 9700 advises against it, and OAuth 2.1 drops it.

How to fixRemove token from response_types_supported and use the code flow with PKCE.

Request
GET https://auth.code4.space/realms/code4/.well-known/openid-configuration
What we saw
response_types_supported: ["code","none","id_token","token","id_token token","code id_token","code token","code id_token token"]

Seen in the server's answer

SpecRFC 9700, Section 2.1.2 (Implicit Grant)

Notes, not scored 3

Note

Any website may read the answers

MCPS-CORS-002

Why it mattersA note, not scored: Access-Control-Allow-Origin: * is normal for an open, read-only server, and wrong for one that holds private data.

How to fixIf the server answers with private data, list the origins that may read it instead of *.

Request
POST https://mcp.code4.space/mcp (initialize, Origin: https://probe.invalid)
Answer
401
What we saw
Access-Control-Allow-Origin: *

Seen in the server's answer

SpecFetch Standard, Access-Control-Allow-Origin

Note

No Referrer-Policy header

MCPS-HDR-003

Why it mattersA note, not scored: it matters when the endpoint also serves pages a browser opens.

How to fixSend Referrer-Policy: no-referrer or strict-origin-when-cross-origin.

Request
POST https://mcp.code4.space/mcp (initialize)
Answer
401
What we saw
no Referrer-Policy

Seen in the server's answer

SpecReferrer Policy (W3C)

Note

Dynamic registration only

MCPS-AUTH-014

Why it mattersA note, not scored: MCP 2026-07-28 deprecates dynamic client registration in favour of client ID metadata documents.

How to fixAdd client ID metadata document support and keep dynamic registration for older clients.

Request
GET https://auth.code4.space/realms/code4/.well-known/openid-configuration
What we saw
registration_endpoint only

Seen in the server's answer

SpecMCP 2026-07-28, Deprecated Features: Dynamic Client Registration (PR #2858)

Could not check 10

  • Hidden instruction in a tool's textMCPS-TOOL-001
  • Invisible characters in a tool's textMCPS-TOOL-002
  • Hidden instruction in a prompt or resourceMCPS-TOOL-003
  • A destructive tool says it only readsMCPS-TOOL-005
  • Answers a request from a foreign websiteMCPS-ORIGIN-001
  • A name that mixes lookalike lettersMCPS-TOOL-006
  • A description seems to give orders about other toolsMCPS-TOOL-007
  • A parameter reads like an instruction to the modelMCPS-TOOL-008
  • Uses deprecated loggingMCPS-PROTO-001
  • A tool that sounds destructive is marked non-destructiveMCPS-TOOL-004
Passed 16
  • Served over plain HTTPMCPS-TLS-001
  • Certificate not trusted or not for this hostMCPS-TLS-002
  • Sign-in endpoint over plain HTTPMCPS-AUTH-015
  • Any website can read answers sent with the person's cookiesMCPS-CORS-001
  • Certificate expires within 14 daysMCPS-TLS-003
  • Answers initialize with a made-up tokenMCPS-AUTH-001
  • Wrong status for an invalid tokenMCPS-AUTH-002
  • Clients cannot find how to sign inMCPS-AUTH-003
  • Sign-in metadata names no authorization serverMCPS-AUTH-004
  • Sign-in metadata names another resourceMCPS-AUTH-005
  • Authorization server metadata names another issuerMCPS-AUTH-006
  • PKCE with S256 not advertisedMCPS-AUTH-007
  • Clients cannot register themselvesMCPS-AUTH-013
  • No Strict-Transport-Security headerMCPS-HDR-001
  • Issuer in the authorization response not advertisedMCPS-AUTH-011
  • Refresh tokens without an advertised revocation endpointMCPS-AUTH-012
Does not apply 2
  • States an SDK version with known advisoriesMCPS-SDK-001
  • Tools that sound like they change things are listed without a sign-inMCPS-AUTH-016

Tool changes

A server can change what a tool does after people approved it. We keep a fingerprint of every tool from the first check.

No tool changes since November 22, 2026.

In the INITE Atlas

Answered on 94% of days in the last monthIts Atlas page
Is this your server? Prove it to run the sign-in tests a passive check cannot and, if you own its Atlas card, have it checked every day with an alert when anything changes.
This server is mine

Badge for your README

MCP security B
[![MCP security B](https://inite.ai/api/checks/mcp/badge/mcp.code4.space/mcp.svg)](https://inite.ai/en/mcp-check/mcp.code4.space/mcp)

As JSON