Agent skill

Set Up OAuth or Bearer Token for MCP

MCP Auth Setup is a free, MIT-licensed agent skill that configures authentication for an MCP server in AIML.chat — OAuth, a bearer token, or a custom header — with least-privilege scoping and encrypted storage. Get the credentials right so your agent has exactly the access it needs and no more.

MCP Auth Setup is a free, MIT-licensed agent skill that configures authentication for an MCP server in AIML.chat — OAuth, a bearer token, or a custom header — with least-privilege scoping and encrypted storage. Get the credentials right so your agent has exactly the access it needs and no more.

What it does

The skill picks and configures the right auth for the server you're connecting: an OAuth flow where the provider supports it, a bearer token, or a custom header for bespoke APIs. It guides you to scope the credential to least privilege — a single team, project, or read-only role where possible — so the agent's reach is limited at the source. It confirms AIML.chat stores the credential encrypted at rest and decrypts it only in-process at call time, so the agent itself never sees the secret. The output is a working, scoped connection ready to attach tools to.

The skill

name: mcp-auth-setup
Use when configuring credentials for an MCP server in AIML.chat.

Steps:
1. Determine the server's supported auth (OAuth, bearer, custom header).
2. Create a least-privilege credential (single team/project, read-only if possible).
3. Enter it in AIML.chat → MCP; it is stored encrypted at rest.
4. Verify the connection authenticates before attaching tools.

How to use it

Copy the SKILL.md into your agent framework's skills folder and run it when adding a server, or follow the steps in AIML.chat under MCP. It pairs with the MCP server tester to verify the connection and the Stripe MCP skill for a sensitive example. The custom MCP integration covers connecting your own server.

Ready to connect securely? Start free, set up auth, and attach tools with confidence — see pricing for limits.

Does the agent see my credentials?+

No — AIML.chat stores them encrypted at rest and decrypts only in-process at call time; the agent never sees the secret.

How do I limit access?+

The skill guides you to a least-privilege credential — a single team or project, read-only where possible.

Is the skill free?+

Yes — it is MIT-licensed and free to copy. Using MCP in AIML.chat counts toward your plan's limits; see pricing.

Add AI chat to your site

Free plan · No credit card · 5 minutes