packages feed

Cabal revisions of mcp-server-0.3.0.2

Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.

revision 1 2026-12-03 13:56 UTC

by drshade crypton >=1.1.4 && <2.3 → >=1.1.4 && <2.4

@@ -1,259 +1,260 @@-cabal-version: 3.0--- The cabal-version field refers to the version of the .cabal specification,--- and can be different from the cabal-install (the tool) version and the--- Cabal (the library) version you are using. As such, the Cabal (the library)--- version used must be equal or greater than the version stated in this field.--- Starting from the specification version 2.2, the cabal-version field must be--- the first thing in the cabal file.------ The name of the package.-name: mcp-server--- The package version.--- See the Haskell package versioning policy (PVP) for standards--- guiding when and how versions should be incremented.--- https://pvp.haskell.org--- PVP summary:     +-+------- breaking API changes---                  | | +----- non-breaking API additions---                  | | | +--- code changes with no API change-version: 0.3.0.2--- A short (one-line) description of the package.-synopsis: Library for building Model Context Protocol (MCP) servers--- A longer description of the package.-description:-  A fully featured library for building MCP (Model Context Protocol) servers.-  Supports both low-level fine-grained handling and high-level derived interfaces-  for prompts, resources, and tools. Includes JSON-RPC transport-  and stdin/stdout communication.---- The license under which the package is released.-license: BSD-3-Clause--- The file containing the license text.-license-file: LICENSE--- The package author(s).-author: Tom Wells--- An email address to which users can send suggestions, bug reports, and patches.-maintainer: drshade@gmail.com--- A copyright notice.-copyright: 2025 Tom Wells--- URL for the project homepage or repository-homepage: https://github.com/drshade/haskell-mcp-server-bug-reports: https://github.com/drshade/haskell-mcp-server/issues--- Package categories for Hackage browsing-category: Network, Server, Service, MCP, JSON-RPC-build-type: Simple--- Extra doc files to be distributed with the package, such as a CHANGELOG or a README.-extra-doc-files:-  CHANGELOG.md-  README.md-tested-with: GHC == 9.6.7-              || == 9.8.4-              || == 9.10.3-              || == 9.12.2-              || == 9.14.1---- Extra source files to be distributed with the package, such as examples, or a tutorial module.-extra-source-files:-  test/golden/README.md-  test/golden/manifest.json-  test/golden/legacy/*.json-  test/golden/modern/*.json--- Source repository information-source-repository head-  type: git-  location: https://github.com/drshade/haskell-mcp-server.git--common warnings-  ghc-options: -Wall -Wunused-packages--library-  -- Import common warning flags.-  import: warnings-  -- Modules exported by the library.-  exposed-modules:-    MCP.Server-    MCP.Server.Ask-    MCP.Server.Derive-    MCP.Server.Handlers-    MCP.Server.JsonRpc-    MCP.Server.Notifications-    MCP.Server.Protocol-    MCP.Server.RequestState-    MCP.Server.Transport.Http-    MCP.Server.Transport.Stdio-    MCP.Server.Types--  other-modules:-    MCP.Server.Derive.Internal-    MCP.Server.Internal.InputRound-    MCP.Server.Internal.Json--  -- Modules included in this library but not exported.-  -- other-modules:-  -- LANGUAGE extensions used by modules in this package.-  -- other-extensions:-  -- Other library packages from which modules are imported.-  build-depends:-    aeson >=2 && <3,-    async >=2.2 && <2.3,-    base >=4.18 && <4.23,-    base64-bytestring >=1.0 && <1.3,-    bytestring >=0.10 && <0.13,-    containers >=0.6 && <0.9,-    crypton >=1.1.4 && <2.3,-    http-types >=0.12 && <1,-    network-uri >=2.6 && <2.8,-    ram >=0.20.1 && <0.23,-    scientific >=0.3 && <0.4,-    stm >=2.5 && <2.6,-    template-haskell >=2.16 && <2.25,-    text >=1.2 && <3,-    time >=1.9 && <1.17,-    wai >=3.2 && <4,-    warp >=3.3 && <4,--  -- Directories containing source files.-  hs-source-dirs: src-  -- Base language which the package is written in.-  default-language: GHC2021--executable simple-example-  -- Import common warning flags.-  import: warnings-  -- .hs or .lhs file containing the Main module.-  main-is: Main.hs-  -- Modules included in this executable, other than Main.-  other-modules: Types-  -- LANGUAGE extensions used by modules in this package.-  -- other-extensions:-  -- Other library packages from which modules are imported.-  build-depends:-    base,-    mcp-server,-    text,--  -- Directories containing source files.-  hs-source-dirs: examples/Simple-  -- Base language which the package is written in.-  default-language: GHC2021--executable complete-example-  -- Import common warning flags.-  import: warnings-  -- .hs or .lhs file containing the Main module.-  main-is: Main.hs-  -- Modules included in this executable, other than Main.-  other-modules: Types-  -- LANGUAGE extensions used by modules in this package.-  -- other-extensions:-  -- Other library packages from which modules are imported.-  build-depends:-    base,-    containers,-    mcp-server,-    text,--  -- Directories containing source files.-  hs-source-dirs: examples/Complete-  -- Base language which the package is written in.-  default-language: GHC2021--executable ask-example-  -- Import common warning flags.-  import: warnings-  -- .hs or .lhs file containing the Main module.-  main-is: Main.hs-  -- Modules included in this executable, other than Main.-  other-modules: Types-  -- Other library packages from which modules are imported.-  build-depends:-    base,-    mcp-server,-    text,-    time,--  -- Directories containing source files.-  hs-source-dirs: examples/Ask-  -- Base language which the package is written in.-  default-language: GHC2021--executable http-simple-example-  -- Import common warning flags.-  import: warnings-  -- .hs or .lhs file containing the Main module.-  main-is: Main.hs-  -- Modules included in this executable, other than Main.-  other-modules: Types-  -- LANGUAGE extensions used by modules in this package.-  -- other-extensions:-  -- Other library packages from which modules are imported.-  build-depends:-    base,-    mcp-server,-    text,--  -- Directories containing source files.-  hs-source-dirs: examples/HttpSimple-  -- Warp requires the threaded RTS (its timeout manager needs it).-  ghc-options: -threaded-  -- Base language which the package is written in.-  default-language: GHC2021--test-suite haskell-mcp-server-test-  -- Import common warning flags.-  import: warnings-  -- Base language which the package is written in.-  default-language: GHC2021-  -- Modules included in this executable, other than Main.-  other-modules:-    AskTypes-    Spec.AdvancedDerivation-    Spec.AskMonad-    Spec.BasicDerivation-    Spec.Cancellation-    Spec.DefinitionMetadata-    Spec.DerivedAsk-    Spec.DerivedOutput-    Spec.GoldenWire-    Spec.HandlerExceptions-    Spec.HttpTransport-    Spec.InputRequired-    Spec.JSONConversion-    Spec.ModernEra-    Spec.Progress-    Spec.ProtocolVersionNegotiation-    Spec.RawSchema-    Spec.SchemaValidation-    Spec.Subscriptions-    Spec.TemplatesCompletions-    Spec.ToolCallParsing-    Spec.TypedArgs-    Spec.UnicodeHandling-    TestData-    TestHelpers-    TestTypes--  -- LANGUAGE extensions used by modules in this package.-  -- other-extensions:-  -- The interface type and version of the test suite.-  type: exitcode-stdio-1.0-  -- Directories containing source files.-  hs-source-dirs: test-  -- The entrypoint to the test suite.-  main-is: HspecMain.hs-  -- Test dependencies.-  build-depends:-    QuickCheck,-    aeson,-    async,-    base,-    bytestring,-    containers,-    directory,-    hspec,-    http-types,-    mcp-server,-    network-uri,-    stm,-    template-haskell,-    text,-    wai,+cabal-version: 3.0
+-- The cabal-version field refers to the version of the .cabal specification,
+-- and can be different from the cabal-install (the tool) version and the
+-- Cabal (the library) version you are using. As such, the Cabal (the library)
+-- version used must be equal or greater than the version stated in this field.
+-- Starting from the specification version 2.2, the cabal-version field must be
+-- the first thing in the cabal file.
+--
+-- The name of the package.
+name: mcp-server
+-- The package version.
+-- See the Haskell package versioning policy (PVP) for standards
+-- guiding when and how versions should be incremented.
+-- https://pvp.haskell.org
+-- PVP summary:     +-+------- breaking API changes
+--                  | | +----- non-breaking API additions
+--                  | | | +--- code changes with no API change
+version: 0.3.0.2
+x-revision: 1
+-- A short (one-line) description of the package.
+synopsis: Library for building Model Context Protocol (MCP) servers
+-- A longer description of the package.
+description:
+  A fully featured library for building MCP (Model Context Protocol) servers.
+  Supports both low-level fine-grained handling and high-level derived interfaces
+  for prompts, resources, and tools. Includes JSON-RPC transport
+  and stdin/stdout communication.
+
+-- The license under which the package is released.
+license: BSD-3-Clause
+-- The file containing the license text.
+license-file: LICENSE
+-- The package author(s).
+author: Tom Wells
+-- An email address to which users can send suggestions, bug reports, and patches.
+maintainer: drshade@gmail.com
+-- A copyright notice.
+copyright: 2025 Tom Wells
+-- URL for the project homepage or repository
+homepage: https://github.com/drshade/haskell-mcp-server
+bug-reports: https://github.com/drshade/haskell-mcp-server/issues
+-- Package categories for Hackage browsing
+category: Network, Server, Service, MCP, JSON-RPC
+build-type: Simple
+-- Extra doc files to be distributed with the package, such as a CHANGELOG or a README.
+extra-doc-files:
+  CHANGELOG.md
+  README.md
+tested-with: GHC == 9.6.7
+              || == 9.8.4
+              || == 9.10.3
+              || == 9.12.2
+              || == 9.14.1
+
+-- Extra source files to be distributed with the package, such as examples, or a tutorial module.
+extra-source-files:
+  test/golden/README.md
+  test/golden/manifest.json
+  test/golden/legacy/*.json
+  test/golden/modern/*.json
+-- Source repository information
+source-repository head
+  type: git
+  location: https://github.com/drshade/haskell-mcp-server.git
+
+common warnings
+  ghc-options: -Wall -Wunused-packages
+
+library
+  -- Import common warning flags.
+  import: warnings
+  -- Modules exported by the library.
+  exposed-modules:
+    MCP.Server
+    MCP.Server.Ask
+    MCP.Server.Derive
+    MCP.Server.Handlers
+    MCP.Server.JsonRpc
+    MCP.Server.Notifications
+    MCP.Server.Protocol
+    MCP.Server.RequestState
+    MCP.Server.Transport.Http
+    MCP.Server.Transport.Stdio
+    MCP.Server.Types
+
+  other-modules:
+    MCP.Server.Derive.Internal
+    MCP.Server.Internal.InputRound
+    MCP.Server.Internal.Json
+
+  -- Modules included in this library but not exported.
+  -- other-modules:
+  -- LANGUAGE extensions used by modules in this package.
+  -- other-extensions:
+  -- Other library packages from which modules are imported.
+  build-depends:
+    aeson >=2 && <3,
+    async >=2.2 && <2.3,
+    base >=4.18 && <4.23,
+    base64-bytestring >=1.0 && <1.3,
+    bytestring >=0.10 && <0.13,
+    containers >=0.6 && <0.9,
+    crypton >=1.1.4 && <2.4,
+    http-types >=0.12 && <1,
+    network-uri >=2.6 && <2.8,
+    ram >=0.20.1 && <0.23,
+    scientific >=0.3 && <0.4,
+    stm >=2.5 && <2.6,
+    template-haskell >=2.16 && <2.25,
+    text >=1.2 && <3,
+    time >=1.9 && <1.17,
+    wai >=3.2 && <4,
+    warp >=3.3 && <4,
+
+  -- Directories containing source files.
+  hs-source-dirs: src
+  -- Base language which the package is written in.
+  default-language: GHC2021
+
+executable simple-example
+  -- Import common warning flags.
+  import: warnings
+  -- .hs or .lhs file containing the Main module.
+  main-is: Main.hs
+  -- Modules included in this executable, other than Main.
+  other-modules: Types
+  -- LANGUAGE extensions used by modules in this package.
+  -- other-extensions:
+  -- Other library packages from which modules are imported.
+  build-depends:
+    base,
+    mcp-server,
+    text,
+
+  -- Directories containing source files.
+  hs-source-dirs: examples/Simple
+  -- Base language which the package is written in.
+  default-language: GHC2021
+
+executable complete-example
+  -- Import common warning flags.
+  import: warnings
+  -- .hs or .lhs file containing the Main module.
+  main-is: Main.hs
+  -- Modules included in this executable, other than Main.
+  other-modules: Types
+  -- LANGUAGE extensions used by modules in this package.
+  -- other-extensions:
+  -- Other library packages from which modules are imported.
+  build-depends:
+    base,
+    containers,
+    mcp-server,
+    text,
+
+  -- Directories containing source files.
+  hs-source-dirs: examples/Complete
+  -- Base language which the package is written in.
+  default-language: GHC2021
+
+executable ask-example
+  -- Import common warning flags.
+  import: warnings
+  -- .hs or .lhs file containing the Main module.
+  main-is: Main.hs
+  -- Modules included in this executable, other than Main.
+  other-modules: Types
+  -- Other library packages from which modules are imported.
+  build-depends:
+    base,
+    mcp-server,
+    text,
+    time,
+
+  -- Directories containing source files.
+  hs-source-dirs: examples/Ask
+  -- Base language which the package is written in.
+  default-language: GHC2021
+
+executable http-simple-example
+  -- Import common warning flags.
+  import: warnings
+  -- .hs or .lhs file containing the Main module.
+  main-is: Main.hs
+  -- Modules included in this executable, other than Main.
+  other-modules: Types
+  -- LANGUAGE extensions used by modules in this package.
+  -- other-extensions:
+  -- Other library packages from which modules are imported.
+  build-depends:
+    base,
+    mcp-server,
+    text,
+
+  -- Directories containing source files.
+  hs-source-dirs: examples/HttpSimple
+  -- Warp requires the threaded RTS (its timeout manager needs it).
+  ghc-options: -threaded
+  -- Base language which the package is written in.
+  default-language: GHC2021
+
+test-suite haskell-mcp-server-test
+  -- Import common warning flags.
+  import: warnings
+  -- Base language which the package is written in.
+  default-language: GHC2021
+  -- Modules included in this executable, other than Main.
+  other-modules:
+    AskTypes
+    Spec.AdvancedDerivation
+    Spec.AskMonad
+    Spec.BasicDerivation
+    Spec.Cancellation
+    Spec.DefinitionMetadata
+    Spec.DerivedAsk
+    Spec.DerivedOutput
+    Spec.GoldenWire
+    Spec.HandlerExceptions
+    Spec.HttpTransport
+    Spec.InputRequired
+    Spec.JSONConversion
+    Spec.ModernEra
+    Spec.Progress
+    Spec.ProtocolVersionNegotiation
+    Spec.RawSchema
+    Spec.SchemaValidation
+    Spec.Subscriptions
+    Spec.TemplatesCompletions
+    Spec.ToolCallParsing
+    Spec.TypedArgs
+    Spec.UnicodeHandling
+    TestData
+    TestHelpers
+    TestTypes
+
+  -- LANGUAGE extensions used by modules in this package.
+  -- other-extensions:
+  -- The interface type and version of the test suite.
+  type: exitcode-stdio-1.0
+  -- Directories containing source files.
+  hs-source-dirs: test
+  -- The entrypoint to the test suite.
+  main-is: HspecMain.hs
+  -- Test dependencies.
+  build-depends:
+    QuickCheck,
+    aeson,
+    async,
+    base,
+    bytestring,
+    containers,
+    directory,
+    hspec,
+    http-types,
+    mcp-server,
+    network-uri,
+    stm,
+    template-haskell,
+    text,
+    wai,