Skip to main content
Glama
alexxcpr

ONE-MCP

by alexxcpr

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ONE_URLYesThe URL of your ONE ERP instance
ONE_API_KEYYesYour API key for authentication

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_instance_infoA

Get information about the connected ONE Framework instance, including server version and the currently authenticated user. Use this to verify the connection is working and to see who you are authenticated as.

fetch_queryA

Execute a FETCH query against the ONE Framework instance. FETCH is a custom query language for retrieving, filtering, and aggregating data from one or more entities. Use this to: explore data, discover relationships, run reports, and understand the data model.

Syntax examples:

  • FETCH entity (key, name) LIMIT 10 — basic retrieval

  • FETCH entity (key, name) FILTER name CONTAINS "invoice" — filtered

  • FETCH invoice (key, total) { invoice_item TO invoice (key, product_name) } — with linked entities

The query is always executed under the security privileges of the authenticated user.

list_entitiesA

List all entities in the ONE Framework instance. Returns entity names, their display names (where available), and whether they are public/customizable. Use this to discover what data is available before diving into specific entities. Tip: After listing entities, use get_entity_schema to see the full structure of an entity.

get_entity_schemaA

Get the full schema of an entity: its properties (fields with types and constraints) and its relationships to other entities. Use this to understand what data an entity holds and how it connects to other entities.

Returns:

  • Properties: name, type, required flag, default value

  • Relationships: name, type (OneToMany, ManyToOne), foreign entity, cascading rules

get_entity_recordA

Retrieve a single entity record by its entity name and key (primary key). Returns the full record with all properties and child entities. Use this when you know exactly which record you need (e.g., entity 'user' with key 1).

To discover records, use fetch_query instead.

create_entity_recordA

Create a new entity record. ⚠️ Requires Create permission on the entity.

Provide the entity name and a properties object with field values. Optionally include child entity records (nested creation).

Example: create a new catalog entry:

  • entityName: "ui_catalog"

  • properties: { "name": "my_catalog", "fetch": "FETCH ..." }

IMPORTANT: This creates real data. Double-check your values before submitting. There is NO delete functionality via this MCP — mistakes must be corrected manually.

update_entity_recordA

Update an existing entity record. ⚠️ Requires Update permission on the entity.

Provide the entity name, primary key, and the properties to update. Only the properties you include will be changed — others remain unchanged. Optionally include child entity records.

IMPORTANT: This modifies real data. There is NO delete/undo via this MCP. Use get_entity_record first to see the current state before updating.

list_workflowsA

List all workflow definitions in the system, optionally with their event bindings. Each workflow may be bound to one or more entities and lifecycle events (onBeforeInsert, onAfterUpdate, etc.).

Use this to understand what business logic runs when data changes.

get_workflowA

Get the full source code and metadata of a workflow by its key (primary key). Use list_workflows first to find the workflow key you need.

Returns the workflow name, source module, and the full source code.

execute_workflowA

Execute a named workflow method with arguments. Workflows are server-side scripts that contain business logic. Use this to trigger actions, run calculations, or invoke custom processes.

Before executing, use list_workflows to discover available workflows and get_workflow to read their source code and understand what they do.

Arguments are passed as key-value pairs matching the workflow's parameter names.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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/alexxcpr/ONE-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server