Skip to main content
Glama
photon-hq
by photon-hq

Photon MCP Server

Use Photon from any MCP client.

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

  1. Create an Account Service Key (pho_ask_...) in the Photon dashboard.

  2. 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_..." }
    }
  }
}

Related MCP server: Portal

Configuration

Variable

Default

Description

PHOTON_API_KEY

required

Your Account Service Key

PHOTON_API_URL

https://api.photon.codes

API 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

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables MCP clients to connect to a local workspace over a public tunnel and lets them run shell commands and transfer files bidirectionally.
    262 npm
    21
    GPL 3.0
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables local MCP clients to access tools from a remote FastMCP server over stdio, handling OAuth authentication and Streamable HTTP communication.
    -