Skip to main content
Glama

OmniFocus MCP Enhanced

by jqlts1
listCustomPerspectives.js753 B
// 获取所有自定义透视列表 // 基于 OmniJS API: Perspective.Custom.all (() => { try { // 获取所有自定义透视 const customPerspectives = Perspective.Custom.all; // 格式化结果 const perspectives = customPerspectives.map(p => ({ name: p.name, identifier: p.identifier })); // 返回结果 const result = { success: true, count: perspectives.length, perspectives: perspectives }; return JSON.stringify(result); } catch (error) { // 错误处理 const errorResult = { success: false, error: error.message || String(error), count: 0, perspectives: [] }; return JSON.stringify(errorResult); } })();

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/jqlts1/omnifocus-mcp-enhanced'

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