New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@photon-ai/mcp

Package Overview
Dependencies
Maintainers
4
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@photon-ai/mcp

Run Photon's MCP tools locally over stdio with your own Photon API key.

latest
Source
npmnpm
Version
0.1.5
Version published
Weekly downloads
221
-57.42%
Maintainers
4
Weekly downloads
 
Created
Source

@photon-ai/mcp

Run Photon's MCP tools locally over stdio with your own Photon key.

If your client supports remote MCP servers with OAuth (Claude, ChatGPT, Cursor), connect to the hosted server instead: https://mcp.photon.codes/mcp. No key is needed. Use this local server when your client only runs stdio servers.

Setup

  • Create an Account Service Key (pho_ask_...) in the Photon dashboard.
  • Add the server to your client. Node.js 22 or newer is required.

Claude Code:

claude mcp add photon --env PHOTON_API_KEY=pho_ask_... -- npx -y @photon-ai/mcp

Cursor, Claude Desktop and other JSON-configured clients:

{
  "mcpServers": {
    "photon": {
      "command": "npx",
      "args": ["-y", "@photon-ai/mcp"],
      "env": { "PHOTON_API_KEY": "pho_ask_..." }
    }
  }
}

Configuration

VariableDefaultDescription
PHOTON_API_KEYrequiredYour Account Service Key
PHOTON_API_URLhttps://api.photon.codesAPI origin. Only photon.codes and loopback hosts are accepted

The server offers the same tools as the hosted server. Operations that manage keys, account security, SSO or billing checkout are not available. Your client decides when to ask before running a tool, so set it to confirm writes.

License

Apache 2.0

Keywords

mcp

FAQs

Package last updated on 18 Oct 2026

Related posts