Skip to main content
Glama
pyproject.toml3.91 kB
[build-system] requires = ["setuptools>=61.0", "wheel"] build-backend = "setuptools.build_meta" [project] name = "opendiscourse-mcp" version = "1.0.0" description = "MCP servers for accessing bulk data from govinfo.gov and congress.gov" readme = "README.md" license = {text = "MIT"} authors = [ {name = "OpenDiscourse", email = "info@opendiscourse.org"} ] classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Scientific/Engineering :: Information Analysis", ] requires-python = ">=3.10,<3.11" dependencies = [ "@modelcontextprotocol/sdk>=0.5.0", "axios>=1.6.0", "python-dotenv>=1.0.0", "xml2js>=0.6.0", "psycopg2-binary>=2.9.0", "click>=8.1.0", "cryptography>=41.0.0", "pydantic>=2.5.0", "crewai>=0.70.0", "langfuse>=2.0.0", "langroid>=0.1.0", "google-generativeai>=0.8.0", ] [project.optional-dependencies] redis = ["redis>=5.0.0"] celery = ["celery>=5.3.0"] aiofiles = ["aiofiles>=23.2.0"] fastapi = ["fastapi>=0.104.0"] uvicorn = ["uvicorn>=0.24.0"] [project.urls] Homepage = "https://github.com/cbwinslow/opendiscourse_mcp" Repository = "https://github.com/cbwinslow/opendiscourse_mcp.git" Issues = "https://github.com/cbwinslow/opendiscourse_mcp/issues" [tool.setuptools.packages.find] where = ["src", "config", "scripts"] [tool.black] line-length = 88 target-version = ['py310'] include = '\.pyi?$' extend-exclude = ''' /( # directories \.eggs \.git \.hg \.mypy_cache \.tox \.venv _build buck-out build dist )/ ''' [tool.isort] profile = "black" multi_line_output = 3 line_length = 88 known_first_party = ["src", "config", "scripts"] force_single_line = true [tool.ruff] line-length = 88 target-version = "py310" [tool.ruff.lint] 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.lint.per-file-ignores] "__init__.py" = ["F401"] "tests/*" = ["B011"] [tool.ruff.lint.isort] known-first-party = ["src", "config", "scripts"] # Markdown lint configuration [tool.markdownlint] config = { "default": true, "MD013": false, # line length (handled by black for code) "MD033": false, # allow HTML "MD041": false, # allow first line H1 } [tool.mypy] python_version = "3.10" warn_return_any = true ignore_missing_imports = true disallow_untyped_defs = true [tool.pytest.ini_options] testpaths = ["tests"] python_files = ["test_*.py"] python_classes = ["Test*"] python_functions = ["test_*"] addopts = [ "-v", "--tb=short", "--cov=scripts", "--cov-report=term-missing", "--cov-report=html", "--cov-fail-under=80", ] asyncio_mode = "auto" markers = [ "slow: marks tests as slow (deselect with '-m \"not slow\"')", "integration: marks tests as integration tests", "unit: marks tests as unit tests", ] filterwarnings = [ "ignore::DeprecationWarning", "ignore::PendingDeprecationWarning", ] [tool.coverage.run] source = ["scripts"] omit = [ "*/tests/*", "*/venv/*", "*/__pycache__/*", "*/migrations/*", ] [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", ] fail_under = 80

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/cbwinslow/opendiscourse_mcp'

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