MCP Integration

Model Context Protocol Setup

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://staging-api.sehla.ai/mcp

Setup Instructions

Choose your preferred MCP client below and follow the configuration steps

Claude Desktop & Claude Code

Configure Sehla MCP for Claude applications

Claude Code (CLI)

Add Sehla MCP server using the Claude Code CLI:

claude mcp add --transport http sehla https://staging-api.sehla.ai/mcp

Claude Desktop (Manual Configuration)

Add to your Claude Desktop configuration file:

{
  "mcpServers": {
    "sehla": {
      "url": "https://staging-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

Authentication & Security

How we keep your prompts secure

  • 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.

Need Help?

Join our Discord community for support and updates

Join Discord