Connect one service
Create your account, then open Services. Connect GitHub, Gmail, or a tool you want your agent to use.
ONE CONNECTION. YOUR CHOICE OF AGENT.
Give Claude Code or Cursor access to the tools you already use. Connect your accounts once in MyApi, choose what each agent can do, and keep your provider credentials in the vault.
An existing AI client + a MyApi account. Start with one service.
FROM SETUP TO FIRST REQUEST
Use the Quick Connect flow below for a client that can run a local MCP server.
Create your account, then open Services. Connect GitHub, Gmail, or a tool you want your agent to use.
In Access Tokens, create a scoped token for that service. Start with read access. In Connectors → Quick Connect, choose that scope template and generate a setup prompt.
Quick Connect also offers full account access. Check your selection before generating the code.
Choose your client for the setup details. Use the fresh code from your dashboard in place of YOUR_ENROLL_CODE. It is single-use and expires after 15 minutes.
The code grants the selected access until consumed or expired. Keep it private. After enrollment, a local Ed25519 key signs requests.
Run this in your terminal after replacing YOUR_ENROLL_CODE. This adds MyApi for your user account.
claude mcp add --scope user --transport stdio --env MYAPI_ENROLL_CODE=YOUR_ENROLL_CODE myapi -- npx -y myapi-asc-mcp
Open Claude Code and check /mcp. Allow MyApi if prompted, then ask it to call myapi_status.
Official Claude Code MCP instructionsRequires Node.js 18 or later and npm on the machine running your client. Merge the MyApi entry into an existing configuration; keep your other servers.
04 · VERIFY, THEN ASK
Restart or reload your MCP server, then paste this into your agent. A configured server alone does not prove that access works.
Call myapi_status to verify MyApi. Tell me the access level you received, then list the connected services available to you. Do not read messages, change data, or send anything.
Success: the status tool confirms signed access and your agent lists the services within its permissions. You can then ask it to read a specific service.
Generate a fresh setup prompt in Quick Connect and replace the code in your MCP configuration. Restart the server and call myapi_status again. On a successfully enrolled machine, the same consumed code can remain in the configuration; subsequent sessions use the saved key.
This guide is for clients that can launch local processes. A browser chat or managed runtime may not allow that. Open Connectors for the hosted OAuth or assistant-specific options available for your client. Do not paste this command into a chat and assume a server was installed.
Check that the service is connected in MyApi and included in your agent’s scope. A 403 may mean the scope does not allow the request. Adjust the access you intend to grant, generate a new code, and re-enroll. For an unexpected failure, ask the agent to call myapi_diagnose.
MyApi also supports reusable personas, skills, knowledge documents, and memory. Add them once your first service works. The gateway also provides service proxies, device controls, usage limits, audit history, and workspaces. See the product documentation for the full model.
You can pause or revoke agent access from Devices. The provider connection remains separate. Review the security documentation for the access model and current limitations.
LESS SETUP. MORE USEFUL WORK.
Connect one service. Try one task. Add more when you need it.