Skip to navigation

Quickstart

Create an MCP key, connect your AI assistant to Raya, and check it works.
View as Markdown

Experimental, in beta. Raya’s MCP server is new and may change. For feedback, suggestions or problems, email support@litwizlabs.ai.

1

Create an MCP key

In the Raya dashboard, open Raya API and click Create MCP Key. Give it a name (for example the person or machine using it) and copy the key: it starts with raya_mcp_ and is shown only once.

MCP keys are listed in the Keys table with the type MCP, and can be revoked there. A team can have up to 10 active MCP keys.

MCP keys are separate from your API keys. They only work on the MCP server, and your existing API keys and integrations are not affected.

2

Add Raya to your assistant

The server is at https://mcp-beta.getraya.app/mcp (MCP over streamable HTTP). Send your key in the X-API-Key header.

claude mcp add --transport http raya https://mcp-beta.getraya.app/mcp --header "X-API-Key: raya_mcp_..."

Treat the key like a password: anyone with it can read your agents and calls and run simulations on your credits. Don’t commit it to a repository.

3

Check it's connected

In Claude Code, run /mcp: raya should show as connected. Then ask:

“List my Raya agents.”

Your assistant should list your team’s agents.

4

Ask for something real

Pick an agent and try one of the example prompts.

Writing integration code? Add the docs server too

If your assistant is writing code against the Raya APIs (creating batches, updating agents, passing agent_args), connect the Raya docs as well. It lets the assistant search these docs and read the API reference while it codes, so it uses the real endpoints and fields. It needs no key, and it’s separate from the MCP key above.

claude mcp add --transport http raya-docs https://docs.getraya.app/_mcp/server
ServerUse it toKey
raya (mcp-beta.getraya.app/mcp)Work on your agents: read calls, run simulations, test promptsYour MCP key
raya-docs (docs.getraya.app/_mcp/server)Look up the docs and API reference while writing codeNone

What your assistant sees

The server gives your assistant:

  • Tools to read agents, calls and the knowledge base, estimate costs, and run simulated calls. See the reference.
  • Ready-made workflows (MCP prompts) for the main jobs, each carrying Raya’s prompt-writing guidelines. See example prompts.
  • Instructions on how to work safely: estimate before running, test on the same scenarios, never change the live agent, and report the credits used.