We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tan-yong-sheng/triliumnext-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
/**
* Note Builder Utilities
* Simplified note creation with string content
*/
import { SimpleNoteInput, CreateNoteParams } from '../types/noteBuilderTypes.js';
import type { NoteType } from '../modules/noteManager.js';
/**
* Build note parameters with string content
* This is the main factory function that simplifies note creation
* Handles all note types with string content
*/
export function buildNoteParams(input: SimpleNoteInput): CreateNoteParams {
const { noteType, content, ...otherParams } = input;
return {
...otherParams,
type: noteType,
content: content
};
}