MCP Integration
integration
The Sehla MCP server provides a standardized interface for AI models to access and manage your prompt library directly within AI-powered development tools. Features include semantic search, prompt retrieval, folder navigation, and direct prompt creation from your IDE. Connect with Claude, VSCode, Cursor, and other MCP-enabled clients.
HTTP Endpoint
https://api.sehla.ai/mcp
Setup Instructions
Choose your preferred MCP client below and follow the configuration steps
Claude
Configure Sehla MCP for Claude Desktop and Claude Code CLI.
Claude Code (CLI)
Add Sehla MCP server using the Claude Code CLI:
claude mcp add --transport http sehla https://api.sehla.ai/mcp
Claude Desktop (Manual Configuration)
Add to your Claude Desktop configuration file:
{ "mcpServers": { "sehla": { "url": "https://api.sehla.ai/mcp", "type": "http" } } }
VSCode
Configuration Steps
- Create a
.vscodefolder in your project root - Create a
mcp.jsonfile inside the folder - Add the following configuration:
{ "servers": { "sehla": { "url": "https://api.sehla.ai/mcp", "type": "http" } } }
Cursor
Configuration Steps
- Open Cursor Settings
- Navigate to MCP Servers section
- Add a new MCP server with the following details:
Server Configuration
- Name:
Sehla - URL:
https://api.sehla.ai/mcp - Type:
HTTP
Windsurf
Configuration Steps
- Open Windsurf Settings
- Go to Extensions or Integrations
- Add MCP Server configuration
- Use the following settings:
{ "name": "Sehla", "url": "https://api.sehla.ai/mcp", "transport": "http" }
Zed
Configuration Steps
- Open Zed settings file
- Add MCP server configuration to your settings
- Restart Zed to apply changes
{ "mcp": { "servers": { "sehla": { "url": "https://api.sehla.ai/mcp", "type": "http" } } } }
Available Tools
MCP tools you can use to interact with your Sehla prompts
-
authenticate: Authenticate with Sehla using OAuth 2.1 flow via Google
-
search-prompts-semantic: Search prompts using semantic search across titles, descriptions, and content
-
get-prompt: Retrieve a specific prompt by ID with full content and metadata
-
create-prompt: Create a new prompt with optional folder organization and tags
-
list-folders: Browse your hierarchical folder structure
-
get-user-info: Get user details, subscription limits, and usage statistics
-
improve-prompt: Get comprehensive guidance on improving prompts using the CRAFT framework
INFO: Authentication & Security • OAuth 2.1 authentication with Google SSO integration • Secure JWT token-based access to your prompts • Respects existing folder permissions and sharing settings • All API calls are made over HTTPS for secure communication
Frequently Asked Questions
Common questions about MCP integration
What happens to my authentication token?
Your JWT token is securely stored by the MCP client and automatically included in all API requests. The token has a 7-day expiry and will require re-authentication after that period.
Can I use multiple MCP clients simultaneously?
Yes! You can configure Sehla MCP on multiple clients (Claude, VSCode, Cursor, etc.) and they will all access your same prompt library using your authenticated account.
Does MCP support dynamic variables?
Yes! Prompts containing variables in the format <<variable-name>> are fully supported. The MCP server will detect variables and your AI client can prompt for values before using the prompt.
TIP: Need Help? Join our Discord community for support and updates