Skip to main content
Glama

MemOS-MCP

by qinshu1109
Apache 2.0
3
  • Linux
  • Apple
test_markitdown.py753 B
import unittest from memos.configs.parser import MarkItDownParserConfig from memos.parsers.factory import MarkItDownParser class TestMarkItDownParser(unittest.TestCase): def test_parse_docx_file(self): """Test parse a docx file.""" config = MarkItDownParserConfig() parser = MarkItDownParser(config) file_path = "./README.md" content = parser.parse(file_path) self.assertIn("MemOS", content) def test_parse_pdf_file(self): """Test parse a pdf file.""" config = MarkItDownParserConfig() parser = MarkItDownParser(config) file_path = "./examples/data/one_page_example.pdf" content = parser.parse(file_path) self.assertIn("Stray Birds", content)

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/qinshu1109/memos-MCP'

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