Skip to main content
Glama

CTS MCP Server

by EricA1019
addon_data.hโ€ข1.03 kB
#include "tree_sitter/api.h" #include <napi.h> #ifndef NODE_TREE_SITTER_ADDON_DATA_H_ #define NODE_TREE_SITTER_ADDON_DATA_H_ namespace node_tree_sitter { class AddonData final { public: explicit AddonData(Napi::Env _env) {} ~AddonData() { ts_query_cursor_delete(ts_query_cursor); } // conversions uint32_t *point_transfer_buffer = nullptr; // node uint32_t *transfer_buffer = nullptr; uint32_t transfer_buffer_length = 0; Napi::ObjectReference module_exports; TSTreeCursor scratch_cursor = {nullptr, nullptr, {0, 0}}; // parser Napi::FunctionReference parser_constructor; Napi::FunctionReference string_slice; // query TSQueryCursor *ts_query_cursor = nullptr; Napi::FunctionReference query_constructor; // tree_cursor Napi::FunctionReference tree_cursor_constructor; // tree Napi::FunctionReference tree_constructor; // lookaheaditerator Napi::FunctionReference lookahead_iterator_constructor; }; } // namespace node_tree_sitter #endif // NODE_TREE_SITTER_ADDON_DATA_H_

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/EricA1019/CTS_MCP'

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