Connect Your AI Assistant to LAYI MCP

Setup wizard to our integrate Layers API with your favorite AI tools.

This MCP Server provides:

๐Ÿ“š
18 Resources - Domain knowledge & semantics
๐Ÿ’ก
19 Prompts - Code generation guides
๐Ÿ”ง
45+ Tools - API operations
1
Choose Client
2
Copy Config
3
Save File
4
Get Token
5
Test
1

Choose Your AI Client

Select the AI assistant you want to connect. Clients are grouped by their MCP capability level.

Full MCP
Resources + Prompts + Tools
Best API understanding and code generation
Tools Only
Only Tools Available
Basic operations without context
โš ๏ธ These clients only read tools, not resources or prompts. The AI will have less understanding of the API semantics and domain concepts, resulting in less accurate responses and code generation.
2

Copy Configuration

Copy this JSON configuration to your clipboard:


                    
                
3

Paste in Config File

Open the config file for your client and paste the JSON:

4

Get Your Authentication Token

Before using the MCP server, you need to obtain an authentication token. Run this command in your terminal (replace with your credentials):

curl -X POST "/user/token" \
  -d "username=your@email.com&password=your_password"
Response will contain:
access_token - JWT token (valid ~1 hour)
refresh_token - For auto-renewal (valid 7-30 days)

Security: Your credentials stay in your terminal. The MCP server only receives the tokens, never your password.
5

Restart & Test

๐ŸŽ‰

Almost there! Restart your application and set your token:

1. First, tell your AI assistant to authenticate:

"Set my Layers token: [paste your access_token here]"

2. Then try this prompt:

"What can I do with Layers API?"
Tip: If using a Full MCP client, the AI will automatically read the resources to understand the API. For Tools Only clients, you may need to be more specific about what you want to do.