MCP Directory
Back

photon

by portel-dev · TypeScript · ★ 91

Define intent once. Photon turns a single TypeScript file into CLI tools, MCP servers, and web interfaces.

#ai-tools#beam#claude-code#claude-desktop#cli-tool#cloudflare-workers#cursor#developer-tools#marketplace#mcp#mcp-servers#model-context-protocol#single-file#typescript

Install

npx -y github:portel-dev/photon

Claude Desktop config

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "photon": {
      "command": "npx",
      "args": [
        "-y",
        "github:portel-dev/photon"
      ]
    }
  }
}

From the README

[](https://www.npmjs.com/package/@portel/photon) [](https://www.npmjs.com/package/@portel/photon) [](https://github.com/portel-dev/photon/blob/main/LICENSE) [](https://www.typescriptlang.org) [](https://nodejs.org) [](https://modelcontextprotocol.io) Photon turns a single TypeScript file into: - **MCP server** for AI agents - **CLI tool** for automation - **Web interface** for humans Photon is free and open source software released under the [MIT license](./LICENSE). *Interfaces are optional. Intent is mandatory.* That's a complete photon. From this single file you get: No decorators…
Read full README on GitHub →

💡 Need a managed MCP host?

Try Claude Pro for the smoothest MCP experience, or browse our cloud-hosted servers.

Related filesystem servers