Photon MCP Server

Build MCP servers, CLI tools, and web dashboards for AI agents from a single TypeScript file.

Remote serverstreamable-httpTypeScript

What is the Photon MCP server?

Connect Photon to Claude, Cursor or any other MCP client and it stops being a tab you switch to. Build MCP servers, CLI tools, and web dashboards for AI agents from a single TypeScript file. The photon mcp server is what makes that connection.

What the server does

Photon is the fastest way to turn a small, verified TypeScript method into something humans can operate and agents can trust. Write the capability once; Photon derives the interfaces, contracts, and runtime behavior around it:

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • Example — No decorators. No registration. No server boilerplate. Just define the intent. Photon handles the rest

Installation

Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.

Credentials and setup notes

Configuration is passed through the environment: WEATHER_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Where it fits

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Photon's toolset — Example — is a fair guide to whether it matches your workflow. It is maintained by portel-dev; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Worth knowing first

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
ExampleNo decorators. No registration. No server boilerplate. Just define the intent. Photon handles the rest.

How to install the Photon MCP server

```json
{
  "mcpServers": {
    "analytics": {
      "command": "photon",
      "args": ["mcp", "analytics"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
WEATHER_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Photon to Example.

Frequently asked questions

It connects Photon to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (Example) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Photon directly.