lontar-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LONTAR_API_URL | Yes | API base URL, e.g. https://example.com/api | |
| LONTAR_API_TOKEN | No | Laravel Sanctum bearer token (required for write operations) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_postsA | List published blog posts (paginated). Returns title, slug, excerpt, and published_at for each post. |
| get_postA | Get a single published post by slug. Returns full post data including body and rendered_body (HTML). |
| list_draftsA | List draft posts (paginated). Requires LONTAR_API_TOKEN. Returns title, slug, excerpt, and created_at. |
| create_postA | Create a new blog post. Requires LONTAR_API_TOKEN. Slug is auto-generated from the title. Omit published_at to create a draft. |
| update_postA | Update an existing post by slug. Requires LONTAR_API_TOKEN. Only provided fields are changed. |
| delete_postA | Permanently delete a post by slug. Requires LONTAR_API_TOKEN. |
| publish_postB | Publish a draft post by setting published_at to now. Requires LONTAR_API_TOKEN. |
| unpublish_postA | Unpublish a post by clearing published_at. Requires LONTAR_API_TOKEN. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/thesimonharms/lontar-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server