Skip to main content
Glama
pyproject.toml3.11 kB
[tool.black] line-length = 88 target-version = ['py313'] include = '\.pyi?$' extend-exclude = ''' /( # directories \.eggs | \.git | \.hg | \.mypy_cache | \.tox | \.venv | venv | _build | buck-out | build | dist )/ ''' [build-system] requires = ["setuptools>=61.0", "wheel"] build-backend = "setuptools.build_meta" [project] name = "prims" version = "0.1.0" description = "Python Runtime Interpreter MCP Server" readme = "README.md" license = {file = "LICENSE"} authors = [ {name = "PRIMS Contributors"} ] requires-python = ">=3.13" dependencies = [ "fastmcp", "aiohttp", "aiofiles", ] [project.optional-dependencies] dev = [ "pytest>=7.4.0", "pytest-asyncio>=0.21.0", "pytest-cov>=4.1.0", "pytest-mock>=3.11.0", "pytest-timeout>=2.1.0", "black>=23.7.0", "isort>=5.12.0", "ruff>=0.0.280", "mypy>=1.5.0", "bandit[toml]>=1.7.5", "safety>=2.3.0", "httpx>=0.24.0", "pytest-httpx>=0.21.0", "factory-boy>=3.3.0", "freezegun>=1.2.0", ] [tool.pytest.ini_options] minversion = "7.0" addopts = [ "-ra", "--strict-markers", "--strict-config", "--cov=server", "--cov-report=term-missing", "--cov-report=html", "--cov-report=xml", "--cov-fail-under=10", ] testpaths = ["tests"] markers = [ "slow: marks tests as slow (deselect with '-m \"not slow\"')", "integration: marks tests as integration tests", "unit: marks tests as unit tests", "e2e: marks tests as end-to-end tests", ] asyncio_mode = "auto" timeout = 30 [tool.coverage.run] source = ["server"] omit = [ "*/tests/*", "*/test_*", "server/__init__.py", "*/venv/*", "*/.venv/*", ] [tool.coverage.report] exclude_lines = [ "pragma: no cover", "def __repr__", "if self.debug:", "if settings.DEBUG", "raise AssertionError", "raise NotImplementedError", "if 0:", "if __name__ == .__main__.:", "class .*\\bProtocol\\):", "@(abc\\.)?abstractmethod", ] [tool.isort] profile = "black" line_length = 88 multi_line_output = 3 include_trailing_comma = true force_grid_wrap = 0 use_parentheses = true ensure_newline_before_comments = true [tool.ruff] line-length = 88 select = [ "E", # pycodestyle errors "W", # pycodestyle warnings "F", # pyflakes "I", # isort "B", # flake8-bugbear "C4", # flake8-comprehensions "UP", # pyupgrade ] ignore = [ "E501", # line too long, handled by black "B008", # do not perform function calls in argument defaults "C901", # too complex ] [tool.ruff.per-file-ignores] "__init__.py" = ["F401"] "tests/*" = ["B011"] [tool.mypy] python_version = "3.13" check_untyped_defs = true disallow_any_generics = true disallow_incomplete_defs = true disallow_untyped_defs = true no_implicit_optional = true warn_redundant_casts = true warn_unused_ignores = true warn_return_any = true strict_equality = true [[tool.mypy.overrides]] module = [ "fastmcp.*", "aiofiles.*", ] ignore_missing_imports = true [tool.bandit] exclude_dirs = ["tests", "venv", ".venv"] skips = ["B101", "B601"]

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/hileamlakB/PRIMS'

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