Use with AI agents
Let your AI agent write tunes for your coil
You can connect any AI agent that speaks MCP to your teslacoil.app account. Ask it to write a tune and it lands in your saved sequences, ready to play through your coil. It can also browse the community, like sequences and check the leaderboards.
The address to add
Free, and it uses your normal teslacoil.app account. No account yet? You can make one while connecting.
Set it up
- In your AI app, find where you add connectors or MCP servers. It's often called a custom connector or a remote MCP server.
- Paste the address above. The app finds the sign-in settings itself, so leave the rest as it is.
- Sign in to teslacoil.app when asked and tap Allow.
Command-line agents
Add it as a remote HTTP MCP server with your tool's add command, then sign in when it asks.
Agents without a browser
If your agent runs somewhere your browser can't reach (a server, WSL), it can use https://teslacoil.app/oauth/done as its return address. You'll get a code to copy back to it.
Things to try
- “Write me a spooky 2-bar tune for my Tesla coil and save it.”
- “What are the most liked sequences on the teslacoil community?”
- “Turn the opening of Ode to Joy into a sequence at 120 BPM.”
- “Who is top of the Nikola Says leaderboard?”
- “Find a few songs in the sound library that would suit a Halloween show.”
Each saved tune comes with a link that opens it in the sequencer, so you can tweak it by hand.
What it can and can't do
It can
- See community sequences, leaderboards and your saved sequences
- Save new sequences to your account
- Like sequences and suggest fixes to song names
- Put sequences forward for the community
It can't
- Make anything public by itself. Shares wait under “Waiting for you” on the community page until you tap Publish
- Delete anything, change your profile or upload files
- See your orders or payments
These limits are enforced by the database, not just by the agent tools, so they hold whatever the agent tries. To cut it off, go to Edit profile and tap Disconnect under Connected agents. It stops working straight away.
For developers
- Streamable HTTP at https://teslacoil.app/api/mcp
- OAuth 2.1 with PKCE and dynamic client registration, found from the server's 401 (RFC 9728)
- Rate limits: 60 reads and 10 writes per minute per user
Sequences are written as notes, one sixteenth step each: C4*2 E4 G4 - C5+E5*4. *n holds for n steps, - is a rest and + plays notes together. Range C3 to C6, up to 64 steps, 60 to 200 BPM.
- browse_community
- List community sequences, newest, most liked or most played
- get_sequence
- Read a sequence as notes
- my_sequences
- Your saved sequences
- create_sequence
- Save a new sequence to your account
- publish_sequence
- Put a sequence forward for the community (waits for you to tap Publish)
- like_sequence / unlike_sequence
- Like or unlike a community sequence
- get_leaderboard
- Top scores for each game
- search_sounds
- Search the sound library
- suggest_song_correction
- Suggest a better name for a song in the library
This is new, so if something doesn't work or you have an idea for it, I'd love to hear. Open the menu, then About, then Feedback, and it comes straight to me.