# PromptLayer — MCP server on mcp.ai > Connect your PromptLayer account and use 16 tools for artificial intelligence straight from your AI agent. Connect with your own API key. PromptLayer is a prompt management and observability platform for versioning, evaluating, running, and analyzing LLM applications. By: mcp.ai · official Page: https://mcp.ai/promptlayer ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_promptlayer?ms=1787293500000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/promptlayer/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/promptlayer/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/promptlayer/skill.md Postman collection (v2.1): https://mcp.ai/promptlayer/postman.json ## Tools - promptlayer_get_prompt_template(label?: string, version?: integer, identifier: string, resolve_snippets?: boolean, include_llm_kwargs?: boolean) — Retrieve a prompt template version, release label, messages, model metadata, snippets, and optionally provider-ready kwargs without executing it. - promptlayer_get_registered_tool(label?: string, version?: string, identifier: string) — Retrieve a PromptLayer registered tool definition by ID or name at a selected version or release label without test execution. - promptlayer_get_request_log(request_id: integer) — Retrieve one PromptLayer request log with its recorded input, output, timing, usage, metadata, tags, and scores. - promptlayer_get_skill_collection(label?: string, version?: integer, identifier: string) — Retrieve a PromptLayer skill collection and its files as JSON at a selected version or release label. - promptlayer_get_table(table_id: string) — Retrieve one PromptLayer Table's metadata and per-sheet row counts by UUID. - promptlayer_get_workflow(label?: string, version?: integer, workflow_id_or_name: string) — Retrieve a PromptLayer workflow definition by ID or name at a specific version or release label without running it. - promptlayer_list_folder_entities(tags?: string[], flatten?: boolean, sort_by?: string, folder_id?: integer, sort_order?: string, external_id?: string, filter_types?: string[], search_query?: string, external_source?: string, created_by_email?: string, include_metadata?: boolean) — Browse or search PromptLayer folders and registry entities in the API-key workspace, optionally recursively and with metadata. - promptlayer_list_prompt_templates(name?: string, tags?: string[], label?: string, status?: string, sort_by?: string, per_page?: integer, is_snippet?: boolean, sort_order?: string, external_id?: string, next_cursor?: string, created_after?: string, updated_after?: string, created_before?: string, updated_before?: string, external_source?: string, created_by_email?: string) — Search and page through PromptLayer prompt templates and snippets without executing a model. - promptlayer_list_registered_tools(sort_by?: string, sort_order?: string, external_id?: string, created_after?: string, updated_after?: string, created_before?: string, updated_before?: string, external_source?: string, created_by_email?: string) — List and filter tools defined in PromptLayer's tool registry without executing them. - promptlayer_list_skill_collections(sort_by?: string, sort_order?: string, external_id?: string, created_after?: string, updated_after?: string, created_before?: string, updated_before?: string, external_source?: string, created_by_email?: string) — List and filter PromptLayer skill collections available in the API-key workspace. - promptlayer_list_table_columns(limit?: integer, sheet_id: string, table_id: string, next_cursor?: string, include_system_columns?: boolean) — List one page of user and optionally system columns for a PromptLayer Table sheet. - promptlayer_list_table_rows(limit?: integer, order?: string, sheet_id: string, table_id: string, next_cursor?: string, include_columns?: boolean, include_row_count?: boolean, include_system_columns?: boolean, include_execution_metadata_aggregates?: boolean) — Read one page of rows and cells from a PromptLayer Table sheet, with optional schema and execution aggregates. - promptlayer_list_table_sheets(limit?: integer, order?: string, table_id: string, prompt_id?: integer, next_cursor?: string, prompt_label_id?: integer, prompt_version_id?: integer) — List one page of sheets in a PromptLayer Table, optionally filtering by referenced prompt. - promptlayer_list_tables(name?: string, limit?: integer, order?: string, folder_id?: integer, prompt_id?: integer, next_cursor?: string, prompt_label_id?: integer, prompt_version_id?: integer) — Search and page through PromptLayer Tables by folder, name, or referenced prompt. - promptlayer_list_workflows(sort_by?: string, per_page?: integer, sort_order?: string, external_id?: string, next_cursor?: string, created_after?: string, updated_after?: string, created_before?: string, updated_before?: string, external_source?: string, created_by_email?: string) — Search and page through PromptLayer workflows without running them. - promptlayer_search_request_logs(query?: string, sort_by?: string, per_page?: integer, sort_order?: string, next_cursor?: string, filter_group?: object, include_prompt_name?: boolean) — Search PromptLayer request logs by text or structured filters and return one rate-limited page sorted by operational fields. ## Example prompts - "What can I do in PromptLayer?" - "Show me a summary of my PromptLayer account" ## Links Docs: https://mcp.ai/docs/mcps/promptlayer Website: https://mcp.ai/mcps/promptlayer