Skip to main content
Glama
Photon MCP Server
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: tool-mcp-bridge

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP clients to access hosted models and services via a local stdio bridge, with live model discovery, pricing, balance checks, and paid execution requiring cost estimates.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables MCP clients that launch local commands to access a hosted tool server over stdin/stdout, optionally filtering tools to a job-specific group and authenticating with an API key.
      315 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables coding-agent clients to use one local MCP endpoint that routes calls to isolated per-account workers, shares a single tool surface across sessions, and applies per-account policies and key pools.
      384 npm
      Apache 2.0